Home
last modified time | relevance | path

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

123

/freebsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_lookup.c125 if ((error = bread((void *)pmp->pm_devvp, bn, blsize, NOCRED, in createde()
156 NOCRED, &bp); in createde()
211 if ((error = bread((void *)pmp->pm_devvp, bn, blsize, NOCRED, in m_readep()
271 NOCRED, &bp); in uniqdosname()
H A Dmsdosfs_fat.c206 NOCRED, &bp); in pcbmap()
491 error = bread((void *)pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fatentry()
574 error = bread((void *)pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fatchain()
821 NOCRED, &bp); in freeclusterchain()
897 NOCRED, &bp); in fillinusemap()
/freebsd/sys/vm/
H A Dvm_pager.c464 bp->b_rcred = NOCRED; in pbuf_ctor()
465 bp->b_wcred = NOCRED; in pbuf_ctor()
483 if (bp->b_rcred != NOCRED) { in pbuf_dtor()
485 bp->b_rcred = NOCRED; in pbuf_dtor()
487 if (bp->b_wcred != NOCRED) { in pbuf_dtor()
489 bp->b_wcred = NOCRED; in pbuf_dtor()
510 bp->b_rcred = bp->b_wcred = NOCRED; in pbuf_init()
/freebsd/sys/fs/ext2fs/
H A Dext2_balloc.c77 error = bread(vp, lbn, fs->e2fs_bsize, NOCRED, &bp); in ext2_ext_balloc()
139 error = bread(vp, lbn, fs->e2fs_bsize, NOCRED, &bp); in ext2_balloc()
215 indirs[i].in_lbn, (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_balloc()
305 (int)fs->e2fs_bsize, NOCRED, in ext2_balloc()
308 error = bread(vp, lbn, (int)fs->e2fs_bsize, NOCRED, &nbp); in ext2_balloc()
H A Dext2_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()
H A Dext2_alloc.c118 if (cred == NOCRED) in ext2_alloc()
266 if (bread(vp, idp->in_lbn, (int)fs->e2fs_bsize, NOCRED, &sbp)) { in ext2_reallocblks()
285 if (bread(vp, idp->in_lbn, (int)fs->e2fs_bsize, NOCRED, &ebp)) in ext2_reallocblks()
1017 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_alloccg()
1169 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_clusteralloc()
1326 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_nodealloccg()
1437 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_blkfree()
1483 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_vfree()
H A Dext2_subr.c77 if ((error = bread(vp, lbn, bsize, NOCRED, &bp)) != 0) { in ext2_blkatoff()
H A Dext2_vnops.c1080 tcnp->cn_cred, NOCRED, NULL, NULL); in ext2_rename()
1114 NOCRED, NULL, NULL); in ext2_rename()
1401 IO_NODELOCKED | IO_SYNC | IO_NOMACCHECK, cnp->cn_cred, NOCRED, in ext2_mkdir()
1534 ap->a_cnp->cn_cred, NOCRED, NULL, NULL); in ext2_symlink()
2079 error = bread(vp, lbn, size, NOCRED, &bp); in ext2_read()
2082 NOCRED, blkoffset + uio->uio_resid, seqcount, in ext2_read()
2088 size, &nextlbn, &nextsize, 1, NOCRED, &bp); in ext2_read()
2090 error = bread(vp, lbn, size, NOCRED, &bp); in ext2_read()
/freebsd/sys/kern/
H A Dkern_ctf.c115 0, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, NULL, in link_elf_ctf_get()
137 hdr->e_shoff, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_ctf_get()
163 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, NULL, td)) != 0) in link_elf_ctf_get()
184 NOCRED, NULL, td)) != 0) in link_elf_ctf_get()
244 td->td_ucred, NOCRED, NULL, td)) != 0) in link_elf_ctf_get()
H A Dkern_vnodedumper.c194 IO_NODELOCKED, curthread->td_ucred, NOCRED, NULL, curthread); in vnode_dump()
220 UIO_SYSSPACE, IO_NODELOCKED, curthread->td_ucred, NOCRED, NULL, in vnode_write_headers()
H A Dlink_elf_obj.c767 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
825 NOCRED, &resid, td); in link_elf_load_file()
915 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
929 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
948 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
1137 NOCRED, &resid, td); in link_elf_load_file()
1178 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
1199 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_lookup.c258 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in msdosfs_lookup_ino()
661 (void)detrunc(ddep, ddep->de_FileSize, 0, NOCRED); in createde()
683 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp)) != 0) { in createde()
717 NOCRED, &bp); in createde()
783 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in dosdirempty()
872 pmp->pm_bpcluster, NOCRED, &bp); in doscheckpath()
939 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, bpp)) != 0) { in readep()
996 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in removede()
1073 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in uniqdosname()
H A Dmsdosfs_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()
H A Dmsdosfs_denode.c432 NOCRED, &bp); in detrunc()
551 NOCRED, &bp); in deextend()
665 error = detrunc(dep, (u_long) 0, 0, NOCRED); in msdosfs_inactive()
H A Dmsdosfs_vnops.c576 error = bread(pmp->pm_devvp, lbn, blsize, NOCRED, &bp); in msdosfs_read()
578 error = bread(vp, lbn, blsize, NOCRED, &bp); in msdosfs_read()
581 NOCRED, on + uio->uio_resid, seqcount, 0, &bp); in msdosfs_read()
585 blsize, &rablock, &rasize, 1, NOCRED, &bp); in msdosfs_read()
587 error = bread(vp, lbn, blsize, NOCRED, &bp); in msdosfs_read()
817 detrunc(dep, osize, ioflag & IO_SYNC, NOCRED); in msdosfs_write()
821 detrunc(dep, dep->de_FileSize, ioflag & IO_SYNC, NOCRED); in msdosfs_write()
1243 NOCRED, &bp); in msdosfs_rename()
1632 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in msdosfs_readdir()
/freebsd/sys/ufs/ffs/
H A Dffs_balloc.c172 error = bread(vp, lbn, fs->fs_bsize, NOCRED, in ffs_balloc_ufs1()
197 error = bread(vp, lbn, osize, NOCRED, &bp); in ffs_balloc_ufs1()
299 indirs[i].in_lbn, (int)fs->fs_bsize, NOCRED, &bp); in ffs_balloc_ufs1()
468 (int)fs->fs_bsize, NOCRED, in ffs_balloc_ufs1()
471 error = bread_gb(vp, lbn, (int)fs->fs_bsize, NOCRED, in ffs_balloc_ufs1()
534 (int)fs->fs_bsize, NOCRED, &bp); in ffs_balloc_ufs1()
686 error = bread_gb(vp, -1 - lbn, fs->fs_bsize, NOCRED, in ffs_balloc_ufs2()
702 error = bread_gb(vp, -1 - lbn, osize, NOCRED, in ffs_balloc_ufs2()
791 error = bread_gb(vp, lbn, fs->fs_bsize, NOCRED, in ffs_balloc_ufs2()
816 error = bread_gb(vp, lbn, osize, NOCRED, in ffs_balloc_ufs2()
[all …]
H A Dffs_inode.c148 (int) fs->fs_bsize, NULL, NULL, 0, NOCRED, flags, NULL, &bp); in ffs_update()
309 (void) chkdq(ip, -extblocks, NOCRED, FORCE); in ffs_truncate()
677 (void) chkdq(ip, -blocksreleased, NOCRED, FORCE); in ffs_truncate()
740 NOCRED, 0, NULL, &bp); in ffs_indirtrunc()
H A Dffs_vnops.c742 error = bread_gb(vp, lbn, size, NOCRED, bflag, &bp); in ffs_read()
752 size, NOCRED, blkoffset + uio->uio_resid, in ffs_read()
765 &nextsize, 1, NOCRED, bflag, NULL, &bp); in ffs_read()
772 error = bread_gb(vp, lbn, size, NOCRED, bflag, &bp); in ffs_read()
1125 error = bread(vp, -1 - lbn, size, NOCRED, &bp); in ffs_extread()
1137 size, &nextlbn, &nextsize, 1, NOCRED, &bp); in ffs_extread()
1473 if (cred == NOCRED) in ffs_close_ea()
/freebsd/sys/ufs/ufs/
H A Dufs_inode.c163 error = UFS_TRUNCATE(vp, (off_t)0, IO_EXT | IO_NORMAL, NOCRED); in ufs_inactive()
168 (void)chkiq(ip, -1, NOCRED, FORCE); in ufs_inactive()
/freebsd/sys/fs/fuse/
H A Dfuse_io.c175 err = bread(vp, lbn, bcount, NOCRED, &bp); in fuse_read_biobackend()
181 err = cluster_read(vp, filesize, lbn, bcount, NOCRED, in fuse_read_biobackend()
186 NOCRED, &bp); in fuse_read_biobackend()
189 err = bread(vp, lbn, bcount, NOCRED, &bp); in fuse_read_biobackend()
616 if (bp->b_wcred == NOCRED) in fuse_write_biobackend()
/freebsd/usr.sbin/makefs/
H A Dmsdos.h35 #define NOCRED NULL macro
/freebsd/sys/fs/cd9660/
H A Dcd9660_vnops.c307 lbn, size, NOCRED, uio->uio_resid, in cd9660_read()
310 error = bread(vp, lbn, size, NOCRED, &bp); in cd9660_read()
316 &rasize, 1, NOCRED, &bp); in cd9660_read()
318 error = bread(vp, lbn, size, NOCRED, &bp); in cd9660_read()
644 imp->logical_block_size, NOCRED, &bp); in cd9660_readlink()
/freebsd/sys/fs/udf/
H A Dudf.h93 bread(devvp, sector << (udfmp->bshift - DEV_BSHIFT), size, NOCRED, bp)
/freebsd/sys/security/mac/
H A Dmac_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/sys/sys/
H A Ducred.h95 #define NOCRED ((struct ucred *)0) /* no credential available */ macro

123