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

<<11121314151617181920>>

/freebsd-11.0-release/sys/dev/aac/
H A Daac_disk.c142 aac_disk_strategy(struct bio *bp) argument
146 sc = (struct aac_disk *)bp->bio_disk->d_drv1;
151 bp->bio_flags |= BIO_ERROR;
152 bp->bio_error = EINVAL;
153 biodone(bp);
158 if (bp->bio_bcount == 0) {
159 bp->bio_resid = bp->bio_bcount;
160 biodone(bp);
168 aac_submit_bio(bp);
331 aac_biodone(struct bio *bp) argument
[all...]
/freebsd-11.0-release/usr.bin/mkuzip/
H A Dmkuz_conveyor.c96 compute_digest(struct mkuz_blk *bp) argument
101 MD5Update(&mcontext, bp->data, bp->info.len);
102 MD5Final(bp->info.digest, &mcontext);
/freebsd-11.0-release/usr.bin/tee/
H A Dtee.c69 char *bp; local
106 bp = buf;
108 if ((wval = write(p->fd, bp, n)) == -1) {
113 bp += wval;
/freebsd-11.0-release/bin/rcp/
H A Drcp.c212 char *bp, *host, *src, *suser, *thost, *tuser; local
247 if (asprintf(&bp,
254 if (asprintf(&bp,
260 (void)susystem(bp, userid);
261 (void)free(bp);
264 if (asprintf(&bp, "%s -t %s", cmd, targ)
271 bp, 0, family);
282 (void)free(bp);
294 char *bp, *host, *src, *suser; local
300 if (!(bp
356 BUF *bp; local
496 BUF *bp; local
[all...]
/freebsd-11.0-release/sys/geom/mountver/
H A Dg_mountver.c60 static void g_mountver_queue(struct bio *bp);
85 g_mountver_done(struct bio *bp) argument
90 if (bp->bio_error != ENXIO) {
91 g_std_done(bp);
101 gp = bp->bio_from->geom;
103 pbp = bp->bio_parent;
106 g_destroy_bio(bp);
112 g_mountver_send(struct bio *bp) argument
117 gp = bp->bio_to->geom;
119 cbp = g_clone_bio(bp);
130 g_mountver_queue(struct bio *bp) argument
147 struct bio *bp; local
164 struct bio *bp; local
178 g_mountver_start(struct bio *bp) argument
[all...]
/freebsd-11.0-release/lib/libc/net/
H A Dgethostbynis.c55 char *p, *bp, *ep; local
126 bp = hed->hostbuf;
128 he->h_name = bp;
134 if (ep - bp < size) {
138 strlcpy(bp, cp, ep - bp);
139 bp += size;
152 if (ep - bp < size)
154 strlcpy(bp, cp, ep - bp);
[all...]
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-11.0-release/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace_libcdep.cc48 void BufferedStackTrace::Unwind(u32 max_depth, uptr pc, uptr bp, void *context, argument
51 top_frame_bp = (max_depth > 0) ? bp : 0;
72 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth);
H A Dsanitizer_stacktrace.h92 uptr top_frame_bp; // Optional bp of a top frame.
97 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
101 void FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom,
118 uptr bp = GET_CURRENT_FRAME(); \
124 uptr bp = GET_CURRENT_FRAME(); \
130 uptr bp = GET_CURRENT_FRAME(); \
/freebsd-11.0-release/sys/fs/cd9660/
H A Dcd9660_node.c113 cd9660_defattr(isodir, inop, bp, ftype)
116 struct buf *bp;
137 if (!bp
142 bp = bp2;
144 if (bp) {
145 ap = (struct iso_extended_attributes *)bp->b_data;
178 cd9660_deftstamp(isodir,inop,bp,ftype)
181 struct buf *bp;
189 if (!bp
194 bp
[all...]
/freebsd-11.0-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.c181 struct bufarea *bp; local
196 bp = (struct bufarea *)Malloc(sizeof(struct bufarea));
198 if (bp == NULL || bufp == NULL) {
203 bp->b_un.b_buf = bufp;
204 TAILQ_INSERT_HEAD(&bufhead, bp, b_list);
205 initbarea(bp, BT_UNKNOWN);
274 struct bufarea *bp; local
276 TAILQ_FOREACH(bp, &bufhead, b_list)
277 if (bp->b_bno == fsbtodb(&sblock, blkno))
279 TAILQ_FOREACH_REVERSE(bp,
320 getblk(struct bufarea *bp, ufs2_daddr_t blk, long size) argument
346 flush(int fd, struct bufarea *bp) argument
388 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-11.0-release/sys/cam/
H A Dcam_iosched.h50 void cam_iosched_queue_work(struct cam_iosched_softc *isc, struct bio *bp);
55 void cam_iosched_put_back_trim(struct cam_iosched_softc *isc, struct bio *bp);
61 int cam_iosched_bio_complete(struct cam_iosched_softc *isc, struct bio *bp, union ccb *done_ccb);
/freebsd-11.0-release/crypto/openssl/crypto/bn/asm/
H A Ds390x-mont.pl68 $bp="%r4"; # const BN_ULONG *bp,
92 la $bp,0($num,$bp)
119 la $bp,0($j,$bp) # restore $bp
124 lg $bi,0($bp)
128 mlgr $ahi,$bi # ap[0]*bp[0]
148 mlgr $ahi,$bi # ap[j]*bp[
[all...]
/freebsd-11.0-release/usr.bin/ctags/
H A Dfortran.c142 char *bp; local
144 for (len = 0, bp = lbp; *cp && (*cp &~ ' ') == (*bp++ &~ ' ');
/freebsd-11.0-release/crypto/heimdal/appl/rcp/
H A Drcp.c154 char *bp, *host, *src, *suser, *thost, *tuser; local
190 ret = asprintf(&bp,
198 ret = asprintf(&bp,
207 susystem(bp);
208 free(bp);
211 if (asprintf(&bp, "%s -t %s", cmd, targ) == -1)
215 if (do_cmd(host, tuser, bp, &remin, &remout) < 0)
220 free(bp);
231 char *bp, *host, *src, *suser; local
237 ret = asprintf(&bp, "exe
281 BUF *bp; local
419 BUF *bp; local
[all...]
/freebsd-11.0-release/crypto/openssl/crypto/rsa/
H A Drsa_ameth.c186 static int do_rsa_print(BIO *bp, const RSA *x, int off, int priv) argument
215 if (!BIO_indent(bp, off, 128))
219 if (BIO_printf(bp, "Private-Key: (%d bit)\n", mod_len)
225 if (BIO_printf(bp, "Public-Key: (%d bit)\n", mod_len)
231 if (!ASN1_bn_print(bp, str, x->n, m, off))
233 if (!ASN1_bn_print(bp, s, x->e, m, off))
236 if (!ASN1_bn_print(bp, "privateExponent:", x->d, m, off))
238 if (!ASN1_bn_print(bp, "prime1:", x->p, m, off))
240 if (!ASN1_bn_print(bp, "prime2:", x->q, m, off))
242 if (!ASN1_bn_print(bp, "exponent
256 rsa_pub_print(BIO *bp, const EVP_PKEY *pkey, int indent, ASN1_PCTX *ctx) argument
262 rsa_priv_print(BIO *bp, const EVP_PKEY *pkey, int indent, ASN1_PCTX *ctx) argument
308 rsa_pss_param_print(BIO *bp, RSA_PSS_PARAMS *pss, X509_ALGOR *maskHash, int indent) argument
381 rsa_sig_print(BIO *bp, const X509_ALGOR *sigalg, const ASN1_STRING *sig, int indent, ASN1_PCTX *pctx) argument
[all...]
/freebsd-11.0-release/crypto/openssl/crypto/pem/
H A Dpem_all.c171 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, argument
175 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u);
192 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);
209 PEM_STRING_RSA, bp, x, enc, kstr, klen, cb,
263 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, argument
267 pktmp = PEM_read_bio_PrivateKey(bp, NULL, cb, u);
273 int PEM_write_bio_DSAPrivateKey(BIO *bp, DSA *x, const EVP_CIPHER *enc, argument
285 ret = PEM_write_bio_PrivateKey(bp, k, enc, kstr, klen, cb, u);
290 PEM_STRING_DSA, bp,
350 PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, void *u) argument
[all...]
/freebsd-11.0-release/crypto/openssl/crypto/
H A Dsparcv9cap.c17 int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, argument
20 int bn_mul_mont_vis3(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
22 int bn_mul_mont_fpu(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
24 int bn_mul_mont_int(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
32 const BN_ULONG *bp,
36 const BN_ULONG *bp, const BN_ULONG *np,
39 const BN_ULONG *bp, const BN_ULONG *np,
42 const BN_ULONG *bp, const BN_ULONG *np,
45 const BN_ULONG *bp, const BN_ULONG *np,
53 if ((*worker) (rp, ap, bp, n
[all...]
/freebsd-11.0-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-11.0-release/contrib/tcpdump/
H A Dprint-domain.c149 register const u_char *cp, register const u_char *bp)
156 int data_size = ndo->ndo_snapend - bp;
177 cp = bp + (((i << 8) | *cp) & 0x3fff);
323 register const u_char *cp, register const u_char *bp, int is_mdns)
351 cp = ns_nprint(ndo, np, bp);
358 register const u_char *cp, register const u_char *bp, int is_mdns)
366 if ((cp = ns_nprint(ndo, cp, bp)) == NULL)
431 if (ns_nprint(ndo, cp, bp) == NULL)
439 if ((cp = ns_nprint(ndo, cp, bp)) == NULL)
442 if ((cp = ns_nprint(ndo, cp, bp))
148 ns_nprint(netdissect_options *ndo, register const u_char *cp, register const u_char *bp) argument
322 ns_qprint(netdissect_options *ndo, register const u_char *cp, register const u_char *bp, int is_mdns) argument
357 ns_rprint(netdissect_options *ndo, register const u_char *cp, register const u_char *bp, int is_mdns) argument
580 ns_print(netdissect_options *ndo, register const u_char *bp, u_int length, int is_mdns) argument
[all...]
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddsl_scan.c387 static void dsl_scan_visitbp(blkptr_t *bp, const zbookmark_phys_t *zb,
395 dsl_free(dsl_pool_t *dp, uint64_t txg, const blkptr_t *bp) argument
397 zio_free(dp->dp_spa, txg, bp);
494 dsl_scan_zil_block(zilog_t *zilog, blkptr_t *bp, void *arg, uint64_t claim_txg) argument
502 if (BP_IS_HOLE(bp) || bp->blk_birth <= scn->scn_phys.scn_cur_min_txg)
511 if (claim_txg == 0 && bp->blk_birth >= spa_first_txg(dp->dp_spa))
515 ZB_ZIL_OBJECT, ZB_ZIL_LEVEL, bp->blk_cksum.zc_word[ZIL_ZC_SEQ]);
517 VERIFY(0 == scan_funcs[scn->scn_phys.scn_func](dp, bp, &zb));
531 blkptr_t *bp local
579 dsl_scan_prefetch(dsl_scan_t *scn, arc_buf_t *buf, blkptr_t *bp, uint64_t objset, uint64_t object, uint64_t blkid) argument
640 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_phys_t *zb, dmu_tx_t *tx) argument
768 dsl_scan_visitbp(blkptr_t *bp, const zbookmark_phys_t *zb, dnode_phys_t *dnp, dsl_dataset_t *ds, dsl_scan_t *scn, dmu_objset_type_t ostype, dmu_tx_t *tx) argument
825 dsl_scan_visit_rootbp(dsl_scan_t *scn, dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx) argument
1304 blkptr_t bp; local
1427 dsl_scan_free_block_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) argument
1726 count_block(zfs_all_blkstats_t *zab, const blkptr_t *bp) argument
1792 dsl_scan_scrub_cb(dsl_pool_t *dp, const blkptr_t *bp, const zbookmark_phys_t *zb) argument
[all...]
/freebsd-11.0-release/sys/dev/flash/
H A Dat45d.c88 static void at45d_strategy(struct bio *bp);
289 at45d_strategy(struct bio *bp) argument
293 sc = (struct at45d_softc *)bp->bio_disk->d_drv1;
295 bioq_disksort(&sc->bio_queue, bp);
305 struct bio *bp; local
325 bp = bioq_takefirst(&sc->bio_queue);
326 if (bp == NULL)
328 } while (bp == NULL);
332 buf = bp->bio_data;
333 len = resid = bp
[all...]

Completed in 574 milliseconds

<<11121314151617181920>>