Searched refs:bp (Results 276 - 300 of 885) sorted by relevance

<<11121314151617181920>>

/freebsd-9.3-release/lib/libc/net/
H A Dgetnetbyht.c86 char *p, *bp, *ep; local
103 bp = ned->netbuf;
105 ne->n_name = bp;
111 if (ep - bp < len) {
115 strlcpy(bp, p, ep - bp);
116 bp += len;
138 if (ep - bp < len)
140 strlcpy(bp, cp, ep - bp);
[all...]
H A Dgetnetbynis.c55 char *p, *bp, *ep; local
88 bp = ned->netbuf;
91 if (ep - bp < len) {
95 strlcpy(bp, result, ep - bp);
96 ne->n_name = bp;
97 bp += len;
120 if (ep - bp < len)
122 strlcpy(bp, cp, ep - bp);
[all...]
/freebsd-9.3-release/sbin/fsck_ffs/
H A Dea.c61 struct bufarea *bp;
76 bp = getdatablk(dp->di_extb[0], blksiz, BT_EXTATTR);
77 cp = (u_char *)bp->b_un.b_buf;
H A Dfsutil.c161 struct bufarea *bp; local
176 bp = (struct bufarea *)Malloc(sizeof(struct bufarea));
178 if (bp == NULL || bufp == NULL) {
183 bp->b_un.b_buf = bufp;
184 TAILQ_INSERT_HEAD(&bufhead, bp, b_list);
185 initbarea(bp, BT_UNKNOWN);
254 struct bufarea *bp; local
256 TAILQ_FOREACH(bp, &bufhead, b_list)
257 if (bp->b_bno == fsbtodb(&sblock, blkno))
259 TAILQ_FOREACH_REVERSE(bp,
300 getblk(struct bufarea *bp, ufs2_daddr_t blk, long size) argument
326 flush(int fd, struct bufarea *bp) argument
369 struct bufarea *bp, *nbp; local
[all...]
H A Dfsck.h155 #define IBLK(bp, i) \
157 (bp)->b_un.b_indir1[i] : (bp)->b_un.b_indir2[i])
159 #define IBLK_SET(bp, i, val) do { \
161 (bp)->b_un.b_indir1[i] = (val); \
163 (bp)->b_un.b_indir2[i] = (val); \
205 #define dirty(bp) do { \
209 (bp)->b_dirty = 1; \
211 #define initbarea(bp, type) do { \
212 (bp)
[all...]
/freebsd-9.3-release/sys/fs/cd9660/
H A Dcd9660_node.c114 cd9660_defattr(isodir, inop, bp, ftype)
117 struct buf *bp;
138 if (!bp
143 bp = bp2;
145 if (bp) {
146 ap = (struct iso_extended_attributes *)bp->b_data;
179 cd9660_deftstamp(isodir,inop,bp,ftype)
182 struct buf *bp;
190 if (!bp
195 bp
[all...]
/freebsd-9.3-release/sys/ufs/ffs/
H A Dffs_inode.c82 struct buf *bp; local
112 (int) fs->fs_bsize, 0, 0, 0, NOCRED, flags, &bp);
115 brelse(bp);
142 softdep_update_inodeblock(ip, bp, waitfor);
146 *((struct ufs1_dinode *)bp->b_data +
149 *((struct ufs2_dinode *)bp->b_data +
152 error = bwrite(bp);
154 bawrite(bp);
157 if (bp->b_bufsize == fs->fs_bsize)
158 bp
186 struct buf *bp; local
583 struct buf *bp; local
[all...]
/freebsd-9.3-release/usr.bin/ctags/
H A Dfortran.c142 char *bp; local
144 for (len = 0, bp = lbp; *cp && (*cp &~ ' ') == (*bp++ &~ ' ');
/freebsd-9.3-release/crypto/openssl/bugs/
H A Dsgiccbug.c41 register unsigned long t1, t2, *ap, *bp, *rp; local
48 bp = b;
53 t2 = *(bp++);
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_ialloc_btree.c72 xfs_buf_t *bp; /* buffer for block */ local
111 bp = cur->bc_bufs[level];
112 block = XFS_BUF_TO_INOBT_BLOCK(bp);
114 if ((error = xfs_btree_check_sblock(cur, block, level, bp)))
145 xfs_inobt_log_keys(cur, bp, ptr, numrecs - 1);
146 xfs_inobt_log_ptrs(cur, bp, ptr, numrecs - 1);
158 xfs_inobt_log_recs(cur, bp, ptr, numrecs - 1);
174 xfs_inobt_log_block(cur->bc_tp, bp, XFS_BB_NUMRECS);
201 xfs_trans_binval(cur->bc_tp, bp);
382 rbp = bp;
538 xfs_buf_t *bp; /* buffer for block */ local
747 xfs_inobt_log_block( xfs_trans_t *tp, xfs_buf_t *bp, int fields) argument
771 xfs_inobt_log_keys( xfs_btree_cur_t *cur, xfs_buf_t *bp, int kfirst, int klast) argument
793 xfs_inobt_log_ptrs( xfs_btree_cur_t *cur, xfs_buf_t *bp, int pfirst, int plast) argument
815 xfs_inobt_log_recs( xfs_btree_cur_t *cur, xfs_buf_t *bp, int rfirst, int rlast) argument
870 xfs_buf_t *bp; /* buffer pointer for btree block */ local
1192 xfs_buf_t *bp; /* buffer containing block */ local
1635 xfs_buf_t *bp; /* buffer for block */ local
1726 xfs_buf_t *bp; /* buffer containing btree block */ local
1793 xfs_buf_t *bp; /* buffer containing btree block */ local
1836 xfs_buf_t *bp; /* buffer containing btree block */ local
2043 xfs_buf_t *bp; /* buffer containing btree block */ local
[all...]
H A Dxfs_attr.c831 xfs_dabuf_t *bp; local
839 error = xfs_da_read_buf(args->trans, args->dp, args->blkno, -1, &bp,
843 ASSERT(bp != NULL);
849 retval = xfs_attr_leaf_lookup_int(bp, args);
851 xfs_da_brelse(args->trans, bp);
855 xfs_da_brelse(args->trans, bp);
869 retval = xfs_attr_leaf_add(bp, args);
870 xfs_da_buf_done(bp);
966 &bp, XFS_ATTR_FORK);
969 ASSERT(bp !
1028 xfs_dabuf_t *bp; local
1091 xfs_dabuf_t *bp; local
1122 xfs_dabuf_t *bp; local
1425 xfs_dabuf_t *bp; local
1747 xfs_dabuf_t *bp; local
1898 xfs_buf_t *bp; local
1955 xfs_buf_t *bp; local
2085 xfs_buf_t *bp; local
[all...]
H A Dxfs_fsops.c127 xfs_buf_t *bp; local
148 XFS_FSS_TO_BB(mp, 1), 0, &bp);
151 ASSERT(bp);
152 xfs_buf_relse(bp);
189 bp = xfs_buf_get(mp->m_ddev_targp,
192 agf = XFS_BUF_TO_AGF(bp);
214 error = xfs_bwrite(mp, bp);
221 bp = xfs_buf_get(mp->m_ddev_targp,
224 agi = XFS_BUF_TO_AGI(bp);
238 error = xfs_bwrite(mp, bp);
[all...]
H A Dxfs_log_recover.c91 xfs_buf_t *bp)
93 xfs_buf_free(bp);
105 xfs_buf_t *bp)
115 ASSERT(BBTOB(nbblks) <= XFS_BUF_SIZE(bp));
116 ASSERT(bp);
118 XFS_BUF_SET_ADDR(bp, log->l_logBBstart + blk_no);
119 XFS_BUF_READ(bp);
120 XFS_BUF_BUSY(bp);
121 XFS_BUF_SET_COUNT(bp, BBTOB(nbblks));
122 XFS_BUF_SET_TARGET(bp, lo
90 xlog_put_bp( xfs_buf_t *bp) argument
101 xlog_bread( xlog_t *log, xfs_daddr_t blk_no, int nbblks, xfs_buf_t *bp) argument
137 xlog_bwrite( xlog_t *log, xfs_daddr_t blk_no, int nbblks, xfs_buf_t *bp) argument
168 xlog_align( xlog_t *log, xfs_daddr_t blk_no, int nbblks, xfs_buf_t *bp) argument
270 xlog_recover_iodone( struct xfs_buf *bp) argument
299 xlog_find_cycle_start( xlog_t *log, xfs_buf_t *bp, xfs_daddr_t first_blk, xfs_daddr_t *last_blk, uint cycle) argument
352 xfs_buf_t *bp; local
413 xfs_buf_t *bp; local
521 xfs_buf_t *bp; local
791 xfs_buf_t *bp; local
988 xfs_buf_t *bp; local
1113 xfs_buf_t *bp; local
1786 xlog_recover_do_inode_buffer( xfs_mount_t *mp, xlog_recover_item_t *item, xfs_buf_t *bp, xfs_buf_log_format_t *buf_f) argument
1906 xlog_recover_do_reg_buffer( xfs_mount_t *mp, xlog_recover_item_t *item, xfs_buf_t *bp, xfs_buf_log_format_t *buf_f) argument
2101 xlog_recover_do_dquot_buffer( xfs_mount_t *mp, xlog_t *log, xlog_recover_item_t *item, xfs_buf_t *bp, xfs_buf_log_format_t *buf_f) argument
2165 xfs_buf_t *bp; local
2284 xfs_buf_t *bp; local
2587 xfs_buf_t *bp; local
3826 xfs_buf_t *bp; local
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/rcp/
H A Drcp.c162 char *bp, *host, *src, *suser, *thost, *tuser; local
196 ret = asprintf(&bp,
203 ret = asprintf(&bp,
212 susystem(bp, userid);
213 free(bp);
216 if (asprintf(&bp, "%s -t %s", cmd, targ) == -1)
220 if (do_cmd(host, tuser, bp, &remin, &remout) < 0)
225 free(bp);
238 char *bp, *host, *src, *suser; local
244 ret = asprintf(&bp, "exe
290 BUF *bp; local
432 BUF *bp; local
[all...]
/freebsd-9.3-release/contrib/libreadline/
H A Dhistfile.c309 char *buffer, *filename, *bp, *bp1; /* bp1 == bp+1 */ local
372 LINES lines. bp1 is set funny initially. But since bp[1] can't
373 be a comment character (since it's off the end) and *bp can't be
375 for (bp1 = bp = buffer + chars_read - 1; lines && bp > buffer; bp--)
377 if (*bp == '\n' && HIST_TIMESTAMP_START(bp1) == 0)
379 bp1 = bp;
387 for ( ; bp > buffe
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/pem/
H A Dpem_all.c172 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, argument
176 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u);
193 int PEM_write_bio_RSAPrivateKey(BIO *bp, RSA *x, const EVP_CIPHER *enc, argument
204 ret = PEM_write_bio_PrivateKey(bp, k, enc, kstr, klen, cb, u);
255 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, argument
259 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u);
265 int PEM_write_bio_DSAPrivateKey(BIO *bp, DSA *x, const EVP_CIPHER *enc, argument
276 ret = PEM_write_bio_PrivateKey(bp, k, enc, kstr, klen, cb, u);
333 EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, argument
337 pktmp = PEM_read_bio_PrivateKey(bp, NUL
424 PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u) argument
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddsl_scan.c383 static void dsl_scan_visitbp(blkptr_t *bp,
392 dsl_free(dsl_pool_t *dp, uint64_t txg, const blkptr_t *bp) argument
394 zio_free(dp->dp_spa, txg, bp);
476 dsl_scan_zil_block(zilog_t *zilog, blkptr_t *bp, void *arg, uint64_t claim_txg) argument
484 if (BP_IS_HOLE(bp) || bp->blk_birth <= scn->scn_phys.scn_cur_min_txg)
493 if (claim_txg == 0 && bp->blk_birth >= spa_first_txg(dp->dp_spa))
497 ZB_ZIL_OBJECT, ZB_ZIL_LEVEL, bp->blk_cksum.zc_word[ZIL_ZC_SEQ]);
499 VERIFY(0 == scan_funcs[scn->scn_phys.scn_func](dp, bp, &zb));
513 blkptr_t *bp local
561 dsl_scan_prefetch(dsl_scan_t *scn, arc_buf_t *buf, blkptr_t *bp, uint64_t objset, uint64_t object, uint64_t blkid) argument
621 dsl_scan_recurse(dsl_scan_t *scn, dsl_dataset_t *ds, dmu_objset_type_t ostype, dnode_phys_t *dnp, const blkptr_t *bp, const zbookmark_t *zb, dmu_tx_t *tx, arc_buf_t **bufp) argument
752 dsl_scan_visitbp(blkptr_t *bp, const zbookmark_t *zb, dnode_phys_t *dnp, arc_buf_t *pbuf, dsl_dataset_t *ds, dsl_scan_t *scn, dmu_objset_type_t ostype, dmu_tx_t *tx) argument
813 dsl_scan_visit_rootbp(dsl_scan_t *scn, dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx) argument
1242 blkptr_t bp; local
1362 dsl_scan_free_block_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) argument
1589 count_block(zfs_all_blkstats_t *zab, const blkptr_t *bp) argument
1655 dsl_scan_scrub_cb(dsl_pool_t *dp, const blkptr_t *bp, const zbookmark_t *zb) argument
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-domain.c150 ns_nprint(register const u_char *cp, register const u_char *bp) argument
157 int data_size = snapend - bp;
178 cp = bp + (((i << 8) | *cp) & 0x3fff);
322 ns_qprint(register const u_char *cp, register const u_char *bp, int is_mdns) argument
353 cp = ns_nprint(np, bp);
359 ns_rprint(register const u_char *cp, register const u_char *bp, int is_mdns) argument
367 if ((cp = ns_nprint(cp, bp)) == NULL)
432 if (ns_nprint(cp, bp) == NULL)
440 if ((cp = ns_nprint(cp, bp)) == NULL)
443 if ((cp = ns_nprint(cp, bp))
581 ns_print(register const u_char *bp, u_int length, int is_mdns) argument
[all...]
H A Dprint-atalk.c96 llap_print(register const u_char *bp, u_int length) argument
108 lp = (const struct LAP *)bp;
109 bp += sizeof(*lp);
119 sdp = (const struct atShortDDP *)bp;
124 bp += ddpSSize;
127 ddp_print(bp, length, sdp->type, 0, lp->src, sdp->srcSkt);
135 dp = (const struct atDDP *)bp;
142 bp += ddpSize;
145 ddp_print(bp, length, dp->type, snet, dp->srcNode, dp->srcSkt);
150 klap_print(bp, lengt
168 atalk_print(register const u_char *bp, u_int length) argument
194 aarp_print(register const u_char *bp, u_int length) argument
231 ddp_print(register const u_char *bp, register u_int length, register int t, register u_short snet, register u_char snode, u_char skt) argument
[all...]
/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_bang.c72 if ((exp->lastbcomm = strdup(ap->bp)) == NULL) {
89 vs_update(sp, "!", ap->bp);
91 (void)ex_printf(sp, "!%s\n", ap->bp);
116 cmdp, ap->bp, msg, !F_ISSET(sp, SC_EX | SC_SCR_EXWROTE));
155 &cmdp->addr1, &cmdp->addr2, &rm, ap->bp, ftype);
/freebsd-9.3-release/sys/dev/flash/
H A Dat45d.c88 static void at45d_strategy(struct bio *bp);
287 at45d_strategy(struct bio *bp) argument
291 sc = (struct at45d_softc *)bp->bio_disk->d_drv1;
293 bioq_disksort(&sc->bio_queue, bp);
303 struct bio *bp; local
323 bp = bioq_takefirst(&sc->bio_queue);
324 if (bp == NULL)
326 } while (bp == NULL);
330 buf = bp->bio_data;
331 len = resid = bp
[all...]
H A Dmx25l.c95 static void mx25l_strategy(struct bio *bp);
425 mx25l_strategy(struct bio *bp) argument
429 sc = (struct mx25l_softc *)bp->bio_disk->d_drv1;
431 bioq_disksort(&sc->sc_bio_queue, bp);
440 struct bio *bp; local
447 bp = bioq_first(&sc->sc_bio_queue);
448 if (bp == NULL)
450 } while (bp == NULL);
451 bioq_remove(&sc->sc_bio_queue, bp);
454 switch (bp
[all...]
/freebsd-9.3-release/sys/kern/
H A Dkern_shutdown.c284 isbufbusy(struct buf *bp) argument
286 if (((bp->b_flags & (B_INVAL | B_PERSISTENT)) == 0 &&
287 BUF_ISLOCKED(bp)) ||
288 ((bp->b_flags & (B_DELWRI | B_INVAL)) == B_DELWRI))
332 register struct buf *bp; local
350 for (bp = &buf[nbuf]; --bp >= buf; )
351 if (isbufbusy(bp))
399 for (bp = &buf[nbuf]; --bp >
[all...]
/freebsd-9.3-release/sys/mips/cavium/
H A Docteon_ebt3000_cf.c216 static void cf_start (struct bio *bp) argument
225 if(bp->bio_cmd & BIO_GETATTR) {
226 if (g_handleattr_int(bp, "GEOM::fwsectors", drive_param.sec_track))
228 if (g_handleattr_int(bp, "GEOM::fwheads", drive_param.heads))
230 g_io_deliver(bp, ENOIOCTL);
234 if ((bp->bio_cmd & (BIO_READ | BIO_WRITE))) {
236 if (bp->bio_cmd & BIO_READ) {
237 error = cf_cmd_read(bp->bio_length / drive_param.sector_size,
238 bp->bio_offset / drive_param.sector_size, bp
[all...]
/freebsd-9.3-release/sys/geom/stripe/
H A Dg_stripe.c280 g_stripe_done(struct bio *bp) argument
285 pbp = bp->bio_parent;
288 pbp->bio_error = bp->bio_error;
289 pbp->bio_completed += bp->bio_completed;
290 if (bp->bio_cmd == BIO_READ && bp->bio_caller1 != NULL) {
291 g_stripe_copy(sc, bp->bio_data, bp->bio_caller1, bp->bio_offset,
292 bp
306 g_stripe_start_fast(struct bio *bp, u_int no, off_t offset, off_t length) argument
434 g_stripe_start_economic(struct bio *bp, u_int no, off_t offset, off_t length) argument
521 g_stripe_flush(struct g_stripe_softc *sc, struct bio *bp) argument
557 g_stripe_start(struct bio *bp) argument
[all...]

Completed in 215 milliseconds

<<11121314151617181920>>