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

1234567891011>>

/macosx-10.9.5/libarchive-29/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.9.5/SmartcardCCID-55005/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.9.5/postfix-252/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...]
/macosx-10.9.5/ntp-88/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.9.5/tcpdump-56/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-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);
H A Dprint-ip6opts.c74 ip6_sopt_print(const u_char *bp, int len) argument
80 if (bp[i] == IP6OPT_PAD1)
84 optlen = bp[i + 1] + 2;
91 switch (bp[i]) {
107 printf(", ui: 0x%04x ", EXTRACT_16BITS(&bp[i + 2]));
114 printf(", alt-CoA: %s", ip6addr_string(&bp[i+2]));
121 printf(", auth spi: 0x%08x", EXTRACT_32BITS(&bp[i + 2]));
125 printf(", sopt_type %d: trunc)", bp[i]);
128 printf(", sopt_type 0x%02x: len=%d", bp[i], bp[
139 ip6_opt_print(const u_char *bp, int len) argument
292 hbhopt_print(register const u_char *bp) argument
312 dstopt_print(register const u_char *bp) argument
[all...]
/macosx-10.9.5/dtrace-118.1/libdtrace/
H A Ddt_buf.c54 dt_buf_create(dtrace_hdl_t *dtp, dt_buf_t *bp, const char *name, size_t len) argument
59 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len);
60 bp->dbu_len = len;
62 if (bp->dbu_buf == NULL)
63 bp->dbu_err = dtrace_errno(dtp);
65 bp->dbu_err = 0;
67 bp->dbu_resizes = 0;
68 bp->dbu_name = name;
72 dt_buf_destroy(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
81 dt_buf_reset(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
90 dt_buf_write(dtrace_hdl_t *dtp, dt_buf_t *bp, const void *buf, size_t len, size_t align) argument
144 dt_buf_offset(const dt_buf_t *bp, size_t align) argument
151 dt_buf_len(const dt_buf_t *bp) argument
157 dt_buf_error(const dt_buf_t *bp) argument
163 dt_buf_ptr(const dt_buf_t *bp) argument
169 dt_buf_claim(dtrace_hdl_t *dtp, dt_buf_t *bp) argument
[all...]
/macosx-10.9.5/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.9.5/Libc-997.90.3/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.9.5/lukemftp-13.92.1/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.9.5/xnu-2422.115.4/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.9.5/xnu-2422.115.4/bsd/vfs/
H A Dvfs_bio.c120 int bcleanbuf(buf_t bp, boolean_t discard);
121 static int brecover_data(buf_t bp);
125 static void bremfree_locked(buf_t bp);
126 static void buf_reassign(buf_t bp, vnode_t newvp);
127 static errno_t buf_acquire_locked(buf_t bp, int flags, int slpflag, int slptimeo);
131 static buf_t buf_brelse_shadow(buf_t bp);
132 static void buf_free_meta_store(buf_t bp);
134 static buf_t buf_create_shadow_internal(buf_t bp, boolean_t force_copy,
194 #define binsheadfree(bp, dp, whichq) do { \
195 TAILQ_INSERT_HEAD(dp, bp, b_freelis
247 blistenterhead(struct bufhashhdr * head, buf_t bp) argument
258 binshash(buf_t bp, struct bufhashhdr *dp) argument
278 bremhash(buf_t bp) argument
294 bmovelaundry(buf_t bp) argument
303 buf_release_credentials(buf_t bp) argument
315 buf_valid(buf_t bp) argument
323 buf_fromcache(buf_t bp) argument
331 buf_markinvalid(buf_t bp) argument
337 buf_markdelayed(buf_t bp) argument
349 buf_markclean(buf_t bp) argument
360 buf_markeintr(buf_t bp) argument
367 buf_markaged(buf_t bp) argument
373 buf_fua(buf_t bp) argument
381 buf_markfua(buf_t bp) argument
388 buf_setcpaddr(buf_t bp, struct cprotect *entry) argument
393 buf_setcpoff(buf_t bp, uint64_t foffset) argument
490 buf_attr(buf_t bp) argument
500 buf_static(buf_t bp) argument
531 buf_error(buf_t bp) argument
537 buf_seterror(buf_t bp, errno_t error) argument
546 buf_setflags(buf_t bp, int32_t flags) argument
552 buf_clearflags(buf_t bp, int32_t flags) argument
558 buf_flags(buf_t bp) argument
564 buf_reset(buf_t bp, int32_t io_flags) argument
573 buf_count(buf_t bp) argument
579 buf_setcount(buf_t bp, uint32_t bcount) argument
585 buf_size(buf_t bp) argument
591 buf_setsize(buf_t bp, uint32_t bufsize) argument
597 buf_resid(buf_t bp) argument
603 buf_setresid(buf_t bp, uint32_t resid) argument
609 buf_dirtyoff(buf_t bp) argument
615 buf_dirtyend(buf_t bp) argument
621 buf_setdirtyoff(buf_t bp, uint32_t dirtyoff) argument
627 buf_setdirtyend(buf_t bp, uint32_t dirtyend) argument
633 buf_dataptr(buf_t bp) argument
639 buf_setdataptr(buf_t bp, uintptr_t data) argument
645 buf_vnode(buf_t bp) argument
651 buf_setvnode(buf_t bp, vnode_t vp) argument
658 buf_callback(buf_t bp) argument
668 buf_setcallback(buf_t bp, void (*callback)(buf_t, void *), void *transaction) argument
681 buf_setupl(buf_t bp, upl_t upl, uint32_t offset) argument
698 buf_clone(buf_t bp, int io_offset, int io_size, void (*iodone)(buf_t, void *), void *arg) argument
737 buf_shadow(buf_t bp) argument
746 buf_create_shadow_priv(buf_t bp, boolean_t force_copy, uintptr_t external_storage, void (*iodone)(buf_t, void *), void *arg) argument
752 buf_create_shadow(buf_t bp, boolean_t force_copy, uintptr_t external_storage, void (*iodone)(buf_t, void *), void *arg) argument
759 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
843 buf_make_private(buf_t bp) argument
902 buf_setfilter(buf_t bp, void (*filter)(buf_t, void *), void *transaction, void (**old_iodone)(buf_t, void *), void **old_transaction) argument
920 buf_blkno(buf_t bp) argument
926 buf_lblkno(buf_t bp) argument
932 buf_setblkno(buf_t bp, daddr64_t blkno) argument
938 buf_setlblkno(buf_t bp, daddr64_t lblkno) argument
944 buf_device(buf_t bp) argument
950 buf_setdevice(buf_t bp, vnode_t vp) argument
961 buf_drvdata(buf_t bp) argument
967 buf_setdrvdata(buf_t bp, void *drvdata) argument
973 buf_fsprivate(buf_t bp) argument
979 buf_setfsprivate(buf_t bp, void *fsprivate) argument
985 buf_rcred(buf_t bp) argument
991 buf_wcred(buf_t bp) argument
997 buf_upl(buf_t bp) argument
1003 buf_uploffset(buf_t bp) argument
1009 buf_proc(buf_t bp) argument
1016 buf_map(buf_t bp, caddr_t *io_addr) argument
1054 buf_unmap(buf_t bp) argument
1092 buf_clear(buf_t bp) argument
1107 buf_strategy_fragmented(vnode_t devvp, buf_t bp, off_t f_offset, size_t contig_bytes) argument
1209 buf_t bp = ((struct vnop_strategy_args *)ap)->a_bp; local
1349 buf_free(buf_t bp) argument
1371 buf_t bp; local
1455 buf_t bp; local
1639 buf_t bp; local
1768 buf_t bp; local
1790 bremfree_locked(buf_t bp) argument
1838 bgetvp_locked(vnode_t vp, buf_t bp) argument
1859 brelvp_locked(buf_t bp) argument
1876 buf_reassign(buf_t bp, vnode_t newvp) argument
1905 bufhdrinit(buf_t bp) argument
1923 buf_t bp; local
2077 buf_t bp; local
2135 buf_t bp; local
2164 buf_t bp; local
2180 buf_t bp; local
2212 buf_bwrite(buf_t bp) argument
2313 bdwrite_internal(buf_t bp, int return_error) argument
2367 buf_bdwrite(buf_t bp) argument
2384 bawrite_internal(buf_t bp, int throttle) argument
2408 buf_bawrite(buf_t bp) argument
2416 buf_free_meta_store(buf_t bp) argument
2434 buf_brelse_shadow(buf_t bp) argument
2539 buf_brelse(buf_t bp) argument
2836 struct buf *bp; local
2852 buf_t bp; local
2885 buf_t bp; local
3193 buf_t bp = NULL; local
3220 buf_redundancy_flags(buf_t bp) argument
3226 buf_set_redundancy_flags(buf_t bp, uint32_t flags) argument
3232 buf_clear_redundancy_flags(buf_t bp, uint32_t flags) argument
3250 allocbuf(buf_t bp, int size) argument
3346 buf_t bp; local
3524 bcleanbuf(buf_t bp, boolean_t discard) argument
3631 buf_t bp; local
3674 buf_drop(buf_t bp) argument
3709 buf_acquire(buf_t bp, int flags, int slpflag, int slptimeo) argument
3723 buf_acquire_locked(buf_t bp, int flags, int slpflag, int slptimeo) argument
3772 buf_biowait(buf_t bp) argument
3814 buf_biodone(buf_t bp) argument
3977 buf_t bp; local
4010 struct buf *bp; local
4044 buf_t bp; local
4100 free_io_buf(buf_t bp) argument
4173 struct buf *bp; local
4244 brecover_data(buf_t bp) argument
4302 buf_t bp; local
4458 buf_t bp, next; local
[all...]
/macosx-10.9.5/xnu-2422.115.4/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.9.5/Libc-997.90.3/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.9.5/xnu-2422.115.4/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.9.5/BerkeleyDB-21/db/repmgr/
H A Drepmgr_auto.c13 __repmgr_handshake_marshal(env, argp, bp)
16 u_int8_t *bp;
18 DB_HTONS_COPYOUT(env, bp, argp->port);
19 DB_HTONL_COPYOUT(env, bp, argp->priority);
27 __repmgr_handshake_unmarshal(env, argp, bp, max, nextp)
30 u_int8_t *bp;
36 DB_NTOHS_COPYIN(env, argp->port, bp);
37 DB_NTOHL_COPYIN(env, argp->priority, bp);
40 *nextp = bp;
54 __repmgr_ack_marshal(env, argp, bp)
[all...]
/macosx-10.9.5/xnu-2422.115.4/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
2493 nfs_buf_write_finish(struct nfsbuf *bp, thread_t thd, kauth_cred_t cred) argument
2602 nfs_buf_write_dirty_pages(struct nfsbuf *bp, thread_t thd, kauth_cred_t cred) argument
2686 nfs_buf_write_rpc(struct nfsbuf *bp, int iomode, thread_t thd, kauth_cred_t cred) argument
2808 struct nfsbuf *bp; local
3010 struct nfsbuf *bp, *prevlbp, *lbp; local
3246 struct nfsbuf *bp; local
3465 struct nfsbuf *bp; local
3692 struct nfsbuf *bp; local
3830 nfs_buf_readdir(struct nfsbuf *bp, vfs_context_t ctx) argument
[all...]
/macosx-10.9.5/less-23/less/
H A Dch.c86 #define FOR_BUFS_IN_CHAIN(h,bp) \
87 for (bp = thisfile->hashtbl[h].buf_hnext; \
88 bp != END_OF_HCHAIN(h); bp = bp->hnext)
90 #define HASH_RM(bp) \
91 (bp)->hnext->hprev = (bp)->hprev; \
92 (bp)->hprev->hnext = (bp)
132 register struct buf *bp; local
388 register struct buf *bp; local
426 register struct buf *bp; local
513 register struct buf *bp, *firstbp; local
631 register struct buf *bp; local
696 register struct buf *bp; local
736 register struct buf *bp; local
[all...]

Completed in 686 milliseconds

1234567891011>>