Searched refs:bnp (Results 1 - 13 of 13) sorted by relevance

/freebsd-12-stable/sys/ufs/ufs/
H A Dufs_bmap.c156 ufs_bmaparray(vp, bn, bnp, nbp, runp, runb)
159 ufs2_daddr_t *bnp;
198 *bnp = blkptrtodb(ump, DIP(ip, i_db[bn]));
200 *bnp = blkptrtodb(ump, ip->i_din2->di_extb[-1 - bn]);
201 if (*bnp == 0)
202 *bnp = -1;
223 *bnp = -1;
224 } else if (*bnp == 0) {
226 *bnp = blkptrtodb(ump, bn * ump->um_seqinc);
228 *bnp
[all...]
/freebsd-12-stable/sys/fs/ext2fs/
H A Dext2_bmap.c93 ext4_bmapext(struct vnode *vp, int32_t bn, int64_t *bnp, int *runp, int *runb) argument
114 *bnp = -1;
133 *bnp = fsbtodb(fs, lbn - ep->e_blk +
208 ext2_bmaparray(struct vnode *vp, daddr_t bn, daddr_t *bnp, int *runp, int *runb) argument
243 *bnp = blkptrtodb(ump, ip->i_db[bn]);
244 if (*bnp == 0) {
245 *bnp = -1;
315 *bnp = -1;
318 *bnp = blkptrtodb(ump, daddr);
319 if (*bnp
[all...]
H A Dext2_alloc.c104 struct ucred *cred, e4fs_daddr_t *bnp)
111 *bnp = 0;
144 *bnp = bno;
103 ext2_alloc(struct inode *ip, daddr_t lbn, e4fs_daddr_t bpref, int size, struct ucred *cred, e4fs_daddr_t *bnp) argument
/freebsd-12-stable/contrib/smbfs/lib/smb/
H A Dsubr.c139 smb_printb(char *dest, int flags, const struct smb_bitname *bnp) { argument
143 for(; bnp->bn_bit; bnp++) {
144 if (flags & bnp->bn_bit) {
145 strcat(dest, bnp->bn_name);
148 if (!first && (flags & bnp[1].bn_bit))
/freebsd-12-stable/sys/fs/msdosfs/
H A Dfat.h99 int pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int* sp);
H A Dmsdosfs_fat.c73 static void fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp,
90 fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp, u_long *sizep, argument
100 if (bnp)
101 *bnp = bn;
115 * bnp - address of where to place the filesystem relative block number.
121 * NOTE: Either bnp or cnp must be non-null.
128 pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int *sp) argument
142 KASSERT(bnp != NULL || cnp != NULL || sp != NULL,
160 if (bnp)
161 *bnp
[all...]
/freebsd-12-stable/usr.sbin/makefs/msdos/
H A Dfat.h102 int pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int* sp);
H A Dmsdosfs_fat.c81 static void fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp,
98 fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp, u_long *sizep, argument
108 if (bnp)
109 *bnp = bn;
123 * bnp - address of where to place the filesystem relative block number.
129 * NOTE: Either bnp or cnp must be non-null.
136 pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int *sp) argument
150 assert(bnp != NULL || cnp != NULL || sp != NULL);
166 if (bnp)
167 *bnp
[all...]
/freebsd-12-stable/sys/sparc64/sparc64/
H A Dmp_machdep.c666 u_int bnp; local
685 bnp = 0;
689 IDC_ITID_SHIFT) | bnp << IDC_BN_SHIFT,
692 bnp++;
693 if (bnp == IDR_CHEETAH_MAX_BN_PAIRS)
701 bnp = 0;
704 if ((ids & (IDR_NACK << (2 * bnp))) == 0)
706 bnp++;
/freebsd-12-stable/usr.sbin/makefs/ffs/
H A Dffs_alloc.c94 daddr_t *bnp)
100 *bnp = 0;
119 *bnp = bno;
93 ffs_alloc(struct inode *ip, daddr_t lbn __unused, daddr_t bpref, int size, daddr_t *bnp) argument
/freebsd-12-stable/sys/dev/qat/
H A Dqat_hw17reg.h799 * bnp Value of the bnp enabled flag
801 #define FW_COMN_FLAGS_BUILD_BNP(cdt, ptr, bnp) \
804 (((bnp)&COMN_BNP_ENABLED_MASK) << COMN_BNP_ENABLED_BITPOS))
823 * Macro for extraction of the bnp field type bit from the common flags
825 * flags Flags to extract the bnp field type type bit from
853 * Macro for setting the bnp field type bit in the common flags
/freebsd-12-stable/sys/kern/
H A Dvfs_vnops.c2209 daddr_t bn, bnp; local
2234 error = VOP_BMAP(vp, bn, NULL, &bnp, NULL, NULL);
2239 if ((bnp == -1 && cmd == FIOSEEKHOLE) ||
2240 (bnp != -1 && cmd == FIOSEEKDATA)) {
/freebsd-12-stable/sys/ufs/ffs/
H A Dffs_alloc.c149 ffs_alloc(ip, lbn, bpref, size, flags, cred, bnp)
154 ufs2_daddr_t *bnp;
165 *bnp = 0;
207 *bnp = bno;

Completed in 243 milliseconds