Searched refs:um_cred (Results 1 – 11 of 11) sorted by relevance
/netbsd/sys/fs/union/ |
H A D | union_vfsops.c | 227 um->um_cred = l->l_cred; in union_mount() 228 kauth_cred_hold(um->um_cred); in union_mount() 307 if (um->um_cred) in union_mount() 308 kauth_cred_free(um->um_cred); in union_mount() 399 kauth_cred_free(um->um_cred); in union_unmount()
|
H A D | union.h | 96 kauth_cred_t um_cred; /* Credentials of user calling mount */ member
|
H A D | union_subr.c | 826 (um->um_op == UNMNT_ABOVE ? cnp->cn_cred : um->um_cred), pnbuf); in union_mkshadow() 870 (um->um_op == UNMNT_ABOVE ? cnp->cn_cred : um->um_cred), in union_mkwhiteout()
|
H A D | union_vnops.c | 407 cnp->cn_cred = um->um_cred; in union_lookup() 803 ap->a_cred = um->um_cred; in union_access()
|
/netbsd/sys/ufs/ffs/ |
H A D | ffs_quota2.c | 89 ump->um_cred[USRQUOTA] = l->l_cred; in ffs_quota2_mount() 107 ump->um_cred[GRPQUOTA] = l->l_cred; in ffs_quota2_mount()
|
/netbsd/sys/ufs/lfs/ |
H A D | ulfs_quota1.c | 355 ump->um_cred[type] = l->l_cred; in lfsquota1_handle_cmd_quotaon() 459 cred = ump->um_cred[type]; in lfsquota1_handle_cmd_quotaoff() 460 ump->um_cred[type] = NOCRED; in lfsquota1_handle_cmd_quotaoff() 808 error = VOP_READ(dqvp, &auio, 0, ump->um_cred[type]); in lfs_dq1get() 862 error = VOP_WRITE(dqvp, &auio, 0, dq->dq_ump->um_cred[dq->dq_type]); in lfs_dq1sync()
|
H A D | ulfsmount.h | 74 kauth_cred_t um_cred[ULFS_MAXQUOTAS]; /* quota file access cred */ member
|
H A D | ulfs_quota2.c | 280 ump->um_cred[i]); in lfsquota2_umount() 316 ump->um_cred[type], B_CLRBUF | B_SYNC, &bp); in quota2_q2ealloc() 1608 ump->um_cred[ULFS_USRQUOTA] = l->l_cred; in lfs_quota2_mount() 1626 ump->um_cred[ULFS_GRPQUOTA] = l->l_cred; in lfs_quota2_mount()
|
/netbsd/sys/ufs/ufs/ |
H A D | ufs_quota1.c | 362 ump->um_cred[type] = l->l_cred; in quota1_handle_cmd_quotaon() 467 cred = ump->um_cred[type]; in quota1_handle_cmd_quotaoff() 468 ump->um_cred[type] = NOCRED; in quota1_handle_cmd_quotaoff() 818 error = VOP_READ(dqvp, &auio, 0, ump->um_cred[type]); in dq1get() 872 error = VOP_WRITE(dqvp, &auio, 0, dq->dq_ump->um_cred[dq->dq_type]); in dq1sync()
|
H A D | ufsmount.h | 97 kauth_cred_t um_cred[MAXQUOTAS]; /* quota file access cred */ member
|
H A D | ufs_quota2.c | 275 ump->um_cred[i]); in quota2_umount() 310 ump->um_cred[type], B_CLRBUF | B_SYNC, &bp); in quota2_q2ealloc()
|