Home
last modified time | relevance | path

Searched refs:bc (Results 1 – 25 of 197) sorted by relevance

12345678

/freebsd-12.1/stand/common/
H A Dbcache.c84 #define BHASH(bc, blkno) ((blkno) & ((bc)->bcache_nblks - 1)) argument
86 ((bc)->bcache_ctl[BHASH((bc), (blkno))].bc_blkno != (blkno))
133 return (bc); in bcache_allocate()
145 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize + in bcache_allocate()
150 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize + in bcache_allocate()
156 if ((bc->bcache_data == NULL) || (bc->bcache_ctl == NULL)) { in bcache_allocate()
172 return (bc); in bcache_allocate()
180 if (bc == NULL) in bcache_free()
269 p_buf = bc->bcache_data + (bcache_blksize * BHASH(bc, p_blk)); in read_strategy()
301 ra = bc->bcache_nblks - BHASH(bc, p_blk + p_size); in read_strategy()
[all …]
/freebsd-12.1/usr.sbin/bhyve/
H A Dblock_if.c340 bc = arg; in blockif_thr()
341 if (bc->bc_isgeom) in blockif_thr()
358 pthread_cond_wait(&bc->bc_cond, &bc->bc_mtx); in blockif_thr()
544 if (bc == NULL) { in blockif_open()
550 bc->bc_fd = fd; in blockif_open()
566 TAILQ_INSERT_HEAD(&bc->bc_freeq, &bc->bc_reqs[i], be_link); in blockif_open()
570 pthread_create(&bc->bc_btid[i], NULL, blockif_thr, bc); in blockif_open()
575 return (bc); in blockif_open()
743 bc->bc_magic = 0; in blockif_close()
745 free(bc); in blockif_close()
[all …]
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, struct blockif_req *breq);
[all …]
/freebsd-12.1/gnu/usr.bin/grep/tests/
H A Dspencer1.tests8 0@ab*bc@abc
9 0@ab*bc@abbc
10 0@ab*bc@abbbbc
11 0@ab+bc@abbc
12 1@ab+bc@abc
13 1@ab+bc@abq
14 0@ab+bc@abbbbc
15 0@ab?bc@abbc
16 0@ab?bc@abc
30 1@a[bc]d@abc
[all …]
H A Dbre.tests24 0@a\(\([bc]\)\2\)*d@abbccd
25 1@a\(\([bc]\)\2\)*d@abbcbd
28 0@\(a\)\1bc*d@aabcd
29 0@\(a\)\1bc*d@aabd
30 0@\(a\)\1bc*d@aabcccd
31 0@\(a\)\1bc*[ce]d@aabcccd@TO CORRECT
H A Dtests128 a[bc]d & abd abd
132 a\bc & abc abc
134 a\\bc & a\bc a\bc
386 a([bc]?)c - ac ac @c
388 a([bc]+)c - abcc abcc bc
389 a([bc]+)bc - abcbc abcbc bc
395 ##(a*)* - bc @b @b
430 [abc] &# a(bc)d b
433 b.*c &# b(bc)c bc
434 b.* &# b(bc)c bc
[all …]
H A Dspencer2.tests82 0@a[bc]d@abd
85 1@a\bc@ac
100 2@a\(\([bc]\)\2\)*d@abbccd
104 2@\(a\)\1bc*d@aabcd
105 2@\(a\)\1bc*d@aabd
106 2@\(a\)\1bc*d@aabcccd
107 2@\(a\)\1bc*[ce]d@aabcccd
282 0@[abc]@a(bc)d
285 0@b.*c@b(bc)c
286 0@b.*@b(bc)c
[all …]
/freebsd-12.1/contrib/netbsd-tests/lib/libc/regex/data/
H A Dstartend.in4 [abc] &# a(bc)d b
7 b.*c &# b(bc)c bc
8 b.* &# b(bc)c bc
9 .*c &# b(bc)c bc
H A Dbackref.in8 a\([bc]\)\1d b abcdabbd abbd b
9 a\(\([bc]\)\2\)*d b abbccd abbccd
10 a\(\([bc]\)\2\)*d b abbcbd
17 \(a\)\1bc*d b aabcd aabcd
18 \(a\)\1bc*d b aabd aabd
19 \(a\)\1bc*d b aabcccd aabcccd
20 \(a\)\1bc*[ce]d b aabcccd aabcccd
H A Dsubexp.in13 (a|ab)(bc([de]+)f|cde) - abcdef abcdef a,bcdef,de
20 a([bc]?)c - abc abc b
21 a([bc]?)c - ac ac @c
22 a([bc]+)c - abc abc b
23 a([bc]+)c - abcc abcc bc
24 a([bc]+)bc - abcbc abcbc bc
30 (a*)* - bc @b @b
H A Dmeta.in3 a[bc]d & abd abd
7 a\bc & abc abc
9 a\\bc & a\bc a\bc
/freebsd-12.1/lib/libc/regex/
H A Dregcomp.c370 (void)bc; in p_ere_exp()
541 (void)bc; in p_branch_eat_delim()
558 bc->fwd = bc->start; in p_branch_ins_offset()
559 bc->back = bc->start; in p_branch_ins_offset()
567 ++bc->nbranch; in p_branch_ins_offset()
595 (void)bc; in p_branch_empty()
629 (void) bc; in p_bre_pre_parse()
671 bc.nbranch = 0; in p_re()
679 bc.nchain = 0; in p_re()
684 bc.terminate = p->parse_expr(p, &bc); in p_re()
[all …]
/freebsd-12.1/bin/sh/tests/expansion/
H A Dcmdsubst24.016 check "$LINENO" "$assign_builtin" "a bc d"
18 check "$LINENO" "$assign_pipeline" "a bc d"
22 check "$LINENO" "$splits" "a@bc@d@a@bc@d@a bc d@a bc d"
/freebsd-12.1/contrib/netbsd-tests/lib/libc/regex/data/att/
H A Dbasic.dat91 BE ab*bc abc (0,3)
92 BE ab*bc abbc (0,4)
93 BE ab*bc abbbbc (0,6)
94 E ab+bc abbc (0,4)
95 E ab+bc abbbbc (0,6)
96 E ab?bc abbc (0,4)
97 E ab?bc abc (0,3)
107 BE a[bc]d abd (0,3)
114 BE a[^bc]d aed (0,3)
146 E (ab|ab*)bc abc (0,3)(0,1)
[all …]
/freebsd-12.1/sbin/bsdlabel/
H A Ddisktab28 :pc#720:oc#0:bc#4096:fc#512:
33 :pc#1440:oc#0:bc#4096:fc#512:
38 :pc#2400:oc#0:bc#4096:fc#512:
43 :pc#2880:oc#0:bc#4096:fc#512:
58 :pc#1600:oc#0:bc#4096:fc#512:
63 :pc#1640:oc#0:bc#4096:fc#512:
68 :pc#2952:oc#0:bc#4096:fc#512:
73 :pc#3444:oc#0:bc#4096:fc#512:
81 :pc#246528:oc#0:bc#4096:fc#512:
178 :pc#2880:oc#0:bc#4096:fc#512:
[all …]
/freebsd-12.1/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dmpi.c371 bit32 bc; in mpiMsgPrepare() local
387 bc = (((msgHeader->Header) >> SHIFT24) & BC_MASK); in mpiMsgPrepare()
388 SA_DBG6(("mpiMsgProduce: msgHeader bc %d\n", bc)); in mpiMsgPrepare()
397 ((bc & BC_MASK) << SHIFT24) | in mpiMsgPrepare()
471 bit32 bc; in mpiMsgProduce() local
512 bc = (((msgHeader->Header) >> SHIFT24) & BC_MASK); in mpiMsgProduce()
513 SA_DBG6(("mpiMsgProduce: msgHeader bc %d\n", bc)); in mpiMsgProduce()
524 ((bc & BC_MASK) << SHIFT24) | in mpiMsgProduce()
820 bit8 bc in mpiMsgFreeSet() argument
919 bit32 bc; in mpiMsgProduceOQ() local
[all …]
/freebsd-12.1/lib/libc/regex/grot/
H A Dtests129 a[bc]d & abd abd
133 a\bc & abc abc
135 a\\bc & a\bc a\bc
391 a([bc]?)c - ac ac @c
393 a([bc]+)c - abcc abcc bc
394 a([bc]+)bc - abcbc abcbc bc
400 (a*)* - bc @b @b
435 [abc] &# a(bc)d b
438 b.*c &# b(bc)c bc
439 b.* &# b(bc)c bc
[all …]
/freebsd-12.1/contrib/bearssl/src/ssl/
H A Dssl_engine_default_chapol.c35 br_chacha20_run bc; in br_ssl_engine_set_default_chapol() local
42 bc = br_chacha20_sse2_get(); in br_ssl_engine_set_default_chapol()
43 if (bc) { in br_ssl_engine_set_default_chapol()
44 br_ssl_engine_set_chacha20(cc, bc); in br_ssl_engine_set_default_chapol()
H A Dssl_rec_cbc.c37 bc_impl->init(&cc->bc.vtable, bc_key, bc_key_len); in in_cbc_init()
66 blen = cc->bc.vtable->block_size; in cbc_check_length()
115 blen = cc->bc.vtable->block_size; in cbc_decrypt()
124 cc->bc.vtable->run(&cc->bc.vtable, cc->iv, data, len); in cbc_decrypt()
277 bc_impl->init(&cc->bc.vtable, bc_key, bc_key_len); in out_cbc_init()
295 blen = cc->bc.vtable->block_size; in cbc_max_plaintext()
320 blen = cc->bc.vtable->block_size; in cbc_encrypt()
412 cc->bc.vtable->run(&cc->bc.vtable, cc->iv, buf, len); in cbc_encrypt()
H A Dssl_rec_gcm.c42 bc_impl->init(&cc->bc.vtable, key, key_len); in gen_gcm_init()
47 bc_impl->run(&cc->bc.vtable, tmp, 0, cc->h, sizeof cc->h); in gen_gcm_init()
118 cc->bc.vtable->run(&cc->bc.vtable, iv, 2, data, len); in do_ctr()
119 cc->bc.vtable->run(&cc->bc.vtable, iv, 1, xortag, 16); in do_ctr()
/freebsd-12.1/release/picobsd/mfs_tree/etc/
H A Ddisktab22 :pc#720:oc#0:bc#4096:fc#512:
28 :pc#1440:oc#0:bc#4096:fc#512:
34 :pc#2400:oc#0:bc#4096:fc#512:
40 :pc#2880:oc#0:bc#4096:fc#512:
46 :pc#2048:oc#0:bc#4096:fc#512:
79 :pc#2880:oc#0:bc#4096:fc#512:
85 :pc#196608:oc#0:bc#4096:fc#512:
/freebsd-12.1/usr.bin/bc/
H A DMakefile4 PROG= bc
5 SRCS= bc.y scan.l tty.c
12 FILES+= bc.library
/freebsd-12.1/crypto/openssl/crypto/bn/asm/
H A Dsparcv9a-mont.pl212 ldda [%o4+6]%asi,$bc
223 fxtod $bc,$bc
240 fmuld $alo,$bc,$aloc
252 fmuld $ahi,$bc,$ahic
303 fmuld $alo,$bc,$aloc
334 fmuld $ahi,$bc,$ahic
390 fmuld $alo,$bc,$aloc
415 fmuld $ahi,$bc,$ahic
531 ldda [%o4+6]%asi,$bc
540 fxtod $bc,$bc
[all …]
/freebsd-12.1/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) in retA() argument
71 retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retBL() argument
78 retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retWL() argument
85 retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retNF() argument
88 return bc->nfuncs; in retNF()
[all …]
/freebsd-12.1/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) in retA() argument
79 retBL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retBL() argument
86 retWL(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retWL() argument
93 retNF(const bpf_ctx_t *bc, bpf_args_t *args, uint32_t A) in retNF() argument
96 return bc->nfuncs; in retNF()
[all …]

12345678