Searched refs:bp (Results 76 - 100 of 885) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/ufs/ffs/
H A Dffs_rawread.c64 struct buf *bp,
194 struct buf *bp,
213 bp->b_bcount = len;
214 if (bp->b_bcount + iolen > bp->b_kvasize) {
215 bp->b_bcount = bp->b_kvasize;
217 bp->b_bcount -= PAGE_SIZE;
219 bp->b_flags = 0; /* XXX necessary ? */
220 bp
189 ffs_rawread_readahead(struct vnode *vp, caddr_t udata, off_t offset, size_t len, struct thread *td, struct buf *bp, caddr_t sa) argument
275 struct buf *bp, *nbp, *tbp; local
[all...]
H A Dffs_balloc.c98 struct buf *bp, *nbp; local
144 cred, &bp);
149 dbtofsb(fs, bp->b_blkno), dp->di_db[nb],
150 fs->fs_bsize, osize, bp);
153 dp->di_db[nb] = dbtofsb(fs, bp->b_blkno);
156 bwrite(bp);
158 bawrite(bp);
169 error = bread(vp, lbn, fs->fs_bsize, NOCRED, &bp);
171 brelse(bp);
174 bp
546 struct buf *bp, *nbp; local
[all...]
/freebsd-9.3-release/contrib/nvi/common/
H A Dargs.h23 CHAR_T *bp; /* Argument. */ member in struct:_args
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dnumtohost.c24 char *bp; local
39 LIB_GETBUF(bp);
40 strlcpy(bp, hp->h_name, LIB_BUFLENGTH);
42 return bp;
/freebsd-9.3-release/lib/libutil/
H A Dkinfo_getfile.c19 char *buf, *bp, *eb; local
43 bp = buf;
45 while (bp < eb) {
46 kf = (struct kinfo_file *)(uintptr_t)bp;
47 bp += kf->kf_structsize;
56 bp = buf;
60 while (bp < eb) {
61 kf = (struct kinfo_file *)(uintptr_t)bp;
65 bp += kf->kf_structsize;
H A Dkinfo_getvmmap.c19 char *buf, *bp, *eb; local
43 bp = buf;
45 while (bp < eb) {
46 kv = (struct kinfo_vmentry *)(uintptr_t)bp;
47 bp += kv->kve_structsize;
56 bp = buf;
60 while (bp < eb) {
61 kv = (struct kinfo_vmentry *)(uintptr_t)bp;
65 bp += kv->kve_structsize;
/freebsd-9.3-release/sys/netatalk/
H A Dat_rmx.c49 char *bp = &hexbuf[0];
58 bp += sprintf(bp, "(%d)", len);
59 for (cp++; cp < cplim && bp < hexbuf + (HEXBUF_LEN - 4);
61 *bp++ = "0123456789abcdef"[*cp / 16];
62 *bp++ = "0123456789abcdef"[*cp % 16];
65 bp+= sprintf(bp, "null");
66 *bp = '\0';
/freebsd-9.3-release/contrib/ncurses/form/
H A Dfty_num.c153 unsigned char *bp = (unsigned char *)field_buffer(field, 0); local
154 char *s = (char *)bp;
160 while (*bp && *bp == ' ')
161 bp++;
162 if (*bp)
164 if (*bp == '-' || *bp == '+')
165 bp++;
167 if (*bp)
[all...]
/freebsd-9.3-release/sys/fs/ext2fs/
H A Dext2_balloc.c65 struct buf *bp, *nbp; local
96 error = bread(vp, lbn, fs->e2fs_bsize, NOCRED, &bp);
98 brelse(bp);
101 bp->b_blkno = fsbtodb(fs, nb);
102 *bpp = bp;
112 error = bread(vp, lbn, osize, NOCRED, &bp);
114 brelse(bp);
117 bp->b_blkno = fsbtodb(fs, nb);
141 bp = getblk(vp, lbn, nsize, 0, 0, 0);
142 bp
[all...]
/freebsd-9.3-release/lib/libc/db/hash/
H A Dhash_bigkey.c199 u_int16_t *bp, pageno; local
204 bp = (u_int16_t *)bufp->page;
208 while (!key_done || (bp[2] != FULL_KEY_DATA)) {
209 if (bp[2] == FULL_KEY || bp[2] == FULL_KEY_DATA)
217 if (bp[2] == FULL_KEY_DATA && FREESPACE(bp))
219 pageno = bp[bp[0] - 1];
227 bp
275 u_int16_t *bp; local
323 u_int16_t *bp, pageno; local
362 u_int16_t *bp, len, off, save_addr; local
447 u_int16_t *bp; local
517 u_int16_t *bp, save_addr; local
560 BUFHEAD *bp, *tmpp; local
[all...]
/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_source.c44 char *bp, *name; local
46 name = cmdp->argv[0]->bp;
65 MALLOC(sp, bp, char *, (size_t)sb.st_size + 1);
66 if (bp == NULL) {
70 bp[sb.st_size] = '\0';
73 len = read(fd, bp, (int)sb.st_size);
78 free(bp);
84 return (ex_run_str(sp, name, bp, (size_t)sb.st_size, 1, 1));
/freebsd-9.3-release/sys/compat/netbsd/
H A Dphysio_proc.h46 physio_proc_enter(bp)
47 struct buf *bp; variable in typeref:struct:buf
/freebsd-9.3-release/lib/libc/gen/
H A Dgetcap.c112 char *bp; local
115 bp = buf;
123 if (*bp == '\0')
126 if (*bp++ == ':')
132 for (cp = cap; *cp == *bp && *bp != '\0'; cp++, bp++)
136 if (*bp == '@')
139 if (*bp != '\0' && *bp !
278 char *b_end, *bp; local
534 cdbget(DB *capdbp, char **bp, const char *name) argument
576 const char *np, *bp; local
647 cgetnext(char **bp, char **db_array) argument
787 char *bp, *mp; local
914 char *bp, *mp; local
983 char *bp; local
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dgetcap.c95 int cgetnext(char **bp, char **db_array);
161 char *bp; local
164 bp = buf;
172 if (*bp == '\0')
175 if (*bp++ == ':')
181 for (cp = cap; *cp == *bp && *bp != '\0'; cp++, bp++)
185 if (*bp == '@')
188 if (*bp !
335 char *b_end, *bp, *cp; local
620 cdbget(DB *capdbp, char **bp, const char *name) argument
658 const char *np, *bp; local
856 const char *bp; local
980 const char *bp; local
1050 const char *bp; local
[all...]
/freebsd-9.3-release/sys/dev/ofw/
H A Dofw_disk.c78 ofwd_startio(struct ofwd_softc *sc, struct bio *bp) argument
82 r = OF_seek(sc->ofwd_instance, bp->bio_offset);
84 switch (bp->bio_cmd) {
86 r = OF_read(sc->ofwd_instance, (void *)bp->bio_data,
87 bp->bio_length);
90 r = OF_write(sc->ofwd_instance, (void *)bp->bio_data,
91 bp->bio_length);
94 if (r != bp->bio_length)
97 bp->bio_resid = 0;
105 struct bio *bp; local
188 g_ofwd_start(struct bio *bp) argument
[all...]
/freebsd-9.3-release/sys/fs/nfsclient/
H A Dnfs_clbio.c89 struct buf *bp; local
155 bp = getpbuf(&ncl_pbuf_freecnt);
157 kva = (vm_offset_t) bp->b_data;
175 relpbuf(bp, &ncl_pbuf_freecnt);
247 struct buf *bp; local
306 bp = getpbuf(&ncl_pbuf_freecnt);
308 kva = (vm_offset_t) bp->b_data;
332 relpbuf(bp, &ncl_pbuf_freecnt);
430 struct buf *bp, *rabp; local
526 bp
777 struct buf *bp; local
872 struct buf *bp; local
1303 struct buf *bp; local
1407 ncl_asyncio(struct nfsmount *nmp, struct buf *bp, struct ucred *cred, struct thread *td) argument
1554 ncl_doio_directwrite(struct buf *bp) argument
1589 ncl_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td, int called_from_strategy) argument
1859 struct buf *bp; local
[all...]
/freebsd-9.3-release/sys/nfsclient/
H A Dnfs_bio.c83 struct buf *bp; local
149 bp = getpbuf(&nfs_pbuf_freecnt);
151 kva = (vm_offset_t) bp->b_data;
169 relpbuf(bp, &nfs_pbuf_freecnt);
241 struct buf *bp; local
300 bp = getpbuf(&nfs_pbuf_freecnt);
302 kva = (vm_offset_t) bp->b_data;
326 relpbuf(bp, &nfs_pbuf_freecnt);
426 struct buf *bp, *rabp; local
517 bp
768 struct buf *bp; local
863 struct buf *bp; local
1233 struct buf *bp; local
1335 nfs_asyncio(struct nfsmount *nmp, struct buf *bp, struct ucred *cred, struct thread *td) argument
1482 nfs_doio_directwrite(struct buf *bp) argument
1518 nfs_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td) argument
1780 struct buf *bp; local
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dmbuf.h48 #define MBUF_CTOP(bp) \
49 ((bp) ? (u_char *)((bp)+1) + (bp)->m_offset : (u_char *)bp)
51 #define CONST_MBUF_CTOP(bp) \
52 ((bp) ? (const u_char *)((bp)+1) + (bp)->m_offset : (const u_char *)bp)
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-mobility.c92 mobility_opt_print(const u_char *bp, int len) argument
98 if (bp[i] == IP6MOPT_PAD1)
102 optlen = bp[i + 1] + 2;
109 switch (bp[i]) {
127 EXTRACT_16BITS(&bp[i+2]) << 2);
134 printf("(alt-CoA: %s)", ip6addr_string(&bp[i+2]));
142 EXTRACT_16BITS(&bp[i+2]),
143 EXTRACT_16BITS(&bp[i+4]));
154 printf("(sopt_type %d: trunc)", bp[i]);
157 printf("(type-0x%02x: len=%d)", bp[
171 mobility_print(const u_char *bp, const u_char *bp2 _U_) argument
[all...]
/freebsd-9.3-release/contrib/tcsh/
H A Dtc.printf.c54 char *bp; local
140 bp = buf;
168 *bp++ = (char) (l % 10) + '0';
171 *bp++ = '-';
172 f_width = f_width - (int) (bp - buf);
176 for (bp--; bp >= buf; bp--)
177 (*addchar) (((unsigned char) *bp) | attributes);
212 *bp
[all...]
/freebsd-9.3-release/sys/geom/vinum/
H A Dgeom_vinum_volume.c44 struct bio *bp; local
50 bp = bioq_takefirst(v->wqueue);
51 while (bp != NULL) {
52 gv_volume_start(sc, bp);
53 bp = bioq_takefirst(v->wqueue);
58 gv_volume_start(struct gv_softc *sc, struct bio *bp) argument
66 v = bp->bio_to->private;
68 g_io_deliver(bp, ENXIO);
72 switch (bp->bio_cmd) {
82 bioq_insert_tail(v->wqueue, bp);
142 gv_bio_done(struct gv_softc *sc, struct bio *bp) argument
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/x509v3/
H A Dv3_ncons.c69 static int i2r_NAME_CONSTRAINTS(X509V3_EXT_METHOD *method, void *a, BIO *bp,
72 STACK_OF(GENERAL_SUBTREE) *trees, BIO *bp,
74 static int print_nc_ipadd(BIO *bp, ASN1_OCTET_STRING *ip);
151 void *a, BIO *bp, int ind)
155 bp, ind, "Permitted");
157 bp, ind, "Excluded");
163 BIO *bp, int ind, char *name)
168 BIO_printf(bp, "%*s%s:\n", ind, "", name);
171 BIO_printf(bp, "%*s", ind + 2, "");
173 print_nc_ipadd(bp, tre
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dspa.h133 * overhead, three DVAs per bp, plus one more bit in case we do anything
212 * fill count number of non-zero blocks under this bp
213 * checksum[4] 256-bit checksum of the data this bp describes
216 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */
238 * Macros to get and set fields in a bp or DVA.
260 #define BP_GET_LSIZE(bp) \
261 BF64_GET_SB((bp)->blk_prop, 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1)
262 #define BP_SET_LSIZE(bp, x) \
263 BF64_SET_SB((bp)->blk_prop, 0, SPA_LSIZEBITS, SPA_MINBLOCKSHIFT, 1, x)
265 #define BP_GET_PSIZE(bp) \
[all...]
/freebsd-9.3-release/sys/i386/ibcs2/
H A Dibcs2_ipc.c70 cvt_msqid2imsqid(bp, ibp)
71 struct msqid_ds *bp;
74 cvt_perm2iperm(&bp->msg_perm, &ibp->msg_perm);
75 ibp->msg_first = bp->msg_first;
76 ibp->msg_last = bp->msg_last;
77 ibp->msg_cbytes = (u_short)bp->msg_cbytes;
78 ibp->msg_qnum = (u_short)bp->msg_qnum;
79 ibp->msg_qbytes = (u_short)bp->msg_qbytes;
80 ibp->msg_lspid = (u_short)bp->msg_lspid;
81 ibp->msg_lrpid = (u_short)bp
[all...]
/freebsd-9.3-release/sys/geom/bde/
H A Dg_bde_work.c372 g_bde_contribute(struct bio *bp, off_t bytes, int error) argument
375 g_trace(G_T_TOPOLOGY, "g_bde_contribute bp %p bytes %jd error %d",
376 bp, (intmax_t)bytes, error);
377 if (bp->bio_error == 0)
378 bp->bio_error = error;
379 bp->bio_completed += bytes;
380 KASSERT(bp->bio_completed <= bp->bio_length, ("Too large contribution"));
381 if (bp->bio_completed == bp
410 g_bde_write_done(struct bio *bp) argument
459 struct bio *bp; local
487 g_bde_read_done(struct bio *bp) argument
515 struct bio *bp; local
736 g_bde_start1(struct bio *bp) argument
[all...]

Completed in 314 milliseconds

1234567891011>>