Searched refs:bp (Results 101 - 125 of 885) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/powerpc/ps3/
H A Dps3disk.c131 static void ps3disk_strategy(struct bio *bp);
327 struct bio *bp; local
335 bp = bioq_takefirst(&sc->sc_deferredq);
338 if (bp == NULL)
341 if (bp->bio_driver1 != NULL) {
343 bp->bio_driver1);
345 bp->bio_driver1);
348 ps3disk_strategy(bp);
355 ps3disk_strategy(struct bio *bp) argument
357 struct ps3disk_softc *sc = (struct ps3disk_softc *)bp
418 struct bio *bp; local
591 struct bio *bp = (struct bio *)(arg); local
[all...]
/freebsd-9.3-release/lib/libgssapi/
H A Dgss_oid_to_str.c52 char *bp; local
93 if ((bp = (char *) malloc(string_length))) {
94 strcpy(bp, "{ ");
97 strcat(bp, numstr);
99 strcat(bp, numstr);
106 strcat(bp, numstr);
110 strcat(bp, "}");
111 oid_str->length = strlen(bp)+1;
112 oid_str->value = (void *) bp;
/freebsd-9.3-release/contrib/mtree/
H A Dgetid.c244 char *cp, *bp, *ep; local
248 bp = grline;
250 _gr_group.gr_name = strsep(&bp, ":\n");
253 _gr_group.gr_passwd = strsep(&bp, ":\n");
254 if (!(cp = strsep(&bp, ":\n")))
263 if (bp == NULL)
265 for (_gr_group.gr_mem = m = members;; bp++) {
268 if (*bp == ',') {
270 *bp = '\0';
274 } else if (*bp
384 char *cp, *bp, *ep; local
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-ah.c44 ah_print(register const u_char *bp) argument
51 ah = (const struct ah *)bp;
63 if (bp + sizeof(struct ah) + sumlen > ep)
H A Dprint-frag6.c44 frag6_print(register const u_char *bp, register const u_char *bp2) argument
49 dp = (const struct ip6_frag *)bp;
59 (long)(bp - bp2) - sizeof(struct ip6_frag));
64 (long)(bp - bp2) - sizeof(struct ip6_frag));
/freebsd-9.3-release/crypto/heimdal/appl/rcp/
H A Dutil.c134 allocbuf(bp, fd, blksize)
135 BUF *bp;
149 if (bp->cnt >= size)
150 return (bp);
151 if ((p = realloc(bp->buf, size)) == NULL) {
152 if (bp->buf)
153 free(bp->buf);
154 bp->buf = NULL;
155 bp->cnt = 0;
160 bp
[all...]
/freebsd-9.3-release/lib/libc/gen/
H A Dcheck_utility_compat.c52 char *p, *bp; local
65 bp = buf;
66 while ((p = strsep(&bp, ",")) != NULL) {
/freebsd-9.3-release/usr.sbin/ppp/
H A Dtcpmss.c144 tcpmss_Check(struct bundle *bundle, struct mbuf *bp) argument
150 return bp;
152 bp = m_pullup(bp);
153 plen = m_length(bp);
154 pip = (struct ip *)MBUF_CTOP(bp);
164 MSSFixup((struct tcphdr *)(MBUF_CTOP(bp) + hlen), plen - hlen,
167 return bp;
172 struct mbuf *bp, int pri __unused, u_short *proto __unused)
174 return tcpmss_Check(bundle, bp);
171 tcpmss_LayerPush(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, int pri __unused, u_short *proto __unused) argument
178 tcpmss_LayerPull(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, u_short *proto __unused) argument
[all...]
H A Dpap.c87 struct mbuf *bp; local
101 bp = m_get(plen + sizeof(struct fsmheader), MB_PAPOUT);
102 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader));
103 cp = MBUF_CTOP(bp) + sizeof(struct fsmheader);
109 link_PushPacket(&authp->physical->link, bp, bundle,
117 struct mbuf *bp; local
126 bp = m_get(plen + sizeof(struct fsmheader), MB_PAPOUT);
127 memcpy(MBUF_CTOP(bp), &lh, sizeof(struct fsmheader));
128 cp = MBUF_CTOP(bp) + sizeof(struct fsmheader);
138 link_PushPacket(&authp->physical->link, bp, auth
180 pap_Input(struct bundle *bundle, struct link *l, struct mbuf *bp) argument
[all...]
H A Dlink.c182 struct mbuf *bp; local
184 for (bp = NULL, pri = LINK_QUEUES(l) - 1; pri >= 0; pri--)
186 bp = m_dequeue(l->Queue + pri);
193 return bp;
248 link_PushPacket(struct link *l, struct mbuf *bp, struct bundle *b, int pri, argument
263 bp->priv = 0; /* Adjusted by the async layer ! */
264 for (layer = l->nlayers; layer && bp; layer--)
266 bp = (*l->layer[layer - 1]->push)(b, l, bp, pri, &proto);
268 if (bp) {
278 struct mbuf *bp, *lbp[LAYER_MAX], *next; local
373 Despatch(struct bundle *bundle, struct link *l, struct mbuf *bp, u_short proto) argument
[all...]
/freebsd-9.3-release/contrib/nvi/common/
H A Ddelete.c42 char *bp, *p; local
45 bp = NULL;
83 GET_SPACE_RET(sp, bp, blen, fm->cno);
84 memcpy(bp, p, fm->cno);
85 if (db_set(sp, fm->lno, bp, fm->cno))
95 GET_SPACE_RET(sp, bp, blen, len);
97 memcpy(bp, p, fm->cno);
98 memcpy(bp + fm->cno, p + (tm->cno + 1), len - (tm->cno + 1));
100 bp, len - ((tm->cno - fm->cno) + 1)))
113 GET_SPACE_RET(sp, bp, ble
[all...]
/freebsd-9.3-release/sys/geom/journal/
H A Dg_journal.c645 g_journal_metadata_done(struct bio *bp) argument
651 if (bp->bio_error != 0) {
652 GJ_LOGREQ(0, bp, "Cannot update metadata (error=%d).",
653 bp->bio_error);
655 GJ_LOGREQ(2, bp, "Metadata updated.");
657 gj_free(bp->bio_data, bp->bio_length);
658 g_destroy_bio(bp);
666 struct bio *bp; local
698 bp
723 g_journal_start(struct bio *bp) argument
754 g_journal_std_done(struct bio *bp) argument
769 struct bio *bp; local
1087 g_journal_read_first(struct g_journal_softc *sc, struct bio *bp) argument
1111 struct bio *bioq, *bp, *lbp; local
1162 g_journal_copy_read_done(struct bio *bp) argument
1198 g_journal_copy_write_done(struct bio *bp) argument
1238 struct bio *bp, *fbp, *pbp; local
1348 g_journal_flush_done(struct bio *bp) argument
1375 struct bio *bioq, *bp, *lbp; local
1407 g_journal_add_current(struct g_journal_softc *sc, struct bio *bp) argument
1433 struct bio *bp; local
1452 g_journal_add_request(struct g_journal_softc *sc, struct bio *bp) argument
1481 struct bio *bp; local
1526 struct bio *bp; local
1570 struct bio *bp, *nbp, *head; local
1670 g_journal_read_done(struct bio *bp) argument
1773 g_journal_sync_read(struct g_consumer *cp, struct bio *bp, off_t offset, void *data) argument
1809 struct bio *bp, *fbp, *tbp; local
2060 struct bio *bp; local
2726 struct bio *bp; local
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Duglydate.c19 char *bp; local
27 LIB_GETBUF(bp);
45 snprintf(bp, LIB_BUFLENGTH,
50 return bp;
/freebsd-9.3-release/crypto/openssl/crypto/pem/
H A Dpem_pk8.c69 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder,
72 static int do_pk8pkey_fp(FILE *bp, EVP_PKEY *x, int isder,
83 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, argument
87 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u);
90 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, argument
94 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u);
97 int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, argument
101 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u);
104 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, argument
108 return do_pk8pkey(bp,
111 do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u) argument
159 d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument
228 BIO *bp; local
242 BIO *bp; local
[all...]
/freebsd-9.3-release/sys/dev/nvme/
H A Dnvme_ns.c56 static struct bio ** nvme_construct_child_bios(struct bio *bp,
60 struct bio *bp,
119 struct bio *bp = arg; local
126 bp->bio_error = EIO;
127 bp->bio_flags |= BIO_ERROR;
128 bp->bio_resid = bp->bio_bcount;
130 bp->bio_resid = 0;
132 biodone(bp);
136 nvme_ns_strategy(struct bio *bp) argument
216 struct bio *bp = arg; local
331 nvme_construct_child_bios(struct bio *bp, uint32_t alignment, int *num_bios) argument
394 nvme_ns_split_bio(struct nvme_namespace *ns, struct bio *bp, uint32_t alignment) argument
419 nvme_ns_bio_process(struct nvme_namespace *ns, struct bio *bp, nvme_cb_fn_t cb_fn) argument
[all...]
/freebsd-9.3-release/sys/geom/mountver/
H A Dg_mountver.h49 #define G_MOUNTVER_LOGREQ(bp, ...) do { \
54 g_print_bio(bp); \
/freebsd-9.3-release/crypto/openssl/crypto/x509/
H A Dx_all.c138 X509 *d2i_X509_bio(BIO *bp, X509 **x509) argument
140 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509), bp, x509);
143 int i2d_X509_bio(BIO *bp, X509 *x509) argument
145 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509), bp, x509);
160 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) argument
162 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl);
165 int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl) argument
167 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl);
182 PKCS7 *d2i_PKCS7_bio(BIO *bp, PKCS7 **p7) argument
184 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS7), bp, p
187 i2d_PKCS7_bio(BIO *bp, PKCS7 *p7) argument
204 d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) argument
209 i2d_X509_REQ_bio(BIO *bp, X509_REQ *req) argument
250 d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa) argument
255 i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa) argument
260 d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa) argument
265 d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa) argument
270 i2d_RSAPublicKey_bio(BIO *bp, RSA *rsa) argument
275 i2d_RSA_PUBKEY_bio(BIO *bp, RSA *rsa) argument
304 d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa) argument
309 i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa) argument
314 d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa) argument
319 i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa) argument
348 d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey) argument
353 i2d_EC_PUBKEY_bio(BIO *bp, EC_KEY *ecdsa) argument
358 d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey) argument
363 i2d_ECPrivateKey_bio(BIO *bp, EC_KEY *eckey) argument
427 d2i_PKCS8_bio(BIO *bp, X509_SIG **p8) argument
432 i2d_PKCS8_bio(BIO *bp, X509_SIG *p8) argument
485 d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO **p8inf) argument
492 i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO *p8inf) argument
498 i2d_PKCS8PrivateKeyInfo_bio(BIO *bp, EVP_PKEY *key) argument
510 i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey) argument
515 d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a) argument
520 i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey) argument
525 d2i_PUBKEY_bio(BIO *bp, EVP_PKEY **a) argument
[all...]
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_dir2_trace.h46 struct xfs_dabuf *bp);
53 xfs_dir2_db_t db, struct xfs_dabuf *bp);
57 struct xfs_dabuf *bp);
62 #define xfs_dir2_trace_args_b(where, args, bp)
65 #define xfs_dir2_trace_args_db(where, args, db, bp)
68 #define xfs_dir2_trace_args_sb(where, args, s, bp)
/freebsd-9.3-release/crypto/openssl/crypto/x509v3/
H A Dv3_ocsp.c91 static int i2r_ocsp_serviceloc(X509V3_EXT_METHOD *method, void *in, BIO *bp,
160 static int i2r_ocsp_crlid(X509V3_EXT_METHOD *method, void *in, BIO *bp, argument
165 if (BIO_printf(bp, "%*scrlUrl: ", ind, "") <= 0)
167 if (!ASN1_STRING_print(bp, (ASN1_STRING *)a->crlUrl))
169 if (BIO_write(bp, "\n", 1) <= 0)
173 if (BIO_printf(bp, "%*scrlNum: ", ind, "") <= 0)
175 if (i2a_ASN1_INTEGER(bp, a->crlNum) <= 0)
177 if (BIO_write(bp, "\n", 1) <= 0)
181 if (BIO_printf(bp, "%*scrlTime: ", ind, "") <= 0)
183 if (!ASN1_GENERALIZEDTIME_print(bp,
193 i2r_ocsp_acutoff(X509V3_EXT_METHOD *method, void *cutoff, BIO *bp, int ind) argument
203 i2r_object(X509V3_EXT_METHOD *method, void *oid, BIO *bp, int ind) argument
285 i2r_ocsp_serviceloc(X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind) argument
[all...]
/freebsd-9.3-release/contrib/one-true-awk/
H A Dlex.c106 char *bp = buf; local
116 *bp++ = c;
119 if (bp-buf >= sz)
120 if (!adjbuf(&buf, &sz, bp-buf+2, 100, &bp, "gettok"))
123 *bp++ = c;
125 *bp = 0;
130 *bp = 0;
136 if (bp-buf >= sz)
137 if (!adjbuf(&buf, &sz, bp
360 char *s, *bp; local
509 char *bp; local
[all...]
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dt-qic.c56 char *obp, *bp; local
63 bp = str2prt(line_in);
69 fprintf(stderr, "in: %s\n", bp);
70 bp = str2prt(line_back);
71 fprintf(stderr, "out:%s\n", bp);
77 fprintf(stderr, "%s -> ", bp);
78 bp = str2prt(obp);
79 fprintf(stderr, "%s\n", bp);
167 char *bp; local
169 bp
194 char *bp; local
223 char *bp; local
[all...]
/freebsd-9.3-release/sys/geom/
H A Dgeom_vfs.c96 struct buf *bp; local
110 bp = bip->bio_caller2;
111 vp = bp->b_vp;
130 if (bp->b_iocmd == BIO_WRITE) {
131 if (LK_HOLDER(bp->b_lock.lk_lock) == LK_KERNPROC)
136 if (LK_HOLDER(bp->b_lock.lk_lock) == LK_KERNPROC)
148 bp->b_error = bip->bio_error;
149 bp->b_ioflags = bip->bio_flags;
151 bp->b_ioflags |= BIO_ERROR;
152 bp
167 g_vfs_strategy(struct bufobj *bo, struct buf *bp) argument
[all...]
/freebsd-9.3-release/contrib/nvi/ex/
H A Dex_argv.c77 memcpy(exp->args[exp->argsoff]->bp, cmd, cmdlen);
78 exp->args[exp->argsoff]->bp[cmdlen] = '\0';
103 char *bp, *p, *t; local
105 GET_SPACE_RET(sp, bp, blen, 512);
109 if (argv_fexp(sp, excp, cmd, cmdlen, bp, &len, &bp, &blen, is_bang)) {
110 FREE_SPACE(sp, bp, blen);
116 for (p = bp, t = bp + len; p < t; ++p)
124 (void)argv_exp0(sp, excp, bp, le
146 char *bp, *mp, *p; local
327 char *bp, *t; local
624 char *bp, *p, *sh, *sh_path; local
[all...]
H A Dex_join.c42 char *bp, *p, *tbp; local
55 GET_SPACE_RET(sp, bp, blen, 256);
90 * tbp - bp is the length of the new line.
93 ADD_SPACE_RET(sp, bp, blen, tlen);
94 tbp = bp + clen;
156 sp->cno = (tbp - bp) - (1 + extra);
159 sp->cno = (tbp - bp) - len - (1 + extra);
169 if (!first && db_set(sp, from, bp, tbp - bp)) {
170 err: FREE_SPACE(sp, bp, ble
[all...]
/freebsd-9.3-release/sys/geom/cache/
H A Dg_cache.h52 #define G_CACHE_LOGREQ(bp, ...) do { \
57 g_print_bio(bp); \
106 #define G_CACHE_NEXT_BIO1(bp) (bp)->bio_driver1
107 #define G_CACHE_NEXT_BIO2(bp) (bp)->bio_driver2
108 #define G_CACHE_DESC1(bp) (bp)->bio_caller1
109 #define G_CACHE_DESC2(bp) (bp)
[all...]

Completed in 135 milliseconds

1234567891011>>