Home
last modified time | relevance | path

Searched refs:NOCRED (Results 1 – 23 of 23) sorted by relevance

/f-stack/freebsd/vm/
H A Dvm_pager.c383 bp->b_rcred = NOCRED; in pbuf_ctor()
384 bp->b_wcred = NOCRED; in pbuf_ctor()
402 if (bp->b_rcred != NOCRED) { in pbuf_dtor()
404 bp->b_rcred = NOCRED; in pbuf_dtor()
406 if (bp->b_wcred != NOCRED) { in pbuf_dtor()
408 bp->b_wcred = NOCRED; in pbuf_dtor()
425 bp->b_rcred = bp->b_wcred = NOCRED; in pbuf_init()
H A Dvnode_pager.c612 KASSERT(bp->b_rcred == NOCRED, ("leaking read ucred")); in vnode_pager_input_smlfs()
613 KASSERT(bp->b_wcred == NOCRED, ("leaking write ucred")); in vnode_pager_input_smlfs()
1059 KASSERT(bp->b_rcred == NOCRED, ("leaking read ucred")); in vnode_pager_generic_getpages()
1060 KASSERT(bp->b_wcred == NOCRED, ("leaking write ucred")); in vnode_pager_generic_getpages()
/f-stack/freebsd/kern/
H A Dkern_ctf.c115 0, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, NULL,
137 hdr->e_shoff, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED,
160 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, NULL, td)) != 0)
179 NOCRED, NULL, td)) != 0)
242 td->td_ucred, NOCRED, NULL, td)) != 0)
H A Dlink_elf_obj.c697 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
755 NOCRED, &resid, td); in link_elf_load_file()
843 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
857 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
876 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
1039 NOCRED, &resid, td); in link_elf_load_file()
1081 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
1102 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
H A Dlink_elf.c1004 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
1168 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
1249 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
1262 td->td_ucred, NOCRED, &resid, td); in link_elf_load_file()
1290 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
1296 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
H A Dvfs_bio.c1174 bp->b_rcred = NOCRED; in bufinit()
1175 bp->b_wcred = NOCRED; in bufinit()
1573 if (bp->b_rcred != NOCRED) { in buf_free()
1575 bp->b_rcred = NOCRED; in buf_free()
1577 if (bp->b_wcred != NOCRED) { in buf_free()
1579 bp->b_wcred = NOCRED; in buf_free()
2125 if (rabp->b_rcred == NOCRED && cred != NOCRED) in breada()
2199 if (bp->b_rcred == NOCRED && cred != NOCRED) in breadn_flags()
5259 bp->b_rcred = NOCRED; in vfs_bio_getpages()
H A Dkern_acct.c447 (off_t)0, UIO_SYSSPACE, IO_APPEND|IO_UNIT, acct_cred, NOCRED, in acct_process()
H A Dvfs_cluster.c885 if (tbp->b_wcred != NOCRED) in cluster_wbuild()
1063 error = bread_gb(vp, lbn, last_bp->b_bcount, NOCRED, in cluster_collectbufs()
H A Dkern_alq.c375 if (mac_vnode_check_write(alq->aq_cred, NOCRED, vp) == 0) in alq_doio()
H A Dvfs_mountroot.c960 NOCRED, &resid, td); in vfs_mountroot_readconf()
H A Dimgact_elf.c1001 NOCRED, NULL, td); in __elfN()
1685 params.file_cred = NOCRED; in __elfN()
2648 curthread->td_ucred, NOCRED, NULL, curthread); in __elfN()
H A Dvfs_syscalls.c1886 ((error = VOP_STAT(vp, &sb, td->td_ucred, NOCRED, td)) == 0) && in kern_funlinkat()
2401 error = VOP_STAT(nd.ni_vp, sbp, td->td_ucred, NOCRED, td); in kern_statat()
3408 else if ((error = mac_vnode_check_write(td->td_ucred, NOCRED, vp))) { in kern_truncate()
4581 error = VOP_STAT(vp, sb, td->td_ucred, NOCRED, td); in kern_fhstat()
H A Dkern_ktrace.c1254 error = mac_vnode_check_write(cred, NOCRED, vp); in ktr_writerequest()
H A Dvfs_subr.c3985 VOP_CLOSE(vp, FNONBLOCK, NOCRED, td); in vgonel()
5353 if (cred == NOCRED) in extattr_check_cred()
5994 if (!rc && (a->a_cred != NOCRED || /* filter out revokes */ in vop_close_post()
H A Dkern_linker.c1876 UIO_SYSSPACE, IO_NODELOCKED, cred, NOCRED, &reclen, td); in linker_hints_lookup()
/f-stack/tools/compat/include/sys/
H A Ducred.h71 #define NOCRED ((struct ucred *)0) /* no credential available */ macro
/f-stack/freebsd/sys/
H A Ducred.h86 #define NOCRED ((struct ucred *)0) /* no credential available */ macro
/f-stack/freebsd/security/mac/
H A Dmac_vfs.c300 VOP_CLOSEEXTATTR(vp, 0, NOCRED, curthread); in mac_vnode_create_extattr()
304 error = VOP_CLOSEEXTATTR(vp, 1, NOCRED, curthread); in mac_vnode_create_extattr()
333 VOP_CLOSEEXTATTR(vp, 0, NOCRED, curthread); in mac_vnode_setlabel_extattr()
337 error = VOP_CLOSEEXTATTR(vp, 1, NOCRED, curthread); in mac_vnode_setlabel_extattr()
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dvnode.h47 #define NOCRED ((struct ucred *)0) /* no credential available */ macro
/f-stack/freebsd/i386/linux/
H A Dimgact_linux.c149 curthread->td_ucred, NOCRED, &aresid, curthread); in exec_linux_imgact()
/f-stack/freebsd/security/mac_veriexec/
H A Dveriexec_fingerprint.c157 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, &resid, in evaluate_fingerprint()
/f-stack/freebsd/security/mac_veriexec_parser/
H A Dmac_veriexec_parser.c284 curthread->td_ucred, NOCRED, &resid, curthread); in read_manifest()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vnops_os.c659 UIO_SYSSPACE, IO_SYNC, kcred, NOCRED, &resid, curthread); in zfs_write_simple()