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

/openbsd-current/lib/libcrypto/bn/
H A Dbn_convert.c73 static int bn_dec2bn_cbs(BIGNUM **bnp, CBS *cbs);
74 static int bn_hex2bn_cbs(BIGNUM **bnp, CBS *cbs);
157 bn_bin2bn_cbs(BIGNUM **bnp, CBS *cbs, int lebin) argument
164 if ((bn = *bnp) == NULL)
199 *bnp = bn;
204 if (*bnp == NULL)
255 BN_asc2bn(BIGNUM **bnp, const char *s) argument
262 if (bnp != NULL && *bnp != NULL)
263 BN_zero(*bnp);
387 bn_dec2bn_cbs(BIGNUM **bnp, CBS *cbs) argument
472 BN_dec2bn(BIGNUM **bnp, const char *s) argument
584 bn_hex2bn_cbs(BIGNUM **bnp, CBS *cbs) argument
673 BN_hex2bn(BIGNUM **bnp, const char *s) argument
[all...]
/openbsd-current/sys/ufs/ext2fs/
H A Dext2fs_bmap.c94 ext4_bmapext(struct vnode *vp, daddr_t bn, daddr_t *bnp, struct indir *ap, int *nump, int *runp) argument
115 if ((*bnp = fsbtodb(fs, pos)) == 0)
116 *bnp = -1;
135 ext2fs_bmaparray(struct vnode *vp, daddr_t bn, daddr_t *bnp, argument
175 *bnp = blkptrtodb(ump, letoh32(ip->i_e2fs_blocks[bn]));
176 if (*bnp == 0)
177 *bnp = -1;
251 *bnp = daddr == 0 ? -1 : daddr;
H A Dext2fs_alloc.c81 struct ucred *cred, u_int32_t *bnp)
87 *bnp = 0;
107 *bnp = bno;
80 ext2fs_alloc(struct inode *ip, u_int32_t lbn, u_int32_t bpref, struct ucred *cred, u_int32_t *bnp) argument
/openbsd-current/sys/ufs/ufs/
H A Dufs_bmap.c90 ufs_bmaparray(struct vnode *vp, daddr_t bn, daddr_t *bnp, struct indir *ap, argument
129 *bnp = blkptrtodb(ump, DIP(ip, db[bn]));
130 if (*bnp == 0)
131 *bnp = -1;
213 *bnp = daddr == 0 ? -1 : daddr;
/openbsd-current/sys/msdosfs/
H A Dmsdosfs_fat.c97 fatblock(struct msdosfsmount *pmp, uint32_t ofs, uint32_t *bnp, uint32_t *sizep, argument
106 if (bnp)
107 *bnp = bn;
121 * bnp - address of where to place the file system relative block number.
128 * NOTE: Either bnp or cnp must be non-null.
135 pcbmap(struct denode *dep, uint32_t findcn, daddr_t *bnp, uint32_t *cnp, argument
156 if (bnp == NULL && cnp == NULL && sp == NULL)
173 if (bnp)
174 *bnp = pmp->pm_rootdirblk + de_cn2bn(pmp, findcn);
254 if (bnp)
[all...]
H A Dmsdosfs_vnops.c1700 * bnp - address of where to return the filesystem relative block number
1722 msdosfs_bmaparray(struct vnode *vp, uint32_t cn, daddr_t *bnp, int *runp) argument
1744 if ((error = pcbmap(dep, cn, bnp, 0, 0)) != 0)
1749 if (error != 0 || (runbn != *bnp + de_cn2bn(pmp, run)))
/openbsd-current/usr.sbin/makefs/msdos/
H A Dmsdosfs_fat.c102 fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp, u_long *sizep, u_long *bop) argument
113 if (bnp)
114 *bnp = bn;
130 * bnp - address of where to place the file system relative block number.
135 * NOTE: Either bnp or cnp must be non-null.
142 pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int *sp) argument
144 /* bnp: returned filesys rel sector number */
166 if (bnp == NULL && cnp == NULL && sp == NULL)
186 if (bnp)
187 *bnp
[all...]
/openbsd-current/usr.sbin/makefs/ffs/
H A Dffs_alloc.c86 daddr_t *bnp)
92 *bnp = 0;
108 *bnp = bno;
85 ffs_alloc(struct inode *ip, daddr_t lbn __unused, daddr_t bpref, int size, daddr_t *bnp) argument
/openbsd-current/sys/kern/
H A Dvfs_vops.c541 daddr_t *bnp, int *runp)
547 a.a_bnp = bnp;
540 VOP_BMAP(struct vnode *vp, daddr_t bn, struct vnode **vpp, daddr_t *bnp, int *runp) argument
/openbsd-current/sys/ufs/ffs/
H A Dffs_alloc.c100 struct ucred *cred, daddr_t *bnp)
108 *bnp = 0;
145 *bnp = bno;
99 ffs_alloc(struct inode *ip, daddr_t lbn, daddr_t bpref, int size, struct ucred *cred, daddr_t *bnp) argument

Completed in 275 milliseconds