Searched refs:bp (Results 1 - 25 of 671) sorted by relevance

1234567891011>>

/macosx-10.10.1/libarchive-30/libarchive/libarchive/
H A Darchive_entry_strmode.c44 char *bp = entry->strmode; local
49 strcpy(bp, "?rwxrwxrwx ");
53 case AE_IFREG: bp[0] = '-'; break;
54 case AE_IFBLK: bp[0] = 'b'; break;
55 case AE_IFCHR: bp[0] = 'c'; break;
56 case AE_IFDIR: bp[0] = 'd'; break;
57 case AE_IFLNK: bp[0] = 'l'; break;
58 case AE_IFSOCK: bp[0] = 's'; break;
59 case AE_IFIFO: bp[0] = 'p'; break;
62 bp[
[all...]
/macosx-10.10.1/SmartcardCCID-55008/ccid/ccid/src/openct/
H A Dbuffer.c16 ct_buf_init(ct_buf_t *bp, void *mem, size_t len) argument
18 memset(bp, 0, sizeof(*bp));
19 bp->base = (unsigned char *) mem;
20 bp->size = len;
24 ct_buf_set(ct_buf_t *bp, void *mem, size_t len) argument
26 ct_buf_init(bp, mem, len);
27 bp->tail = len;
31 ct_buf_get(ct_buf_t *bp, void *mem, size_t len) argument
33 if (len > bp
42 ct_buf_put(ct_buf_t *bp, const void *mem, size_t len) argument
55 ct_buf_putc(ct_buf_t *bp, int byte) argument
63 ct_buf_avail(ct_buf_t *bp) argument
69 ct_buf_head(ct_buf_t *bp) argument
[all...]
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dvbuf.c9 /* int VBUF_GET(bp)
10 /* VBUF *bp;
12 /* int VBUF_PUT(bp, ch)
13 /* VBUF *bp;
16 /* int VBUF_SPACE(bp, len)
17 /* VBUF *bp;
20 /* int vbuf_unget(bp, ch)
21 /* VBUF *bp;
24 /* ssize_t vbuf_read(bp, buf, len)
25 /* VBUF *bp;
156 vbuf_unget(VBUF *bp, int ch) argument
170 vbuf_get(VBUF *bp) argument
177 vbuf_put(VBUF *bp, int ch) argument
184 vbuf_read(VBUF *bp, char *buf, ssize_t len) argument
210 vbuf_write(VBUF *bp, const char *buf, ssize_t len) argument
[all...]
H A Dbase64_code.h28 #define base64_encode(bp, cp, ln) \
29 base64_encode_opt((bp), (cp), (ln), BASE64_FLAG_NONE)
30 #define base64_decode(bp, cp, ln) \
31 base64_decode_opt((bp), (cp), (ln), BASE64_FLAG_NONE)
/macosx-10.10.1/ntp-92/libntp/
H A Dmodetoa.c14 char *bp; local
28 LIB_GETBUF(bp);
29 (void)sprintf(bp, "mode#%d", mode);
30 return bp;
H A Dhumandate.c18 char *bp; local
26 LIB_GETBUF(bp);
28 (void) sprintf(bp, "%2d %s %02d:%02d:%02d",
32 return bp;
H A Dmstolfp.c17 register char *bp; local
32 bp = buf;
38 *bp++ = '-';
59 *bp++ = (char)*cp++;
62 *bp++ = '0';
70 *bp++ = '.';
75 *bp++ = '0';
84 *bp++ = (char)*cp++;
89 *bp++ = (char)*cp++;
91 *bp
[all...]
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dprint-pim.c119 static void pimv2_print(register const u_char *bp, register u_int len, u_int cksum);
122 pimv1_join_prune_print(register const u_char *bp, register u_int len) argument
128 if (TTEST2(bp[0], 30) && bp[11] == 1 &&
129 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) {
132 (void)printf(" RPF %s ", ipaddr_string(bp));
133 hold = EXTRACT_16BITS(&bp[6]);
139 ipaddr_string(&bp[26]), bp[2
210 pimv1_print(register const u_char *bp, register u_int len) argument
324 cisco_autorp_print(register const u_char *bp, register u_int len) argument
418 pim_print(register const u_char *bp, register u_int len, u_int cksum) argument
522 pimv2_addr_print(const u_char *bp, enum pimv2_addrtype at, int silent) argument
623 pimv2_print(register const u_char *bp, register u_int len, u_int cksum) argument
[all...]
H A Dprint-carp.c54 carp_print(register const u_char *bp, register u_int len, int ttl) argument
59 TCHECK(bp[0]);
60 version = (bp[0] & 0xf0) >> 4;
61 type = bp[0] & 0x0f;
71 TCHECK(bp[2]);
72 TCHECK(bp[5]);
74 bp[1], bp[5], bp[2], bp[
[all...]
H A Dprint-dvmrp.c76 dvmrp_print(register const u_char *bp, register u_int len) argument
82 if (bp >= ep)
85 TCHECK(bp[1]);
86 type = bp[1];
89 bp += 8;
97 if (print_probe(bp, ep, len) < 0)
105 if (print_report(bp, ep, len) < 0)
116 if (print_neighbors(bp, ep, len) < 0)
130 bp -= 4;
131 TCHECK2(bp[
169 print_report(register const u_char *bp, register const u_char *ep, register u_int len) argument
226 print_probe(register const u_char *bp, register const u_char *ep, register u_int len) argument
259 print_neighbors(register const u_char *bp, register const u_char *ep, register u_int len) argument
290 print_neighbors2(register const u_char *bp, register const u_char *ep, register u_int len) argument
339 print_prune(register const u_char *bp) argument
352 print_graft(register const u_char *bp) argument
362 print_graft_ack(register const u_char *bp) argument
[all...]
H A Dprint-vrrp.c88 vrrp_print(register const u_char *bp, register u_int len, int ttl) argument
93 TCHECK(bp[0]);
94 version = (bp[0] & 0xf0) >> 4;
95 type = bp[0] & 0x0f;
102 TCHECK(bp[2]);
103 printf(", vrid %u, prio %u", bp[1], bp[2]);
104 TCHECK(bp[5]);
105 auth_type = bp[4];
107 printf(", intvl %us, length %u", bp[
[all...]
H A Dprint-otv.c44 otv_print(const u_char *bp, u_int len) argument
55 flags = *bp;
56 bp += 1;
58 overlay_id = EXTRACT_24BITS(bp);
59 bp += 3;
61 instance_id = EXTRACT_24BITS(bp);
62 bp += 4;
77 ether_print(gndo, bp, len - 8, len - 8, NULL, NULL);
H A Dprint-bootp.c66 register const struct bootp *bp; local
70 bp = (const struct bootp *)cp;
71 TCHECK(bp->bp_op);
74 tok2str(bootp_op_values, "unknown (0x%02x)", bp->bp_op));
76 if (bp->bp_htype == 1 && bp->bp_hlen == 6 && bp->bp_op == BOOTPREQUEST) {
77 TCHECK2(bp->bp_chaddr[0], 6);
78 printf(" from %s", etheraddr_string(bp->bp_chaddr));
86 TCHECK(bp
367 rfc1048_print(register const u_char *bp) argument
778 cmu_print(register const u_char *bp) argument
[all...]
H A Dprint-vjc.c85 vjc_print(register const char *bp, u_short proto _U_) argument
89 switch (bp[0] & 0xf0) {
102 if (bp[1] & (0x80 >> i))
105 if (bp[1])
107 printf("C=0x%02x ", bp[2]);
108 printf("sum=0x%04x ", *(u_short *)&bp[3]);
116 printf("(vjc type=0x%02x) ", bp[0] & 0xf0);
/macosx-10.10.1/dtrace-147/libdtrace/
H A Ddt_buf.c48 dt_buf_create(dtrace_hdl_t *dtp, dt_buf_t *bp, const char *name, size_t len) argument
53 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len);
54 bp->dbu_len = len;
56 if (bp->dbu_buf == NULL)
57 bp->dbu_err = dtrace_errno(dtp);
59 bp->dbu_err = 0;
61 bp->dbu_resizes = 0;
62 bp->dbu_name = name;
66 dt_buf_destroy(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
75 dt_buf_reset(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
84 dt_buf_write(dtrace_hdl_t *dtp, dt_buf_t *bp, const void *buf, size_t len, size_t align) argument
138 dt_buf_offset(const dt_buf_t *bp, size_t align) argument
145 dt_buf_len(const dt_buf_t *bp) argument
151 dt_buf_error(const dt_buf_t *bp) argument
157 dt_buf_ptr(const dt_buf_t *bp) argument
163 dt_buf_claim(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/rep/
H A Drep_auto.c17 __rep_bulk_marshal(env, argp, bp, max, lenp)
20 u_int8_t *bp;
28 start = bp;
30 DB_HTONL_COPYOUT(env, bp, argp->len);
31 DB_HTONL_COPYOUT(env, bp, argp->lsn.file);
32 DB_HTONL_COPYOUT(env, bp, argp->lsn.offset);
33 DB_HTONL_COPYOUT(env, bp, argp->bulkdata.size);
35 memcpy(bp, argp->bulkdata.data, argp->bulkdata.size);
36 bp += argp->bulkdata.size;
39 *lenp = (size_t)(bp
[all...]
/macosx-10.10.1/Libc-1044.1.2/db/hash/FreeBSD/
H A Dhash_buf.c107 BUFHEAD *bp; local
115 bp = prev_bp->ovfl;
116 if (!bp || (bp->addr != addr))
117 bp = NULL;
129 bp = PTROF(segp[segment_ndx]);
134 if (!bp) {
135 bp = newbuf(hashp, addr, prev_bp);
136 if (!bp ||
137 __get_page(hashp, bp
158 BUFHEAD *bp; /* The buffer we're going to use */ local
322 BUFHEAD *bp; local
351 __reclaim_buf(HTAB *hashp, BUFHEAD *bp) argument
[all...]
/macosx-10.10.1/lukemftp-14/tnftp/libnetbsd/
H A Dstrptime.c76 const char *bp; local
80 bp = buf;
88 while (isspace(*bp))
89 bp++;
102 if (c != *bp++)
125 if (!(bp = strptime(bp, "%x %X", tm)))
131 if (!(bp = strptime(bp, "%m/%d/%y", tm)))
137 if (!(bp
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/net/classq/
H A Dclassq_blue.c167 struct blue *bp; local
171 bp = zalloc(blue_zone);
172 if (bp == NULL)
175 bzero(bp, blue_size);
176 bp->blue_idle = 1;
177 bp->blue_ifp = ifp;
178 bp->blue_flags = (flags & BLUEF_USERFLAGS);
180 if (bp->blue_flags & BLUEF_ECN) {
181 bp->blue_flags &= ~BLUEF_ECN;
189 bp
204 blue_destroy(struct blue *bp) argument
210 blue_getstats(struct blue *bp, struct blue_stats *sp) argument
223 blue_addq(struct blue *bp, class_queue_t *q, struct mbuf *m, struct pf_mtag *tag) argument
311 blue_getq_flow(struct blue *bp, class_queue_t *q, u_int32_t flow, boolean_t purge) argument
331 blue_getq(struct blue *bp, class_queue_t *q) argument
337 blue_purgeq(struct blue *bp, class_queue_t *q, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
361 blue_drop_early(struct blue *bp) argument
373 blue_updateq(struct blue *bp, cqev_t ev) argument
380 blue_suspendq(struct blue *bp, class_queue_t *q, boolean_t on) argument
[all...]
/macosx-10.10.1/OpenSSL098-52/src/crypto/err/
H A Derr_bio.c66 static int print_bio(const char *str, size_t len, void *bp) argument
68 return BIO_write((BIO *)bp, str, len);
70 void ERR_print_errors(BIO *bp) argument
72 ERR_print_errors_cb(print_bio, bp);
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Dbridgestp.c214 bstp_transmit(struct bstp_state *bs, struct bstp_port *bp) argument
223 if (bp->bp_hello_timer.active == 0) {
225 bstp_hello_timer_expiry(bs, bp);
228 if (bp->bp_txcount > bs->bs_txholdcount)
232 if (bp->bp_protover == BSTP_PROTO_RSTP) {
233 bstp_transmit_bpdu(bs, bp);
234 bp->bp_tc_ack = 0;
236 switch (bp->bp_role) {
238 bstp_transmit_bpdu(bs, bp);
239 bp
252 bstp_transmit_bpdu(struct bstp_state *bs, struct bstp_port *bp) argument
288 bstp_transmit_tcn(struct bstp_state *bs, struct bstp_port *bp) argument
330 bstp_decode_bpdu(struct bstp_port *bp, struct bstp_cbpdu *cpdu, struct bstp_config_unit *cu) argument
403 bstp_send_bpdu(struct bstp_state *bs, struct bstp_port *bp, struct bstp_cbpdu *bpdu) argument
475 bstp_pdu_flags(struct bstp_port *bp) argument
532 bstp_input(struct bstp_port *bp, __unused struct ifnet *ifp, struct mbuf *m) argument
610 bstp_received_stp(struct bstp_state *bs, struct bstp_port *bp, struct mbuf **mp, struct bstp_tbpdu *tpdu) argument
635 bstp_received_rstp(struct bstp_state *bs, struct bstp_port *bp, struct mbuf **mp, struct bstp_tbpdu *tpdu) argument
654 bstp_received_tcn(__unused struct bstp_state *bs, struct bstp_port *bp, __unused struct bstp_tcn_unit *tcn) argument
662 bstp_received_bpdu(struct bstp_state *bs, struct bstp_port *bp, struct bstp_config_unit *cu) argument
755 bstp_pdu_rcvtype(struct bstp_port *bp, struct bstp_config_unit *cu) argument
800 bstp_pdu_bettersame(struct bstp_port *bp, int newinfo) argument
862 struct bstp_port *bp, *rbp = NULL; local
979 bstp_update_state(struct bstp_state *bs, struct bstp_port *bp) argument
1004 bstp_update_roles(struct bstp_state *bs, struct bstp_port *bp) argument
1158 bstp_update_tc(struct bstp_port *bp) argument
1215 bstp_update_info(struct bstp_port *bp) argument
1244 bstp_set_other_tcprop(struct bstp_port *bp) argument
1261 struct bstp_port *bp; local
1272 struct bstp_port *bp; local
1285 bstp_set_port_state(struct bstp_port *bp, int state) argument
1322 bstp_set_port_role(struct bstp_port *bp, int role) argument
1396 bstp_set_port_proto(struct bstp_port *bp, int proto) argument
1427 bstp_set_port_tc(struct bstp_port *bp, int state) argument
1504 bstp_set_timer_tc(struct bstp_port *bp) argument
1526 bstp_set_timer_msgage(struct bstp_port *bp) argument
1538 bstp_rerooted(struct bstp_state *bs, struct bstp_port *bp) argument
1609 struct bstp_port *bp; local
1626 struct bstp_port *bp; local
1672 bstp_set_port_priority(struct bstp_port *bp, int pri) argument
1690 bstp_set_path_cost(struct bstp_port *bp, uint32_t path_cost) argument
1716 bstp_set_edge(struct bstp_port *bp, int set) argument
1730 bstp_set_autoedge(struct bstp_port *bp, int set) argument
1747 bstp_set_ptp(struct bstp_port *bp, int set) argument
1758 bstp_set_autoptp(struct bstp_port *bp, int set) argument
1777 bstp_calc_path_cost(struct bstp_port *bp) argument
1815 struct bstp_port *bp = (struct bstp_port *)arg; local
1829 struct bstp_port *bp = (struct bstp_port *)arg; local
1859 struct bstp_port *bp; local
1881 bstp_ifupdstatus(struct bstp_state *bs, struct bstp_port *bp) argument
1924 bstp_enable_port(struct bstp_state *bs, struct bstp_port *bp) argument
1931 bstp_disable_port(struct bstp_state *bs, struct bstp_port *bp) argument
1941 struct bstp_port *bp; local
2026 bstp_hello_timer_expiry(struct bstp_state *bs, struct bstp_port *bp) argument
2039 bstp_message_age_expiry(struct bstp_state *bs, struct bstp_port *bp) argument
2049 bstp_migrate_delay_expiry(__unused struct bstp_state *bs, struct bstp_port *bp) argument
2055 bstp_edge_delay_expiry(__unused struct bstp_state *bs, struct bstp_port *bp) argument
2098 struct bstp_port *bp; local
2229 struct bstp_port *bp; local
2242 bstp_create(struct bstp_state *bs, struct bstp_port *bp, struct ifnet *ifp) argument
2266 bstp_enable(struct bstp_port *bp) argument
2292 bstp_disable(struct bstp_port *bp) argument
2310 bstp_destroy(struct bstp_port *bp) argument
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/vfs/
H A Dvfs_bio.c115 int bcleanbuf(buf_t bp, boolean_t discard);
116 static int brecover_data(buf_t bp);
120 static void bremfree_locked(buf_t bp);
121 static void buf_reassign(buf_t bp, vnode_t newvp);
122 static errno_t buf_acquire_locked(buf_t bp, int flags, int slpflag, int slptimeo);
126 static buf_t buf_brelse_shadow(buf_t bp);
127 static void buf_free_meta_store(buf_t bp);
129 static buf_t buf_create_shadow_internal(buf_t bp, boolean_t force_copy,
188 #define binsheadfree(bp, dp, whichq) do { \
189 TAILQ_INSERT_HEAD(dp, bp, b_freelis
229 blistenterhead(struct bufhashhdr * head, buf_t bp) argument
240 binshash(buf_t bp, struct bufhashhdr *dp) argument
260 bremhash(buf_t bp) argument
276 bmovelaundry(buf_t bp) argument
285 buf_release_credentials(buf_t bp) argument
297 buf_valid(buf_t bp) argument
305 buf_fromcache(buf_t bp) argument
313 buf_markinvalid(buf_t bp) argument
319 buf_markdelayed(buf_t bp) argument
331 buf_markclean(buf_t bp) argument
342 buf_markeintr(buf_t bp) argument
349 buf_markaged(buf_t bp) argument
355 buf_fua(buf_t bp) argument
363 buf_markfua(buf_t bp) argument
370 buf_setcpaddr(buf_t bp, struct cprotect *entry) argument
375 buf_setcpoff(buf_t bp, uint64_t foffset) argument
496 buf_attr(buf_t bp) argument
506 buf_static(buf_t bp) argument
549 buf_error(buf_t bp) argument
555 buf_seterror(buf_t bp, errno_t error) argument
564 buf_setflags(buf_t bp, int32_t flags) argument
570 buf_clearflags(buf_t bp, int32_t flags) argument
576 buf_flags(buf_t bp) argument
582 buf_reset(buf_t bp, int32_t io_flags) argument
591 buf_count(buf_t bp) argument
597 buf_setcount(buf_t bp, uint32_t bcount) argument
603 buf_size(buf_t bp) argument
609 buf_setsize(buf_t bp, uint32_t bufsize) argument
615 buf_resid(buf_t bp) argument
621 buf_setresid(buf_t bp, uint32_t resid) argument
627 buf_dirtyoff(buf_t bp) argument
633 buf_dirtyend(buf_t bp) argument
639 buf_setdirtyoff(buf_t bp, uint32_t dirtyoff) argument
645 buf_setdirtyend(buf_t bp, uint32_t dirtyend) argument
651 buf_dataptr(buf_t bp) argument
657 buf_setdataptr(buf_t bp, uintptr_t data) argument
663 buf_vnode(buf_t bp) argument
669 buf_setvnode(buf_t bp, vnode_t vp) argument
676 buf_callback(buf_t bp) argument
686 buf_setcallback(buf_t bp, void (*callback)(buf_t, void *), void *transaction) argument
699 buf_setupl(buf_t bp, upl_t upl, uint32_t offset) argument
716 buf_clone(buf_t bp, int io_offset, int io_size, void (*iodone)(buf_t, void *), void *arg) argument
755 buf_shadow(buf_t bp) argument
764 buf_create_shadow_priv(buf_t bp, boolean_t force_copy, uintptr_t external_storage, void (*iodone)(buf_t, void *), void *arg) argument
770 buf_create_shadow(buf_t bp, boolean_t force_copy, uintptr_t external_storage, void (*iodone)(buf_t, void *), void *arg) argument
777 buf_create_shadow_internal(buf_t bp, boolean_t force_copy, uintptr_t external_storage, void (*iodone)(buf_t, void *), void *arg, int priv) argument
861 buf_make_private(buf_t bp) argument
920 buf_setfilter(buf_t bp, void (*filter)(buf_t, void *), void *transaction, void (**old_iodone)(buf_t, void *), void **old_transaction) argument
938 buf_blkno(buf_t bp) argument
944 buf_lblkno(buf_t bp) argument
950 buf_setblkno(buf_t bp, daddr64_t blkno) argument
956 buf_setlblkno(buf_t bp, daddr64_t lblkno) argument
962 buf_device(buf_t bp) argument
968 buf_setdevice(buf_t bp, vnode_t vp) argument
979 buf_drvdata(buf_t bp) argument
985 buf_setdrvdata(buf_t bp, void *drvdata) argument
991 buf_fsprivate(buf_t bp) argument
997 buf_setfsprivate(buf_t bp, void *fsprivate) argument
1003 buf_rcred(buf_t bp) argument
1009 buf_wcred(buf_t bp) argument
1015 buf_upl(buf_t bp) argument
1021 buf_uploffset(buf_t bp) argument
1027 buf_proc(buf_t bp) argument
1034 buf_map(buf_t bp, caddr_t *io_addr) argument
1072 buf_unmap(buf_t bp) argument
1110 buf_clear(buf_t bp) argument
1125 buf_strategy_fragmented(vnode_t devvp, buf_t bp, off_t f_offset, size_t contig_bytes) argument
1227 buf_t bp = ((struct vnop_strategy_args *)ap)->a_bp; local
1368 buf_free(buf_t bp) argument
1390 buf_t bp; local
1474 buf_t bp; local
1658 buf_t bp; local
1787 buf_t bp; local
1809 bremfree_locked(buf_t bp) argument
1854 bgetvp_locked(vnode_t vp, buf_t bp) argument
1875 brelvp_locked(buf_t bp) argument
1892 buf_reassign(buf_t bp, vnode_t newvp) argument
1921 bufhdrinit(buf_t bp) argument
1939 buf_t bp; local
2084 buf_t bp; local
2141 buf_t bp; local
2170 buf_t bp; local
2186 buf_t bp; local
2218 buf_bwrite(buf_t bp) argument
2317 bdwrite_internal(buf_t bp, int return_error) argument
2370 buf_bdwrite(buf_t bp) argument
2387 bawrite_internal(buf_t bp, int throttle) argument
2411 buf_bawrite(buf_t bp) argument
2419 buf_free_meta_store(buf_t bp) argument
2437 buf_brelse_shadow(buf_t bp) argument
2542 buf_brelse(buf_t bp) argument
2839 struct buf *bp; local
2855 buf_t bp; local
2888 buf_t bp; local
3196 buf_t bp = NULL; local
3223 buf_redundancy_flags(buf_t bp) argument
3229 buf_set_redundancy_flags(buf_t bp, uint32_t flags) argument
3235 buf_clear_redundancy_flags(buf_t bp, uint32_t flags) argument
3245 buf_t bp; local
3327 allocbuf(buf_t bp, int size) argument
3424 buf_t bp; local
3602 bcleanbuf(buf_t bp, boolean_t discard) argument
3711 buf_t bp; local
3754 buf_drop(buf_t bp) argument
3789 buf_acquire(buf_t bp, int flags, int slpflag, int slptimeo) argument
3803 buf_acquire_locked(buf_t bp, int flags, int slpflag, int slptimeo) argument
3852 buf_biowait(buf_t bp) argument
3894 buf_biodone(buf_t bp) argument
4053 buf_t bp; local
4086 struct buf *bp; local
4120 buf_t bp; local
4176 free_io_buf(buf_t bp) argument
4252 struct buf *bp; local
4323 brecover_data(buf_t bp) argument
4381 buf_t bp; local
4538 buf_t bp, next; local
[all...]
/macosx-10.10.1/Libc-1044.1.2/db/mpool/FreeBSD/
H A Dmpool.c118 BKT *bp; local
132 if ((bp = mpool_bkt(mp)) == NULL)
134 *pgnoaddr = bp->pgno = mp->npages++;
135 bp->flags = MPOOL_PINNED;
137 head = &mp->hqh[HASHKEY(bp->pgno)];
138 TAILQ_INSERT_HEAD(head, bp, hq);
139 TAILQ_INSERT_TAIL(&mp->lqh, bp, q);
140 return (bp->page);
153 BKT *bp; local
168 if ((bp
234 BKT *bp; local
259 BKT *bp; local
280 BKT *bp; local
307 BKT *bp; local
357 mpool_write(MPOOL *mp, BKT *bp) argument
385 BKT *bp; local
409 BKT *bp; local
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dkern_physio.c83 buf_t bp,
121 if (bp == NULL) {
122 bp = buf_alloc((vnode_t)0);
125 orig_bflags = buf_flags(bp);
134 assert(bp->b_lflags & BL_BUSY);
139 bp->b_dev = dev;
140 bp->b_proc = p;
149 buf_setflags(bp, B_PHYS | B_RAW);
164 buf_reset(bp, flags);
167 buf_setblkno(bp, uio_offse
82 physio( void (*f_strategy)(buf_t), buf_t bp, dev_t dev, int flags, u_int (*f_minphys)(buf_t), struct uio *uio, int blocksize) argument
241 minphys(struct buf *bp) argument
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/nfs/
H A Dnfs_bio.c282 nfs_buf_remfree(struct nfsbuf *bp) argument
284 if (bp->nb_free.tqe_next == NFSNOLIST)
286 if (ISSET(bp->nb_flags, NB_DELWRI)) {
288 TAILQ_REMOVE(&nfsbufdelwri, bp, nb_free);
289 } else if (ISSET(bp->nb_flags, NB_META)) {
291 TAILQ_REMOVE(&nfsbuffreemeta, bp, nb_free);
294 TAILQ_REMOVE(&nfsbuffree, bp, nb_free);
296 bp->nb_free.tqe_next = NFSNOLIST;
323 struct nfsbuf * bp = NFSBUFHASH(np, blkno)->lh_first; local
324 for (; bp !
346 struct nfsbuf *bp; local
393 nfs_buf_upl_setup(struct nfsbuf *bp) argument
435 nfs_buf_upl_check(struct nfsbuf *bp) argument
485 nfs_buf_map(struct nfsbuf *bp) argument
513 nfs_buf_normalize_valid_range(nfsnode_t np, struct nfsbuf *bp) argument
539 struct nfsbuf *bp; local
647 struct nfsbuf *bp; local
888 LIST_INSERT_HEAD(NFSBUFHASH(np, blkno), bp, nb_hash); local
984 nfs_buf_release(struct nfsbuf *bp, int freeup) argument
1164 nfs_buf_iowait(struct nfsbuf *bp) argument
1190 nfs_buf_iodone(struct nfsbuf *bp) argument
1224 nfs_buf_write_delayed(struct nfsbuf *bp) argument
1286 nfs_buf_check_write_verifier(nfsnode_t np, struct nfsbuf *bp) argument
1313 nfs_buf_refget(struct nfsbuf *bp) argument
1322 nfs_buf_refrele(struct nfsbuf *bp) argument
1332 nfs_buf_acquire(struct nfsbuf *bp, int flags, int slpflag, int slptimeo) argument
1369 nfs_buf_drop(struct nfsbuf *bp) argument
1432 struct nfsbuf *bp; local
1457 nfs_buf_read(struct nfsbuf *bp) argument
1495 nfs_buf_read_finish(struct nfsbuf *bp) argument
1537 nfs_buf_read_rpc(struct nfsbuf *bp, thread_t thd, kauth_cred_t cred) argument
1650 struct nfsbuf *bp; local
1841 struct nfsbuf *bp; local
1898 struct nfsbuf *bp = NULL; local
2278 nfs_buf_write(struct nfsbuf *bp) argument
2502 nfs_buf_write_finish(struct nfsbuf *bp, thread_t thd, kauth_cred_t cred) argument
2611 nfs_buf_write_dirty_pages(struct nfsbuf *bp, thread_t thd, kauth_cred_t cred) argument
2695 nfs_buf_write_rpc(struct nfsbuf *bp, int iomode, thread_t thd, kauth_cred_t cred) argument
2817 struct nfsbuf *bp; local
3019 struct nfsbuf *bp, *prevlbp, *lbp; local
3255 struct nfsbuf *bp; local
3474 struct nfsbuf *bp; local
3713 struct nfsbuf *bp; local
3855 nfs_buf_readdir(struct nfsbuf *bp, vfs_context_t ctx) argument
[all...]

Completed in 214 milliseconds

1234567891011>>