/freebsd-12-stable/sys/kern/ |
H A D | subr_bufring.c | 44 struct buf_ring *br; local 48 br = malloc(sizeof(struct buf_ring) + count*sizeof(caddr_t), 50 if (br == NULL) 53 br->br_lock = lock; 55 br->br_prod_size = br->br_cons_size = count; 56 br->br_prod_mask = br->br_cons_mask = count-1; 57 br->br_prod_head = br 64 buf_ring_free(struct buf_ring *br, struct malloc_type *type) argument [all...] |
/freebsd-12-stable/sys/sys/ |
H A D | buf_ring.h | 63 buf_ring_enqueue(struct buf_ring *br, void *buf) argument 74 for (i = br->br_cons_head; i != br->br_prod_head; 75 i = ((i + 1) & br->br_cons_mask)) 76 if(br->br_ring[i] == buf) 78 buf, i, br->br_prod_tail, br->br_cons_tail); 82 prod_head = br->br_prod_head; 83 prod_next = (prod_head + 1) & br->br_prod_mask; 84 cons_tail = br 120 buf_ring_dequeue_mc(struct buf_ring *br) argument 160 buf_ring_dequeue_sc(struct buf_ring *br) argument 237 buf_ring_advance_sc(struct buf_ring *br) argument 272 buf_ring_putback_sc(struct buf_ring *br, void *new) argument 285 buf_ring_peek(struct buf_ring *br) argument 305 buf_ring_peek_clear_sc(struct buf_ring *br) argument 345 buf_ring_full(struct buf_ring *br) argument 352 buf_ring_empty(struct buf_ring *br) argument 359 buf_ring_count(struct buf_ring *br) argument [all...] |
/freebsd-12-stable/sys/contrib/ck/include/ |
H A D | ck_brlock.h | 65 ck_brlock_init(struct ck_brlock *br) argument 68 br->readers = NULL; 69 br->writer = false; 75 ck_brlock_write_lock(struct ck_brlock *br) argument 83 while (ck_pr_fas_uint(&br->writer, true) == true) 88 /* The reader list is protected under the writer br. */ 89 for (cursor = br->readers; cursor != NULL; cursor = cursor->next) { 99 ck_brlock_write_unlock(struct ck_brlock *br) argument 103 ck_pr_store_uint(&br->writer, false); 108 ck_brlock_write_trylock(struct ck_brlock *br, unsigne argument 142 ck_brlock_read_register(struct ck_brlock *br, struct ck_brlock_reader *reader) argument 161 ck_brlock_read_unregister(struct ck_brlock *br, struct ck_brlock_reader *reader) argument 179 ck_brlock_read_lock(struct ck_brlock *br, struct ck_brlock_reader *reader) argument 220 ck_brlock_read_trylock(struct ck_brlock *br, struct ck_brlock_reader *reader, unsigned int factor) argument [all...] |
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/arch/ia64/ |
H A D | return_one.S | 9 br.ret.sptk.few rp
|
/freebsd-12-stable/sys/dev/bhnd/bhndb/ |
H A D | bhndb_private.h | 67 struct bhndb_resources *br); 70 struct bhndb_resources *br, 77 struct bhndb_resources *br, int type, 88 struct bhndb_resources *br, 91 struct bhndb_resources *br, 94 struct bhndb_resources *br, 98 struct bhndb_resources *br, 102 struct bhndb_resources *br, 110 struct bhndb_resources *br, 114 struct bhndb_resources *br, 225 bhndb_dw_all_free(struct bhndb_resources *br) argument 238 bhndb_dw_next_free(struct bhndb_resources *br) argument 262 bhndb_dw_is_free(struct bhndb_resources *br, struct bhndb_dw_alloc *dwa) argument [all...] |
H A D | bhndb_subr.c | 565 * @param br Resource state to be deallocated. 568 bhndb_free_resources(struct bhndb_resources *br) argument 580 if (!bhndb_dw_all_free(br)) { 581 for (int i = 0; i < br->dwa_count; i++) { 582 dwa = &br->dw_alloc[i]; 585 if (bhndb_dw_is_free(br, dwa)) 588 device_printf(br->dev, 595 STAILQ_FOREACH(ih, &br->bus_intrs, ih_link) { 596 device_printf(br->dev, "interrupt handler leaked %p\n", 606 if (br 937 bhndb_register_intr_handler(struct bhndb_resources *br, struct bhndb_intr_handler *ih) argument 955 bhndb_deregister_intr_handler(struct bhndb_resources *br, struct bhndb_intr_handler *ih) argument 976 bhndb_find_intr_handler(struct bhndb_resources *br, void *cookiep) argument 1005 bhndb_find_resource_limits(struct bhndb_resources *br, int type, struct resource *r, rman_res_t *start, rman_res_t *end) argument 1072 bhndb_add_resource_region(struct bhndb_resources *br, bhnd_addr_t addr, bhnd_size_t size, bhndb_priority_t priority, uint32_t alloc_flags, const struct bhndb_regwin *static_regwin) argument 1105 bhndb_has_static_region_mapping(struct bhndb_resources *br, bhnd_addr_t addr, bhnd_size_t size) argument 1141 bhndb_find_resource_region(struct bhndb_resources *br, bhnd_addr_t addr, bhnd_size_t size) argument 1201 bhndb_dw_find_resource(struct bhndb_resources *br, struct resource *r) argument 1233 bhndb_dw_find_mapping(struct bhndb_resources *br, bhnd_addr_t addr, bhnd_size_t size) argument 1270 bhndb_dw_retain(struct bhndb_resources *br, struct bhndb_dw_alloc *dwa, struct resource *res) argument 1303 bhndb_dw_release(struct bhndb_resources *br, struct bhndb_dw_alloc *dwa, struct resource *r) argument 1338 bhndb_dw_set_addr(device_t dev, struct bhndb_resources *br, struct bhndb_dw_alloc *dwa, bus_addr_t addr, bus_size_t size) argument 1386 bhndb_dw_steal(struct bhndb_resources *br, bus_addr_t *saved) argument 1420 bhndb_dw_return_stolen(device_t dev, struct bhndb_resources *br, struct bhndb_dw_alloc *dwa, bus_addr_t saved) argument [all...] |
/freebsd-12-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_rar.c | 315 } br; member in struct:rar 368 #define rar_br_has(br, n) ((br)->cache_avail >= n) 370 #define rar_br_bits(br, n) \ 371 (((uint32_t)((br)->cache_buffer >> \ 372 ((br)->cache_avail - (n)))) & cache_masks[n]) 373 #define rar_br_bits_forced(br, n) \ 374 (((uint32_t)((br)->cache_buffer << \ 375 ((n) - (br)->cache_avail))) & cache_masks[n]) 380 #define rar_br_read_ahead(a, br, 406 rar_br_fillup(struct archive_read *a, struct rar_br *br) argument 501 rar_br_preparation(struct archive_read *a, struct rar_br *br) argument 619 struct rar_br *br = &(rar->br); local 2096 struct rar_br *br = &(rar->br); local 2392 struct rar_br *br; local 2740 struct rar_br *br = &(rar->br); local [all...] |
H A D | archive_read_support_format_cab.c | 104 } br; member in struct:lzx_dec 2138 ds->br.cache_buffer = 0; 2139 ds->br.cache_avail = 0; 2217 #define lzx_br_has(br, n) ((br)->cache_avail >= n) 2219 #define lzx_br_bits(br, n) \ 2220 (((uint32_t)((br)->cache_buffer >> \ 2221 ((br)->cache_avail - (n)))) & cache_masks[n]) 2222 #define lzx_br_bits_forced(br, n) \ 2223 (((uint32_t)((br) 2264 lzx_br_fillup(struct lzx_stream *strm, struct lzx_br *br) argument 2334 lzx_br_fixup(struct lzx_stream *strm, struct lzx_br *br) argument 2420 struct lzx_br *br = &(ds->br); local 3019 struct lzx_br *br = &(ds->br); local 3044 struct lzx_br *br = &(ds->br); local [all...] |
H A D | archive_read_support_format_lha.c | 96 } br; member in struct:lzh_dec 1904 ds->br.cache_buffer = 0; 1905 ds->br.cache_avail = 0; 1939 #define lzh_br_has(br, n) ((br)->cache_avail >= n) 1941 #define lzh_br_bits(br, n) \ 1942 (((uint16_t)((br)->cache_buffer >> \ 1943 ((br)->cache_avail - (n)))) & cache_masks[n]) 1944 #define lzh_br_bits_forced(br, n) \ 1945 (((uint16_t)((br) 1980 lzh_br_fillup(struct lzh_stream *strm, struct lzh_br *br) argument 2119 struct lzh_br *br = &(ds->br); local 2648 struct lzh_br *br = &(ds->br); local [all...] |
/freebsd-12-stable/sys/dev/hyperv/vmbus/ |
H A D | vmbus_br.c | 54 const struct vmbus_br *br = arg1; local 58 rindex = br->vbr_rindex; 59 windex = br->vbr_windex; 60 imask = br->vbr_imask; 61 wavail = VMBUS_BR_WAVAIL(rindex, windex, br->vbr_dsize); 62 ravail = br->vbr_dsize - wavail; 83 const struct vmbus_br *br = arg1; local 86 rindex = br->vbr_rindex; 87 windex = br->vbr_windex; 88 wavail = VMBUS_BR_WAVAIL(rindex, windex, br 100 vmbus_br_sysctl_create(struct sysctl_ctx_list *ctx, struct sysctl_oid *br_tree, struct vmbus_br *br, const char *name) argument 157 vmbus_br_setup(struct vmbus_br *br, void *buf, int blen) argument [all...] |
/freebsd-12-stable/sys/net/ |
H A D | ifq.h | 319 drbr_enqueue(struct ifnet *ifp, struct buf_ring *br, struct mbuf *m) argument 331 error = buf_ring_enqueue(br, m); 339 drbr_putback(struct ifnet *ifp, struct buf_ring *br, struct mbuf *new) argument 355 buf_ring_putback_sc(br, new); 359 drbr_peek(struct ifnet *ifp, struct buf_ring *br) argument 374 return(buf_ring_peek_clear_sc(br)); 378 drbr_flush(struct ifnet *ifp, struct buf_ring *br) argument 386 while ((m = buf_ring_dequeue_sc(br)) != NULL) 391 drbr_free(struct buf_ring *br, struct malloc_type *type) argument 394 drbr_flush(NULL, br); 399 drbr_dequeue(struct ifnet *ifp, struct buf_ring *br) argument 413 drbr_advance(struct ifnet *ifp, struct buf_ring *br) argument 425 drbr_dequeue_cond(struct ifnet *ifp, struct buf_ring *br, int (*func) (struct mbuf *, void *), void *arg) argument 450 drbr_empty(struct ifnet *ifp, struct buf_ring *br) argument 460 drbr_needs_enqueue(struct ifnet *ifp, struct buf_ring *br) argument 470 drbr_inuse(struct ifnet *ifp, struct buf_ring *br) argument [all...] |
/freebsd-12-stable/crypto/openssl/crypto/ |
H A D | ia64cpuid.S | 20 { .mib; br.ret.sptk.many b0 };; 27 br.ret.sptk.many b0 };; 46 (p6) br.dpnt .Lspin };; 49 br.ret.sptk.many b0 };; 86 br.ctop.sptk .L_wipe_top };; 139 br.ret.sptk b0 };; 147 (p6) br.ret.spnt b0 };; 150 (p6) br.cond.dptk .Lot };; 156 (p6) br.cond.dptk .Little 157 (p7) br [all...] |
H A D | s390xcpuid.pl | 125 br $ra 138 br $ra 142 br $ra 155 br $ra 175 br $ra 195 br %r14 210 br $ra 237 br $ra 245 br %r14 253 br [all...] |
/freebsd-12-stable/libexec/rc/rc.d/ |
H A D | bridge | 71 for br in ${autobridge_interfaces}; do 73 bridge_test $br $i
|
/freebsd-12-stable/sys/dev/uart/ |
H A D | uart_cpu_fdt.c | 82 int br, err; local 93 err = uart_cpu_fdt_probe(&class, &bst, &bsh, &br, &rclk, &shift, &iowidth); 103 di->baudrate = br;
|
H A D | uart_cpu_arm64.c | 90 int br, err; local 110 err = uart_cpu_fdt_probe(&class, &bst, &bsh, &br, &rclk, 123 di->baudrate = br;
|
/freebsd-12-stable/sys/dev/xilinx/ |
H A D | if_xaevar.h | 4 * Copyright (c) 2019 Ruslan Bukin <br@bsdpad.com> 74 struct buf_ring *br; member in struct:xae_softc
|
/freebsd-12-stable/crypto/openssl/crypto/ocsp/ |
H A D | ocsp_prn.c | 137 OCSP_BASICRESP *br = NULL; local 162 if ((br = OCSP_response_get1_basic(o)) == NULL) 164 rd = &br->tbsResponseData; 234 if (X509_signature_print(bp, &br->signatureAlgorithm, br->signature) <= 0) 237 for (i = 0; i < sk_X509_num(br->certs); i++) { 238 X509_print(bp, sk_X509_value(br->certs, i)); 239 PEM_write_bio_X509(bp, sk_X509_value(br->certs, i)); 244 OCSP_BASICRESP_free(br);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckSizeofPointer.cpp | 30 WalkAST(BugReporter &br, const CheckerBase *checker, AnalysisDeclContext *ac) argument 31 : BR(br), Checker(checker), AC(ac) {}
|
/freebsd-12-stable/contrib/netbsd-tests/lib/csu/arch/ia64/ |
H A D | h_initfini_align.S | 37 br.ret.sptk.few rp
|
/freebsd-12-stable/sys/powerpc/booke/ |
H A D | trap_subr.S | 341 #define TLB_SAVE_REGS(br) \ 342 std %r20, (TLBSAVE_BOOKE_R20)(br); \ 343 std %r21, (TLBSAVE_BOOKE_R21)(br); \ 344 std %r22, (TLBSAVE_BOOKE_R22)(br); \ 345 std %r23, (TLBSAVE_BOOKE_R23)(br); \ 346 std %r24, (TLBSAVE_BOOKE_R24)(br); \ 347 std %r25, (TLBSAVE_BOOKE_R25)(br); \ 348 std %r26, (TLBSAVE_BOOKE_R26)(br); \ 349 std %r27, (TLBSAVE_BOOKE_R27)(br); \ 350 std %r28, (TLBSAVE_BOOKE_R28)(br); \ [all...] |
/freebsd-12-stable/usr.sbin/bhyve/ |
H A D | block_if.c | 216 struct blockif_req *br; local 221 br = be->be_req; 222 if (br->br_iovcnt <= 1) 228 if ((len = preadv(bc->bc_fd, br->br_iov, br->br_iovcnt, 229 br->br_offset)) < 0) 232 br->br_resid -= len; 237 while (br->br_resid > 0) { 238 len = MIN(br->br_resid, MAXPHYS); 239 if (pread(bc->bc_fd, buf, len, br [all...] |
/freebsd-12-stable/contrib/gcc/ |
H A D | tree-complex.c | 803 a + b = (ar + br) + i(ai + bi) 804 a - b = (ar - br) + i(ai + bi) 809 tree ar, tree ai, tree br, tree bi, 818 rr = gimplify_build2 (bsi, code, inner_type, ar, br); 832 rr = gimplify_build2 (bsi, MINUS_EXPR, inner_type, ar, br); 834 rr = br; 844 rr = gimplify_build2 (bsi, code, inner_type, ar, br); 856 rr = gimplify_build2 (bsi, code, inner_type, ar, br); 863 rr = br; 869 rr = gimplify_build2 (bsi, code, inner_type, ar, br); 808 expand_complex_addition(block_stmt_iterator *bsi, tree inner_type, tree ar, tree ai, tree br, tree bi, enum tree_code code, complex_lattice_t al, complex_lattice_t bl) argument 884 expand_complex_libcall(block_stmt_iterator *bsi, tree ar, tree ai, tree br, tree bi, enum tree_code code) argument 928 expand_complex_multiplication(block_stmt_iterator *bsi, tree inner_type, tree ar, tree ai, tree br, tree bi, complex_lattice_t al, complex_lattice_t bl) argument 1014 expand_complex_div_straight(block_stmt_iterator *bsi, tree inner_type, tree ar, tree ai, tree br, tree bi, enum tree_code code) argument 1041 expand_complex_div_wide(block_stmt_iterator *bsi, tree inner_type, tree ar, tree ai, tree br, tree bi, enum tree_code code) argument 1183 expand_complex_division(block_stmt_iterator *bsi, tree inner_type, tree ar, tree ai, tree br, tree bi, enum tree_code code, complex_lattice_t al, complex_lattice_t bl) argument 1292 expand_complex_comparison(block_stmt_iterator *bsi, tree ar, tree ai, tree br, tree bi, enum tree_code code) argument 1331 tree ac, ar, ai, bc, br, bi; local [all...] |
/freebsd-12-stable/sys/arm/mv/ |
H A D | mv_common.c | 886 WIN_REG_IDX_RD(win_cpu_armv5, br, MV_WIN_CPU_BASE_ARMV5, MV_MBUS_BRIDGE_BASE) 890 WIN_REG_IDX_WR(win_cpu_armv5, br, MV_WIN_CPU_BASE_ARMV5, MV_MBUS_BRIDGE_BASE) 895 WIN_REG_IDX_RD(win_cpu_armv7, br, MV_WIN_CPU_BASE_ARMV7, MV_MBUS_BRIDGE_BASE) 899 WIN_REG_IDX_WR(win_cpu_armv7, br, MV_WIN_CPU_BASE_ARMV7, MV_MBUS_BRIDGE_BASE) 972 WIN_REG_BASE_IDX_RD(win_cesa, br, MV_WIN_CESA_BASE) 974 WIN_REG_BASE_IDX_WR(win_cesa, br, MV_WIN_CESA_BASE) 977 WIN_REG_BASE_IDX_RD(win_usb, br, MV_WIN_USB_BASE) 979 WIN_REG_BASE_IDX_WR(win_usb, br, MV_WIN_USB_BASE) 982 WIN_REG_BASE_IDX_RD(win_usb3, br, MV_WIN_USB3_BASE) 984 WIN_REG_BASE_IDX_WR(win_usb3, br, MV_WIN_USB3_BAS 1272 uint32_t br, cr; local 1512 uint32_t br, cr; local 1600 uint32_t br, cr; local 1664 uint32_t br, cr; local 1773 uint32_t br, sz; local 1864 uint32_t cr, br; local 1997 uint32_t br, sz; local 2267 uint32_t br, sz; local 2303 uint32_t br, sz; local 2483 uint32_t cr, br; local 2518 uint32_t br, cr, sz; local 2579 uint32_t cr, br; local [all...] |
/freebsd-12-stable/contrib/ncurses/ncurses/widechar/ |
H A D | lib_box_set.c | 49 const ARG_CH_T bl, const ARG_CH_T br) 64 _tracech_t2(8, br))); 78 RENDER_WITH_DEFAULT(br, WACS_LRCORNER); 45 wborder_set(WINDOW *win, const ARG_CH_T ls, const ARG_CH_T rs, const ARG_CH_T ts, const ARG_CH_T bs, const ARG_CH_T tl, const ARG_CH_T tr, const ARG_CH_T bl, const ARG_CH_T br) argument
|