Lines Matching refs:file_cred

1308 test_posixsem_check_getvalue(struct ucred *active_cred, struct ucred *file_cred,  in test_posixsem_check_getvalue()  argument
1313 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_posixsem_check_getvalue()
1335 test_posixsem_check_post(struct ucred *active_cred, struct ucred *file_cred, in test_posixsem_check_post() argument
1340 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_posixsem_check_post()
1374 struct ucred *file_cred, struct ksem *ks, struct label *kslabel) in test_posixsem_check_stat() argument
1378 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_posixsem_check_stat()
1399 test_posixsem_check_wait(struct ucred *active_cred, struct ucred *file_cred, in test_posixsem_check_wait() argument
1404 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_posixsem_check_wait()
1476 struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) in test_posixshm_check_read() argument
1480 if (file_cred != NULL) in test_posixshm_check_read()
1481 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_posixshm_check_read()
1515 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) in test_posixshm_check_stat() argument
1519 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_posixshm_check_stat()
1528 struct ucred *file_cred, struct shmfd *shmfd, struct label *shmfdlabel) in test_posixshm_check_truncate() argument
1532 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_posixshm_check_truncate()
1553 struct ucred *file_cred, struct shmfd *shm, struct label *shmlabel) in test_posixshm_check_write() argument
1557 if (file_cred != NULL) in test_posixshm_check_write()
1558 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_posixshm_check_write()
2691 test_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, in test_vnode_check_poll() argument
2696 if (file_cred != NULL) in test_vnode_check_poll()
2697 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_vnode_check_poll()
2706 test_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, in test_vnode_check_read() argument
2711 if (file_cred != NULL) in test_vnode_check_read()
2712 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_vnode_check_read()
2882 test_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, in test_vnode_check_stat() argument
2887 if (file_cred != NULL) in test_vnode_check_stat()
2888 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_vnode_check_stat()
2913 struct ucred *file_cred, struct vnode *vp, struct label *vplabel) in test_vnode_check_write() argument
2917 if (file_cred != NULL) in test_vnode_check_write()
2918 LABEL_CHECK(file_cred->cr_label, MAGIC_CRED); in test_vnode_check_write()