Home
last modified time | relevance | path

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

123

/freebsd-13-stable/sys/kern/
HDkern_ctf.c108 0, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, NULL, in link_elf_ctf_get()
130 hdr->e_shoff, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_ctf_get()
153 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, NULL, td)) != 0) in link_elf_ctf_get()
172 NOCRED, NULL, td)) != 0) in link_elf_ctf_get()
228 td->td_ucred, NOCRED, NULL, td)) != 0) in link_elf_ctf_get()
HDkern_vnodedumper.c180 IO_NODELOCKED, curthread->td_ucred, NOCRED, NULL, curthread); in vnode_dump()
206 UIO_SYSSPACE, IO_NODELOCKED, curthread->td_ucred, NOCRED, NULL, in vnode_write_headers()
HDlink_elf_obj.c739 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
797 NOCRED, &resid, td); in link_elf_load_file()
887 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
901 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
920 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
1109 NOCRED, &resid, td); in link_elf_load_file()
1151 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
1172 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
/freebsd-13-stable/usr.sbin/makefs/msdos/
HDmsdosfs_lookup.c127 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp)) != 0) { in createde()
157 NOCRED, &bp); in createde()
212 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, bpp)) != 0) { in readep()
270 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in uniqdosname()
HDmsdosfs_fat.c208 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in pcbmap()
493 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fatentry()
576 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fatchain()
822 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in freeclusterchain()
897 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fillinusemap()
/freebsd-13-stable/sys/vm/
HDvm_pager.c458 bp->b_rcred = NOCRED; in pbuf_ctor()
459 bp->b_wcred = NOCRED; in pbuf_ctor()
477 if (bp->b_rcred != NOCRED) { in pbuf_dtor()
479 bp->b_rcred = NOCRED; in pbuf_dtor()
481 if (bp->b_wcred != NOCRED) { in pbuf_dtor()
483 bp->b_wcred = NOCRED; in pbuf_dtor()
502 bp->b_rcred = bp->b_wcred = NOCRED; in pbuf_init()
/freebsd-13-stable/sys/fs/ext2fs/
HDext2_balloc.c79 error = bread(vp, lbn, fs->e2fs_bsize, NOCRED, &bp); in ext2_ext_balloc()
141 error = bread(vp, lbn, fs->e2fs_bsize, NOCRED, &bp); in ext2_balloc()
217 indirs[i].in_lbn, (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_balloc()
307 (int)fs->e2fs_bsize, NOCRED, in ext2_balloc()
310 error = bread(vp, lbn, (int)fs->e2fs_bsize, NOCRED, &nbp); in ext2_balloc()
HDext2_extattr.c206 (int)fs->e2fs_bsize, NOCRED, &bp)) != 0) { in ext2_extattr_inode_list()
279 fs->e2fs_bsize, NOCRED, &bp); in ext2_extattr_block_list()
347 (int)fs->e2fs_bsize, NOCRED, &bp)) != 0) { in ext2_extattr_inode_get()
421 fs->e2fs_bsize, NOCRED, &bp); in ext2_extattr_block_get()
552 (int)fs->e2fs_bsize, NOCRED, &bp)) != 0) { in ext2_extattr_inode_delete()
683 fs->e2fs_bsize, NOCRED, &bp); in ext2_extattr_block_delete()
918 (int)fs->e2fs_bsize, NOCRED, &bp)) != 0) { in ext2_extattr_inode_set()
1079 fs->e2fs_bsize, NOCRED, &bp); in ext2_extattr_block_set()
1226 fs->e2fs_bsize, NOCRED, &bp); in ext2_extattr_free()
HDext2_alloc.c120 if (cred == NOCRED) in ext2_alloc()
268 if (bread(vp, idp->in_lbn, (int)fs->e2fs_bsize, NOCRED, &sbp)) { in ext2_reallocblks()
287 if (bread(vp, idp->in_lbn, (int)fs->e2fs_bsize, NOCRED, &ebp)) in ext2_reallocblks()
1018 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_alloccg()
1170 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_clusteralloc()
1327 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_nodealloccg()
1438 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_blkfree()
1484 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_vfree()
HDext2_subr.c79 if ((error = bread(vp, lbn, bsize, NOCRED, &bp)) != 0) { in ext2_blkatoff()
HDext2_vnops.c1080 tcnp->cn_cred, NOCRED, NULL, NULL); in ext2_rename()
1105 NOCRED, NULL, NULL); in ext2_rename()
1396 IO_NODELOCKED | IO_SYNC | IO_NOMACCHECK, cnp->cn_cred, NOCRED, in ext2_mkdir()
1529 ap->a_cnp->cn_cred, NOCRED, NULL, NULL); in ext2_symlink()
2080 error = bread(vp, lbn, size, NOCRED, &bp); in ext2_read()
2083 NOCRED, blkoffset + uio->uio_resid, seqcount, in ext2_read()
2089 size, &nextlbn, &nextsize, 1, NOCRED, &bp); in ext2_read()
2091 error = bread(vp, lbn, size, NOCRED, &bp); in ext2_read()
/freebsd-13-stable/sys/fs/msdosfs/
HDmsdosfs_lookup.c256 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in msdosfs_lookup_ino()
663 (void)detrunc(ddep, ddep->de_FileSize, 0, NOCRED); in createde()
685 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp)) != 0) { in createde()
719 NOCRED, &bp); in createde()
785 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in dosdirempty()
874 pmp->pm_bpcluster, NOCRED, &bp); in doscheckpath()
941 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, bpp)) != 0) { in readep()
998 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in removede()
1075 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in uniqdosname()
HDmsdosfs_fat.c207 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in pcbmap()
512 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fatentry()
594 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fatchain()
848 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in freeclusterchain()
930 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fillinusemap()
1163 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in markvoldirty_upgrade()
HDmsdosfs_denode.c430 NOCRED, &bp); in detrunc()
549 NOCRED, &bp); in deextend()
663 error = detrunc(dep, (u_long) 0, 0, NOCRED); in msdosfs_inactive()
HDmsdosfs_vnops.c581 error = bread(pmp->pm_devvp, lbn, blsize, NOCRED, &bp); in msdosfs_read()
583 error = bread(vp, lbn, blsize, NOCRED, &bp); in msdosfs_read()
586 NOCRED, on + uio->uio_resid, seqcount, 0, &bp); in msdosfs_read()
590 blsize, &rablock, &rasize, 1, NOCRED, &bp); in msdosfs_read()
592 error = bread(vp, lbn, blsize, NOCRED, &bp); in msdosfs_read()
822 detrunc(dep, osize, ioflag & IO_SYNC, NOCRED); in msdosfs_write()
826 detrunc(dep, dep->de_FileSize, ioflag & IO_SYNC, NOCRED); in msdosfs_write()
1255 NOCRED, &bp); in msdosfs_rename()
1648 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in msdosfs_readdir()
/freebsd-13-stable/sys/ufs/ffs/
HDffs_balloc.c175 error = bread(vp, lbn, fs->fs_bsize, NOCRED, in ffs_balloc_ufs1()
200 error = bread(vp, lbn, osize, NOCRED, &bp); in ffs_balloc_ufs1()
302 indirs[i].in_lbn, (int)fs->fs_bsize, NOCRED, &bp); in ffs_balloc_ufs1()
471 (int)fs->fs_bsize, NOCRED, in ffs_balloc_ufs1()
474 error = bread_gb(vp, lbn, (int)fs->fs_bsize, NOCRED, in ffs_balloc_ufs1()
537 (int)fs->fs_bsize, NOCRED, &bp); in ffs_balloc_ufs1()
689 error = bread_gb(vp, -1 - lbn, fs->fs_bsize, NOCRED, in ffs_balloc_ufs2()
705 error = bread_gb(vp, -1 - lbn, osize, NOCRED, in ffs_balloc_ufs2()
794 error = bread_gb(vp, lbn, fs->fs_bsize, NOCRED, in ffs_balloc_ufs2()
819 error = bread_gb(vp, lbn, osize, NOCRED, in ffs_balloc_ufs2()
[all …]
HDffs_inode.c150 (int) fs->fs_bsize, NULL, NULL, 0, NOCRED, flags, NULL, &bp); in ffs_update()
309 (void) chkdq(ip, -extblocks, NOCRED, FORCE); in ffs_truncate()
673 (void) chkdq(ip, -blocksreleased, NOCRED, FORCE); in ffs_truncate()
736 NOCRED, 0, NULL, &bp); in ffs_indirtrunc()
HDffs_vnops.c735 error = bread_gb(vp, lbn, size, NOCRED, bflag, &bp); in ffs_read()
745 size, NOCRED, blkoffset + uio->uio_resid, in ffs_read()
758 &nextsize, 1, NOCRED, bflag, NULL, &bp); in ffs_read()
765 error = bread_gb(vp, lbn, size, NOCRED, bflag, &bp); in ffs_read()
1116 error = bread(vp, -1 - lbn, size, NOCRED, &bp); in ffs_extread()
1128 size, &nextlbn, &nextsize, 1, NOCRED, &bp); in ffs_extread()
1464 if (cred == NOCRED) in ffs_close_ea()
/freebsd-13-stable/sys/ufs/ufs/
HDufs_inode.c165 error = UFS_TRUNCATE(vp, (off_t)0, IO_EXT | IO_NORMAL, NOCRED); in ufs_inactive()
170 (void)chkiq(ip, -1, NOCRED, FORCE); in ufs_inactive()
/freebsd-13-stable/usr.sbin/makefs/
HDmsdos.h35 #define NOCRED NULL macro
/freebsd-13-stable/sys/fs/fuse/
HDfuse_io.c176 err = bread(vp, lbn, bcount, NOCRED, &bp); in fuse_read_biobackend()
182 err = cluster_read(vp, filesize, lbn, bcount, NOCRED, in fuse_read_biobackend()
187 NOCRED, &bp); in fuse_read_biobackend()
190 err = bread(vp, lbn, bcount, NOCRED, &bp); in fuse_read_biobackend()
617 if (bp->b_wcred == NOCRED) in fuse_write_biobackend()
/freebsd-13-stable/sys/fs/cd9660/
HDcd9660_vnops.c348 lbn, size, NOCRED, uio->uio_resid,
351 error = bread(vp, lbn, size, NOCRED, &bp);
357 &rasize, 1, NOCRED, &bp);
359 error = bread(vp, lbn, size, NOCRED, &bp);
703 imp->logical_block_size, NOCRED, &bp);
/freebsd-13-stable/sys/fs/udf/
HDudf.h93 bread(devvp, sector << (udfmp->bshift - DEV_BSHIFT), size, NOCRED, bp)
/freebsd-13-stable/sys/security/mac/
HDmac_vfs.c298 VOP_CLOSEEXTATTR(vp, 0, NOCRED, curthread); in mac_vnode_create_extattr()
302 error = VOP_CLOSEEXTATTR(vp, 1, NOCRED, curthread); in mac_vnode_create_extattr()
331 VOP_CLOSEEXTATTR(vp, 0, NOCRED, curthread); in mac_vnode_setlabel_extattr()
335 error = VOP_CLOSEEXTATTR(vp, 1, NOCRED, curthread); in mac_vnode_setlabel_extattr()
/freebsd-13-stable/sys/sys/
HDucred.h98 #define NOCRED ((struct ucred *)0) /* no credential available */ macro

123