Home
last modified time | relevance | path

Searched refs:um_cred (Results 1 – 11 of 11) sorted by relevance

/netbsd/sys/fs/union/
H A Dunion_vfsops.c227 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 Dunion.h96 kauth_cred_t um_cred; /* Credentials of user calling mount */ member
H A Dunion_subr.c826 (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 Dunion_vnops.c407 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 Dffs_quota2.c89 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 Dulfs_quota1.c355 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 Dulfsmount.h74 kauth_cred_t um_cred[ULFS_MAXQUOTAS]; /* quota file access cred */ member
H A Dulfs_quota2.c280 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 Dufs_quota1.c362 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 Dufsmount.h97 kauth_cred_t um_cred[MAXQUOTAS]; /* quota file access cred */ member
H A Dufs_quota2.c275 ump->um_cred[i]); in quota2_umount()
310 ump->um_cred[type], B_CLRBUF | B_SYNC, &bp); in quota2_q2ealloc()