Home
last modified time | relevance | path

Searched refs:r_base (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/capsicum-test/
H A Dopenat.cc44 cap_rights_t r_base; in FORK_TEST() local
45 cap_rights_init(&r_base, CAP_READ, CAP_WRITE, CAP_SEEK, CAP_LOOKUP, CAP_FCNTL, CAP_IOCTL); in FORK_TEST()
59 EXPECT_OK(cap_rights_limit(etc_cap_base, &r_base)); in FORK_TEST()
95 EXPECT_RIGHTS_IN(&rights, &r_base); in FORK_TEST()
141 EXPECT_RIGHTS_IN(&rights, &r_base); in FORK_TEST()
/freebsd/sys/dev/drm2/
H A Ddrm_fb_helper.c234 uint16_t *r_base, *g_base, *b_base;
237 r_base = crtc->gamma_store;
238 g_base = r_base + crtc->gamma_size;
242 helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i);
247 uint16_t *r_base, *g_base, *b_base;
252 r_base = crtc->gamma_store;
253 g_base = r_base + crtc->gamma_size;
256 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size);
H A Ddrm_crtc.c3415 void *r_base, *g_base, *b_base; in drm_mode_gamma_set_ioctl() local
3442 r_base = crtc->gamma_store; in drm_mode_gamma_set_ioctl()
3443 if (copy_from_user(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) { in drm_mode_gamma_set_ioctl()
3448 g_base = (char *)r_base + size; in drm_mode_gamma_set_ioctl()
3460 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl()
3474 void *r_base, *g_base, *b_base; in drm_mode_gamma_get_ioctl() local
3496 r_base = crtc->gamma_store; in drm_mode_gamma_get_ioctl()
3497 if (copy_to_user((void __user *)(unsigned long)crtc_lut->red, r_base, size)) { in drm_mode_gamma_get_ioctl()
3502 g_base = (char *)r_base + size; in drm_mode_gamma_get_ioctl()