Searched refs:bc (Results 1 - 25 of 88) sorted by relevance

1234

/freebsd-11-stable/share/doc/usd/06.bc/
H A DMakefile4 VOLUME= usd/06.bc
5 SRCS= bc
/freebsd-11-stable/stand/common/
H A Dbcache.c84 #define BHASH(bc, blkno) ((blkno) & ((bc)->bcache_nblks - 1))
85 #define BCACHE_LOOKUP(bc, blkno) \
86 ((bc)->bcache_ctl[BHASH((bc), (blkno))].bc_blkno != (blkno))
90 static void bcache_invalidate(struct bcache *bc, daddr_t blkno);
91 static void bcache_insert(struct bcache *bc, daddr_t blkno);
92 static void bcache_free_instance(struct bcache *bc);
123 struct bcache *bc = malloc(sizeof (struct bcache)); local
129 if (bc
172 struct bcache *bc = cache; local
190 struct bcache *bc = dd->dv_cache; local
214 struct bcache *bc = dd->dv_cache; local
359 struct bcache *bc = dd->dv_cache; local
426 bcache_free_instance(struct bcache *bc) argument
441 bcache_insert(struct bcache *bc, daddr_t blkno) argument
456 bcache_invalidate(struct bcache *bc, daddr_t blkno) argument
[all...]
/freebsd-11-stable/usr.sbin/bhyve/
H A Dblock_if.h63 off_t blockif_size(struct blockif_ctxt *bc);
64 void blockif_chs(struct blockif_ctxt *bc, uint16_t *c, uint8_t *h,
66 int blockif_sectsz(struct blockif_ctxt *bc);
67 void blockif_psectsz(struct blockif_ctxt *bc, int *size, int *off);
68 int blockif_queuesz(struct blockif_ctxt *bc);
69 int blockif_is_ro(struct blockif_ctxt *bc);
70 int blockif_candelete(struct blockif_ctxt *bc);
71 int blockif_read(struct blockif_ctxt *bc, struct blockif_req *breq);
72 int blockif_write(struct blockif_ctxt *bc, struct blockif_req *breq);
73 int blockif_flush(struct blockif_ctxt *bc, struc
[all...]
H A Dblock_if.c126 blockif_enqueue(struct blockif_ctxt *bc, struct blockif_req *breq, argument
133 be = TAILQ_FIRST(&bc->bc_freeq);
136 TAILQ_REMOVE(&bc->bc_freeq, be, be_link);
151 TAILQ_FOREACH(tbe, &bc->bc_pendq, be_link) {
156 TAILQ_FOREACH(tbe, &bc->bc_busyq, be_link) {
165 TAILQ_INSERT_TAIL(&bc->bc_pendq, be, be_link);
170 blockif_dequeue(struct blockif_ctxt *bc, pthread_t t, struct blockif_elem **bep) argument
174 TAILQ_FOREACH(be, &bc->bc_pendq, be_link) {
181 TAILQ_REMOVE(&bc->bc_pendq, be, be_link);
184 TAILQ_INSERT_TAIL(&bc
190 blockif_complete(struct blockif_ctxt *bc, struct blockif_elem *be) argument
209 blockif_proc(struct blockif_ctxt *bc, struct blockif_elem *be, uint8_t *buf) argument
332 struct blockif_ctxt *bc; local
403 struct blockif_ctxt *bc; local
580 blockif_request(struct blockif_ctxt *bc, struct blockif_req *breq, enum blockop op) argument
610 blockif_read(struct blockif_ctxt *bc, struct blockif_req *breq) argument
618 blockif_write(struct blockif_ctxt *bc, struct blockif_req *breq) argument
626 blockif_flush(struct blockif_ctxt *bc, struct blockif_req *breq) argument
634 blockif_delete(struct blockif_ctxt *bc, struct blockif_req *breq) argument
642 blockif_cancel(struct blockif_ctxt *bc, struct blockif_req *breq) argument
718 blockif_close(struct blockif_ctxt *bc) argument
752 blockif_chs(struct blockif_ctxt *bc, uint16_t *c, uint8_t *h, uint8_t *s) argument
800 blockif_size(struct blockif_ctxt *bc) argument
808 blockif_sectsz(struct blockif_ctxt *bc) argument
816 blockif_psectsz(struct blockif_ctxt *bc, int *size, int *off) argument
825 blockif_queuesz(struct blockif_ctxt *bc) argument
833 blockif_is_ro(struct blockif_ctxt *bc) argument
841 blockif_candelete(struct blockif_ctxt *bc) argument
[all...]
H A Dpci_virtio_block.c144 struct blockif_ctxt *bc; member in struct:pci_vtblk_softc
261 err = blockif_read(sc->bc, &io->io_req);
264 err = blockif_write(sc->bc, &io->io_req);
268 err = blockif_flush(sc->bc, &io->io_req);
325 sc->bc = bctxt;
390 blockif_close(sc->bc);
/freebsd-11-stable/usr.bin/bc/
H A DMakefile4 PROG= bc
5 SRCS= bc.y scan.l tty.c
12 FILES+= bc.library
/freebsd-11-stable/tools/tools/netrate/tcpp/
H A Dparallelism.csh22 set mflag=`echo $ptcps / $core | bc`
23 set tflag=`echo $ntcps / $core | bc`
/freebsd-11-stable/share/doc/usd/
H A DMakefile11 06.bc \
/freebsd-11-stable/bin/dd/tests/
H A Ddd2_test.sh46 seek=`echo "2^63 / 4096 - 1" | bc`
58 seek=`echo "2^63 / 4096" | bc`
/freebsd-11-stable/contrib/netbsd-tests/include/sys/
H A Dt_types.c85 blkcnt_t bc; local
95 bc = 0;
101 ATF_CHECK((bc - 1) <= 0);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dmultc3.c23 long double bc = b * c; local
26 __imag__ z = ad + bc;
48 (crt_isinf(ac) || crt_isinf(bd) || crt_isinf(ad) || crt_isinf(bc))) {
/freebsd-11-stable/sys/dev/digi/
H A Ddigi.c218 volatile struct board_chan *bc; local
531 bc = (volatile struct board_chan *)(ptr + CHANSTRUCT);
537 for (i = 0; i < sc->numports; i++, bc++) {
542 port->bc = bc;
557 (((bc->tseg - sc->mem_seg) << 4) & 0x1fff);
559 (((bc->rseg - sc->mem_seg) << 4) & 0x1fff);
560 port->txwin = FEPWIN | ((bc->tseg - sc->mem_seg) >> 9);
561 port->rxwin = FEPWIN | ((bc->rseg - sc->mem_seg) >> 9);
563 port->txbuf = ptr + ((bc
666 volatile struct board_chan *bc; local
728 volatile struct board_chan *bc; local
1090 volatile struct board_chan *bc; local
1313 volatile struct board_chan *bc; local
[all...]
/freebsd-11-stable/lib/libedit/
H A Dmakelist40 USAGE="Usage: $0 -n|-h|-e|-fc|-fh|-bc|-bh|-m <filenames>"
93 -bc)
/freebsd-11-stable/lib/libc/regex/
H A Dregcomp.c112 static bool p_ere_exp(struct parse *p, struct branchc *bc);
114 static int p_branch_eat_delim(struct parse *p, struct branchc *bc);
115 static void p_branch_ins_offset(struct parse *p, struct branchc *bc);
116 static void p_branch_fix_tail(struct parse *p, struct branchc *bc);
117 static bool p_branch_empty(struct parse *p, struct branchc *bc);
118 static bool p_branch_do(struct parse *p, struct branchc *bc);
119 static void p_bre_pre_parse(struct parse *p, struct branchc *bc);
120 static void p_bre_post_parse(struct parse *p, struct branchc *bc);
122 static bool p_simp_re(struct parse *p, struct branchc *bc);
355 p_ere_exp(struct parse *p, struct branchc *bc) argument
531 p_branch_eat_delim(struct parse *p, struct branchc *bc) argument
546 p_branch_ins_offset(struct parse *p, struct branchc *bc) argument
568 p_branch_fix_tail(struct parse *p, struct branchc *bc) argument
585 p_branch_empty(struct parse *p, struct branchc *bc) argument
598 p_branch_do(struct parse *p, struct branchc *bc) argument
618 p_bre_pre_parse(struct parse *p, struct branchc *bc) argument
635 p_bre_post_parse(struct parse *p, struct branchc *bc) argument
661 struct branchc bc; local
705 p_simp_re(struct parse *p, struct branchc *bc) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/ppc/
H A Dmultc3.c27 long double bc = __gcc_qmul(b, c); local
30 DD imag = {.ld = __gcc_qadd(ad, bc)};
60 DD bcDD = {.ld = bc};
/freebsd-11-stable/usr.sbin/bsdinstall/scripts/
H A Dchecksum62 percentage=$(echo $percentage + 100/`echo $DISTRIBUTIONS | wc -w` | bc)
/freebsd-11-stable/sys/dev/pdq/
H A Dif_fea.c77 pdq_eisa_subprobe(bc, iobase, maddr, msize, irq)
78 pdq_bus_t bc;
85 *irq = DEFEA_DECODE_IRQ(PDQ_OS_IORD_8(bc, iobase, PDQ_EISA_IO_CONFIG_STAT_0) & 3);
86 *maddr = (PDQ_OS_IORD_8(bc, iobase, PDQ_EISA_MEM_ADD_CMP_0) << 8)
87 | (PDQ_OS_IORD_8(bc, iobase, PDQ_EISA_MEM_ADD_CMP_1) << 16);
88 *msize = (PDQ_OS_IORD_8(bc, iobase, PDQ_EISA_MEM_ADD_MASK_0) + 4) << 8;
/freebsd-11-stable/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dmpi.c254 /* This queue full logic may only works for bc == 1 ( == ) */
255 /* ( pi + bc ) % size > ci not fully works for bc > 1 */
256 /* To do - support bc > 1 case and wrap around case */
283 /* bc always is 1 for inbound queue */
314 /* This queue full logic may only works for bc == 1 ( == ) */
315 /* ( pi + bc ) % size > ci not fully works for bc > 1 */
316 /* To do - support bc > 1 case and wrap around case */
334 /* bc alway
371 bit32 bc; local
471 bit32 bc; local
919 bit32 bc; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libbpfjit/
H A Dt_cop.c43 static uint32_t retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
44 static uint32_t retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
45 static uint32_t retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
46 static uint32_t retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
47 static uint32_t setARG(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
64 retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) argument
71 retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) argument
78 retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) argument
85 retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) argument
88 return bc
95 setARG(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) argument
[all...]
/freebsd-11-stable/contrib/netbsd-tests/net/bpfjit/
H A Dt_cop.c51 static uint32_t retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
52 static uint32_t retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
53 static uint32_t retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
54 static uint32_t retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
55 static uint32_t setARG(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A);
72 retA(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) argument
79 retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) argument
86 retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) argument
93 retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) argument
96 return bc
103 setARG(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) argument
[all...]
/freebsd-11-stable/contrib/groff/src/utils/tfmtodit/
H A Dtfmtodit.cpp84 int bc; member in class:tfm
130 : t(p), c(t->bc), i(-1)
137 if (t->char_info[c - t->bc].tag == 1) {
139 i = t->char_info[c - t->bc].remainder;
176 if (contains(c1) && char_info[c1 - bc].tag == 1) {
177 int i = char_info[c1 - bc].remainder;
201 return i >= bc && i <= ec && char_info[i - bc].width_index != 0;
206 return width[char_info[i - bc].width_index];
211 return height[char_info[i - bc]
[all...]
/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dcheck-gen.c62 #define IF_OPT_COMPARE(ac,bc,e) \
63 if (((ac)->e == NULL && (bc)->e != NULL) || (((ac)->e != NULL && (bc)->e == NULL))) return 1; if ((ab)->e)
64 #define COMPARE_OPT_STRING(ac,bc,e) \
65 do { if (strcmp(*(ac)->e, *(bc)->e) != 0) return 1; } while(0)
66 #define COMPARE_OPT_OCTECT_STRING(ac,bc,e) \
67 do { if ((ac)->e->length != (bc)->e->length || memcmp((ac)->e->data, (bc)->e->data, (ac)->e->length) != 0) return 1; } while(0)
68 #define COMPARE_STRING(ac,bc,e) \
69 do { if (strcmp((ac)->e, (bc)
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/scripts/
H A Dbuild_symbolizer.sh173 all.bc
176 $OPT -internalize -internalize-public-api-list=${SYMBOLIZER_API_LIST} all.bc -o opt.bc
177 $CC $FLAGS -fno-lto -c opt.bc -o symbolizer.o
/freebsd-11-stable/release/picobsd/tinyware/msh/
H A Dsh3.c49 _PROTOTYPE(static void brkset, (struct brkcon *bc ));
86 struct brkcon bc; local
166 while (setjmp(bc.brkpt))
169 brkset(&bc);
179 while (setjmp(bc.brkpt))
182 brkset(&bc);
488 brkset(bc)
489 struct brkcon *bc;
491 bc->nextlev = brklist;
492 brklist = bc;
954 register struct brkcon *bc; local
[all...]
/freebsd-11-stable/lib/libc/nameser/
H A Dns_name.c747 int ac, bc; local
749 while (ac = *a, bc = *b, ac != 0 && bc != 0) {
750 if ((ac & NS_CMPRSFLGS) != 0 || (bc & NS_CMPRSFLGS) != 0) {
754 if (a + ac >= ae || b + bc >= be) {
758 if (ac != bc || strncasecmp((const char *) ++a,
761 a += ac, b += bc;
763 return (ac == 0 && bc == 0);

Completed in 242 milliseconds

1234