Home
last modified time | relevance | path

Searched refs:ucred (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/dragonfly/sys/sys/
H A Ducred.h64 struct ucred { struct
103 struct ucred *change_euid (uid_t euid);
104 struct ucred *change_ruid (uid_t ruid);
105 struct ucred *cratom (struct ucred **pcr);
106 struct ucred *cratom_proc (struct proc *p);
107 struct ucred *crcopy (struct ucred *cr);
108 struct ucred *crdup (struct ucred *cr);
109 struct ucred *crdup_nocaps (struct ucred *cr);
110 void crfree (struct ucred *cr);
111 struct ucred *crget (void);
[all …]
H A Dvfsops.h82 struct ucred;
130 struct ucred *a_cred;
146 struct ucred *a_cred;
167 struct ucred *a_cred;
176 struct ucred *a_cred;
185 struct ucred *a_cred;
195 struct ucred *a_cred;
203 struct ucred *a_cred;
216 struct ucred *a_cred;
287 struct ucred *a_cred;
[all …]
H A Dfile.h70 struct ucred;
78 struct ucred *cred, int flags);
80 struct ucred *cred, int flags);
82 struct ucred *cred, struct sysmsg *msg);
85 struct ucred *cred);
104 struct ucred *f_cred; /* (ro) creds associated with descriptor */
167 struct ucred *cred, int flags);
169 struct ucred *cred, struct sysmsg *msg);
171 int badfo_stat(struct file *fp, struct stat *sb, struct ucred *cred);
H A Dmount.h550 struct ucred *cred);
555 struct ucred *cred);
557 struct ucred *cred);
559 struct ucred *cred);
572 struct ucred *cred);
586 struct ucred *cred);
601 struct ucred *cred);
707 struct ucred netc_anon;
788 uid_t uid, struct ucred *cred);
790 struct ucred *cred, mode_t *modep);
[all …]
H A Dnamecache.h79 struct ucred;
196 struct ucred *fcred, struct ucred *tcred);
225 int cache_resolve(struct nchandle *nch, u_int *genp, struct ucred *cred);
226 int cache_resolve_dvp(struct nchandle *nch, struct ucred *cred,
246 int cache_vget(struct nchandle *, struct ucred *, int, struct vnode **);
247 int cache_vref(struct nchandle *, struct ucred *, struct vnode **);
248 int cache_fromdvp(struct vnode *, struct ucred *, int, struct nchandle *);
H A Dnlookup.h50 struct ucred;
82 struct ucred *nl_cred; /* credentials for nlookup */
153 int naccess_lva(struct vattr_lite *lvap, int nflags, struct ucred *cred);
161 int, struct ucred *, struct nchandle *);
163 int, struct ucred *, struct nchandle *, struct nchandle *);
H A Dfile2.h47 struct ucred *cred, in fo_read()
62 struct ucred *cred, in fo_write()
78 struct ucred *cred, in fo_ioctl()
90 fo_stat(struct file *fp, struct stat *sb, struct ucred *cred) in fo_stat()
/dragonfly/sys/kern/
H A Dkern_acl.c71 struct ucred *ucred; in vacl_set_acl() local
77 ucred = td->td_ucred; in vacl_set_acl()
80 error = VOP_SETACL(vp, type, &inkernacl, ucred); in vacl_set_acl()
93 struct ucred *ucred; in vacl_get_acl() local
96 ucred = td->td_ucred; in vacl_get_acl()
97 error = VOP_GETACL(vp, type, &inkernelacl, ucred); in vacl_get_acl()
110 struct ucred *ucred; in vacl_delete() local
113 ucred = td->td_ucred; in vacl_delete()
115 error = VOP_SETACL(vp, ACL_TYPE_DEFAULT, 0, ucred); in vacl_delete()
127 struct ucred *ucred; in vacl_aclcheck() local
[all …]
H A Dkern_prot.c214 struct ucred *cr; in sys_getgroups()
436 struct ucred *cr; in sys_setuid()
1023 p_trespass(struct ucred *cr1, struct ucred *cr2) in p_trespass()
1063 struct ucred *
1081 struct ucred *
1134 struct ucred *
1165 struct ucred *
1195 struct ucred *
1214 struct ucred *
1313 struct ucred *
[all …]
H A Dkern_caps.c63 caps_check_cred(struct ucred *cred, int cap) in caps_check_cred()
79 struct ucred *cred; in sys_syscap_get()
143 struct ucred *cred; in sys_syscap_set()
228 struct ucred *cred; in caps_exec()
269 caps_get(struct ucred *cred, int cap) in caps_get()
289 struct ucred *cred; in caps_set_locked()
311 caps_priv_check(struct ucred *cred, int cap) in caps_priv_check()
341 struct ucred *cred; in caps_priv_check_td()
H A Dvfs_vfsops.c84 vfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred) in vfs_mount()
160 struct ucred *cred) in vfs_quotactl()
175 vfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred) in vfs_statfs()
190 vfs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in vfs_statvfs()
252 int *extflagsp, struct ucred **credanonp) in vfs_checkexp()
310 struct ucred *cred) in vfs_extattrctl()
H A Dvfs_vnops.c60 struct ucred *cred, struct sysmsg *msg);
62 struct ucred *cred, int flags);
66 struct ucred *cred, int flags);
102 struct ucred *cred = nd->nl_cred; in vn_open()
626 struct ucred *cred, int *aresid) in vn_rdwr()
671 struct ucred *cred, int *aresid) in vn_rdwr_inchunks()
719 vn_read(struct file *fp, struct uio *uio, struct ucred *cred, int flags) in vn_read()
809 vn_statfile(struct file *fp, struct stat *sb, struct ucred *cred) in vn_statfile()
823 vn_stat(struct vnode *vp, struct stat *sb, struct ucred *cred) in vn_stat()
973 vn_ioctl(struct file *fp, u_long com, caddr_t data, struct ucred *ucred, in vn_ioctl() argument
[all …]
H A Dvfs_vopops.c329 struct ucred *cred) in vop_access()
401 struct ucred *cred, struct file *fp) in vop_setattr()
426 struct ucred *cred, struct file *fp) in vop_read()
452 struct ucred *cred, struct file *fp) in vop_write()
835 struct ucred *cred) in vop_readlink()
1167 struct acl *aclp, struct ucred *cred) in vop_getacl()
1192 struct acl *aclp, struct ucred *cred) in vop_setacl()
1614 struct ucred *cred, int flags) in vop_nwhiteout()
1647 struct ucred *cred) in vop_nremove()
1687 struct ucred *cred) in vop_nrmdir()
[all …]
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_compat.h185 struct ucred *a_cred;
199 struct ucred *a_cred;
215 struct ucred *a_cred;
222 struct ucred *a_cred;
229 struct ucred *a_cred;
237 struct ucred *a_cred;
255 struct ucred *a_cred;
265 struct ucred *a_cred;
328 struct ucred *a_cred;
334 struct ucred *a_cred;
[all …]
/dragonfly/sys/vfs/ufs/
H A Dffs_extern.h62 struct ucred;
70 ufs_daddr_t, ufs_daddr_t, int, struct ucred *, ufs_daddr_t *);
89 ufs_daddr_t, ufs_daddr_t, int, int, struct ucred *, struct buf **);
91 int ffs_statfs(struct mount *, struct statfs *, struct ucred *);
93 int ffs_truncate(struct vnode *, off_t, int, struct ucred *);
96 int ffs_valloc(struct vnode *, int, struct ucred *, struct vnode **);
H A Dquota.h177 struct ucred;
180 int ufs_chkdq(struct inode *, long, struct ucred *, int);
181 int ufs_chkiq(struct inode *, long, struct ucred *, int);
188 int ufs_quotaon(struct ucred *, struct mount *, int, caddr_t);
191 int ufs_quotactl(struct mount *, int, uid_t, caddr_t, struct ucred *);
H A Dufs_extern.h44 struct ucred;
62 int *, struct ucred **);
65 int ufs_checkpath(struct inode *, struct inode *, struct ucred *);
68 int ufs_dirempty(struct inode *, ino_t, struct ucred *);
/dragonfly/sys/vfs/nfs/
H A Dnfs.h205 struct ucred nsd_cr; /* Cred. uid maps to */
370 struct ucred *r_cred;
441 struct ucred nu_cr; /* Cred uid mapped to */
554 struct ucred nd_cr; /* Credentials */
582 sizeof (struct ucred)))
653 struct ucred *nfs_crhold(struct ucred *cred);
654 int nfs_crsame(struct ucred *cr1, struct ucred *cr2);
687 int nfs_namei (struct nlookupdata *, struct ucred *, int,
720 void nfsrv_setcred (struct ucred *, struct ucred *);
735 struct ucred *, struct nfssvc_sock *,
[all …]
H A Dnfsnode.h52 struct ucred *s_cred;
117 struct ucred *n_rucred;
118 struct ucred *n_wucred;
203 struct ucred *
H A Dnfsm_subs.h41 struct ucred;
77 struct ucred *cred;
137 struct mbuf *nfsm_rpchead (struct ucred *cr, int nmflag, int procid,
164 thread_t td, struct ucred *cred, int *errorp);
166 thread_t td, struct ucred *cred);
/dragonfly/sys/vfs/ext2fs/
H A Dext2_extern.h56 struct ucred *, e4fs_daddr_t *);
59 e2fs_lbn_t, int, struct ucred *, struct buf **, int);
75 int ext2_truncate(struct vnode *, off_t, int, struct ucred *);
77 int ext2_valloc(struct vnode *, int, struct ucred *, struct vnode **);
90 int ext2_dirempty(struct inode *, ino_t, struct ucred *);
91 int ext2_checkpath(struct inode *, struct inode *, struct ucred *);
/dragonfly/sys/vfs/tmpfs/
H A Dtmpfs.h270 struct ucred *cred, int flags);
272 struct ucred *cred, int flags);
409 struct namecache *, struct ucred *, char *);
422 int tmpfs_chflags(struct vnode *, u_long, struct ucred *);
423 int tmpfs_chmod(struct vnode *, mode_t, struct ucred *);
424 int tmpfs_chown(struct vnode *, uid_t, gid_t, struct ucred *);
425 int tmpfs_chsize(struct vnode *, u_quad_t, struct ucred *);
427 int, struct ucred *);
/dragonfly/sys/vfs/smbfs/
H A Dsmbfs_node.h64 struct ucred *n_cached_cred; /* cred used to open file */
82 struct ucred;
94 int smbfs_readvnode(struct vnode *vp, struct uio *uiop, struct ucred *cred);
95 int smbfs_writevnode(struct vnode *vp, struct uio *uiop, struct ucred *cred, int ioflag);
H A Dsmbfs.h81 struct ucred * sm_owner;
92 struct ucred *sm_cred; /* mount cred */
101 int smbfs_doio(struct vnode *vp, struct bio *bio, struct ucred *cr, struct thread *td);
/dragonfly/sys/vfs/procfs/
H A Dprocfs_vfsops.c53 struct ucred *cred);
55 struct ucred *cred);
65 procfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred) in procfs_mount()
128 procfs_statfs(struct mount *mp, struct statfs *sbp, struct ucred *cred) in procfs_statfs()

12345678910>>...12