Home
last modified time | relevance | path

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

123

/freebsd-13.1/sys/kern/
H A Dkern_ctf.c110 0, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, NULL, in link_elf_ctf_get()
132 hdr->e_shoff, UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_ctf_get()
155 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, NULL, td)) != 0) in link_elf_ctf_get()
174 NOCRED, NULL, td)) != 0) in link_elf_ctf_get()
230 td->td_ucred, NOCRED, NULL, td)) != 0) in link_elf_ctf_get()
H A Dlink_elf_obj.c735 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
793 NOCRED, &resid, td); in link_elf_load_file()
883 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
897 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
916 UIO_SYSSPACE, IO_NODELOCKED, td->td_ucred, NOCRED, in link_elf_load_file()
1105 NOCRED, &resid, td); in link_elf_load_file()
1147 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()
/freebsd-13.1/sys/vm/
H A Dvm_pager.c452 bp->b_rcred = NOCRED; in pbuf_ctor()
453 bp->b_wcred = NOCRED; in pbuf_ctor()
471 if (bp->b_rcred != NOCRED) { in pbuf_dtor()
473 bp->b_rcred = NOCRED; in pbuf_dtor()
475 if (bp->b_wcred != NOCRED) { in pbuf_dtor()
477 bp->b_wcred = NOCRED; in pbuf_dtor()
496 bp->b_rcred = bp->b_wcred = NOCRED; in pbuf_init()
/freebsd-13.1/usr.sbin/makefs/msdos/
H A Dmsdosfs_lookup.c128 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp)) != 0) { in createde()
159 NOCRED, &bp); in createde()
215 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, bpp)) != 0) { in readep()
274 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in uniqdosname()
H A Dmsdosfs_fat.c209 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in pcbmap()
494 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fatentry()
577 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fatchain()
823 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in freeclusterchain()
898 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fillinusemap()
/freebsd-13.1/sys/fs/ext2fs/
H A Dext2_balloc.c80 error = bread(vp, lbn, fs->e2fs_bsize, NOCRED, &bp); in ext2_ext_balloc()
142 error = bread(vp, lbn, fs->e2fs_bsize, NOCRED, &bp); in ext2_balloc()
218 indirs[i].in_lbn, (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_balloc()
308 (int)fs->e2fs_bsize, NOCRED, in ext2_balloc()
311 error = bread(vp, lbn, (int)fs->e2fs_bsize, NOCRED, &nbp); in ext2_balloc()
H A Dext2_extattr.c208 (int)fs->e2fs_bsize, NOCRED, &bp)) != 0) { in ext2_extattr_inode_list()
281 fs->e2fs_bsize, NOCRED, &bp); in ext2_extattr_block_list()
349 (int)fs->e2fs_bsize, NOCRED, &bp)) != 0) { in ext2_extattr_inode_get()
423 fs->e2fs_bsize, NOCRED, &bp); in ext2_extattr_block_get()
554 (int)fs->e2fs_bsize, NOCRED, &bp)) != 0) { in ext2_extattr_inode_delete()
685 fs->e2fs_bsize, NOCRED, &bp); in ext2_extattr_block_delete()
920 (int)fs->e2fs_bsize, NOCRED, &bp)) != 0) { in ext2_extattr_inode_set()
1081 fs->e2fs_bsize, NOCRED, &bp); in ext2_extattr_block_set()
1228 fs->e2fs_bsize, NOCRED, &bp); in ext2_extattr_free()
H A Dext2_alloc.c121 if (cred == NOCRED) in ext2_alloc()
269 if (bread(vp, idp->in_lbn, (int)fs->e2fs_bsize, NOCRED, &sbp)) { in ext2_reallocblks()
288 if (bread(vp, idp->in_lbn, (int)fs->e2fs_bsize, NOCRED, &ebp)) in ext2_reallocblks()
1019 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_alloccg()
1171 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_clusteralloc()
1328 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_nodealloccg()
1439 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_blkfree()
1485 (int)fs->e2fs_bsize, NOCRED, &bp); in ext2_vfree()
H A Dext2_subr.c80 if ((error = bread(vp, lbn, bsize, NOCRED, &bp)) != 0) { in ext2_blkatoff()
H A Dext2_vnops.c1081 tcnp->cn_cred, NOCRED, NULL, NULL); in ext2_rename()
1106 NOCRED, NULL, NULL); in ext2_rename()
1397 IO_NODELOCKED | IO_SYNC | IO_NOMACCHECK, cnp->cn_cred, NOCRED, in ext2_mkdir()
1530 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-13.1/sys/fs/msdosfs/
H A Dmsdosfs_lookup.c257 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in msdosfs_lookup_ino()
664 (void)detrunc(ddep, ddep->de_FileSize, 0, NOCRED); in createde()
686 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp)) != 0) { in createde()
719 NOCRED, &bp); in createde()
784 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in dosdirempty()
873 pmp->pm_bpcluster, NOCRED, &bp); in doscheckpath()
940 if ((error = bread(pmp->pm_devvp, bn, blsize, NOCRED, bpp)) != 0) { in readep()
997 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.c202 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in pcbmap()
507 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fatentry()
589 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fatchain()
843 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in freeclusterchain()
925 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in fillinusemap()
1158 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); in markvoldirty_upgrade()
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()
815 detrunc(dep, osize, ioflag & IO_SYNC, NOCRED); in msdosfs_write()
819 detrunc(dep, dep->de_FileSize, ioflag & IO_SYNC, NOCRED); in msdosfs_write()
1242 NOCRED, &bp); in msdosfs_rename()
1629 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); in msdosfs_readdir()
H A Dmsdosfs_denode.c427 NOCRED, &bp); in detrunc()
618 error = detrunc(dep, (u_long) 0, 0, NOCRED); in msdosfs_inactive()
/freebsd-13.1/sys/ufs/ffs/
H A Dffs_balloc.c177 error = bread(vp, lbn, fs->fs_bsize, NOCRED, in ffs_balloc_ufs1()
202 error = bread(vp, lbn, osize, NOCRED, &bp); in ffs_balloc_ufs1()
473 (int)fs->fs_bsize, NOCRED, in ffs_balloc_ufs1()
539 (int)fs->fs_bsize, NOCRED, &bp); in ffs_balloc_ufs1()
707 error = bread_gb(vp, -1 - lbn, osize, NOCRED, in ffs_balloc_ufs2()
796 error = bread_gb(vp, lbn, fs->fs_bsize, NOCRED, in ffs_balloc_ufs2()
821 error = bread_gb(vp, lbn, osize, NOCRED, in ffs_balloc_ufs2()
925 NOCRED, gbwflag, &bp); in ffs_balloc_ufs2()
1101 (int)fs->fs_bsize, NOCRED, in ffs_balloc_ufs2()
1105 NOCRED, gbflags, &nbp); in ffs_balloc_ufs2()
[all …]
H A Dffs_inode.c154 (int) fs->fs_bsize, NULL, NULL, 0, NOCRED, flags, NULL, &bp);
314 (void) chkdq(ip, -extblocks, NOCRED, FORCE);
678 (void) chkdq(ip, -blocksreleased, NOCRED, FORCE);
741 NOCRED, 0, NULL, &bp);
H A Dffs_vnops.c737 error = bread_gb(vp, lbn, size, NOCRED, bflag, &bp);
747 size, NOCRED, blkoffset + uio->uio_resid,
760 &nextsize, 1, NOCRED, bflag, NULL, &bp);
767 error = bread_gb(vp, lbn, size, NOCRED, bflag, &bp);
1107 error = bread(vp, -1 - lbn, size, NOCRED, &bp); in ffs_extread()
1120 size, &nextlbn, &nextsize, 1, NOCRED, &bp); in ffs_extread()
1456 if (cred == NOCRED) in ffs_close_ea()
/freebsd-13.1/sys/ufs/ufs/
H A Dufs_inode.c168 error = UFS_TRUNCATE(vp, (off_t)0, IO_EXT | IO_NORMAL, NOCRED);
173 (void)chkiq(ip, -1, NOCRED, FORCE);
/freebsd-13.1/usr.sbin/makefs/
H A Dmsdos.h36 #define NOCRED NULL macro
/freebsd-13.1/sys/fs/fuse/
H A Dfuse_io.c177 err = bread(vp, lbn, bcount, NOCRED, &bp); in fuse_read_biobackend()
183 err = cluster_read(vp, filesize, lbn, bcount, NOCRED, in fuse_read_biobackend()
188 NOCRED, &bp); in fuse_read_biobackend()
191 err = bread(vp, lbn, bcount, NOCRED, &bp); in fuse_read_biobackend()
603 if (bp->b_wcred == NOCRED) in fuse_write_biobackend()
/freebsd-13.1/sys/fs/cd9660/
H A Dcd9660_vnops.c334 lbn, size, NOCRED, uio->uio_resid,
337 error = bread(vp, lbn, size, NOCRED, &bp);
343 &rasize, 1, NOCRED, &bp);
345 error = bread(vp, lbn, size, NOCRED, &bp);
689 imp->logical_block_size, NOCRED, &bp);
/freebsd-13.1/sys/fs/udf/
H A Dudf.h95 bread(devvp, sector << (udfmp->bshift - DEV_BSHIFT), size, NOCRED, bp)
/freebsd-13.1/sys/fs/nfsclient/
H A Dnfs_clbio.c869 if (cred != NOCRED) {
873 bp->b_wcred = NOCRED;
876 error = ncl_asyncio(nmp, bp, NOCRED, td);
1173 if (bp->b_wcred == NOCRED) in ncl_write()
1568 if (bp->b_rcred == NOCRED && cred != NOCRED) in ncl_asyncio()
1571 if (bp->b_wcred == NOCRED && cred != NOCRED) in ncl_asyncio()
/freebsd-13.1/sys/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()
/freebsd-13.1/sys/sys/
H A Ducred.h86 #define NOCRED ((struct ucred *)0) /* no credential available */ macro

123