Home
last modified time | relevance | path

Searched refs:bq (Results 1 – 23 of 23) sorted by relevance

/freebsd-12-stable/sys/geom/vinum/
Dgeom_vinum_raid5.c60 struct gv_bioq *bq, *bq2; in gv_raid5_start() local
88 TAILQ_FOREACH_SAFE(bq, &wp->bits, queue, bq2) { in gv_raid5_start()
89 TAILQ_REMOVE(&wp->bits, bq, queue); in gv_raid5_start()
90 g_free(bq); in gv_raid5_start()
111 TAILQ_FOREACH_SAFE(bq, &wp->bits, queue, bq2) { in gv_raid5_start()
112 TAILQ_REMOVE(&wp->bits, bq, queue); in gv_raid5_start()
113 g_free(bq); in gv_raid5_start()
182 struct gv_bioq *bq; in gv_raid5_check() local
230 bq = g_malloc(sizeof(*bq), M_WAITOK | M_ZERO); in gv_raid5_check()
231 bq->bp = cbp; in gv_raid5_check()
[all …]
Dgeom_vinum_plex.c334 struct gv_bioq *bq, *bq2; in gv_plex_raid5_done() local
350 TAILQ_FOREACH_SAFE(bq, &wp->bits, queue, bq2) { in gv_plex_raid5_done()
351 if (bq->bp != bp) in gv_plex_raid5_done()
353 TAILQ_REMOVE(&wp->bits, bq, queue); in gv_plex_raid5_done()
354 g_free(bq); in gv_plex_raid5_done()
383 TAILQ_FOREACH_SAFE(bq, &wp->bits, queue, bq2) { in gv_plex_raid5_done()
384 if (bq->bp != bp) in gv_plex_raid5_done()
386 TAILQ_REMOVE(&wp->bits, bq, queue); in gv_plex_raid5_done()
387 g_free(bq); in gv_plex_raid5_done()
/freebsd-12-stable/bin/sh/tests/parameters/
Dpositional2.022 testcase 'set -- a b; set -- p$@q' '2|pa|bq'
23 testcase 'set -- a b; set -- $@q' '2|a|bq'
25 testcase 'set -- a b; set -- p$@q' '2|pa|bq'
26 testcase 'set -- a b; set -- $@q' '2|a|bq'
28 testcase 'set -- a b; set -- p$*q' '2|pa|bq'
29 testcase 'set -- a b; set -- $*q' '2|a|bq'
31 testcase 'set -- a b; set -- p$*q' '2|pa|bq'
32 testcase 'set -- a b; set -- $*q' '2|a|bq'
34 testcase 'set -- a b; set -- "p$@q"' '2|pa|bq'
35 testcase 'set -- a b; set -- "$@q"' '2|a|bq'
[all …]
/freebsd-12-stable/sys/vm/
Dvm_pagequeue.h210 vm_batchqueue_init(struct vm_batchqueue *bq) in vm_batchqueue_init() argument
213 bq->bq_cnt = 0; in vm_batchqueue_init()
217 vm_batchqueue_insert(struct vm_batchqueue *bq, vm_page_t m) in vm_batchqueue_insert() argument
220 if (bq->bq_cnt < nitems(bq->bq_pa)) { in vm_batchqueue_insert()
221 bq->bq_pa[bq->bq_cnt++] = m; in vm_batchqueue_insert()
228 vm_batchqueue_pop(struct vm_batchqueue *bq) in vm_batchqueue_pop() argument
231 if (bq->bq_cnt == 0) in vm_batchqueue_pop()
233 return (bq->bq_pa[--bq->bq_cnt]); in vm_batchqueue_pop()
Dvm_pageout.c208 struct vm_batchqueue bq; member
230 vm_batchqueue_init(&ss->bq); in vm_pageout_init_scan()
279 ss->scanned < ss->maxscan && ss->bq.bq_cnt < VM_BATCHQUEUE_SIZE; in vm_pageout_collect_batch()
292 (void)vm_batchqueue_insert(&ss->bq, m); in vm_pageout_collect_batch()
304 vm_pagequeue_cnt_add(pq, -ss->bq.bq_cnt); in vm_pageout_collect_batch()
313 if (ss->bq.bq_cnt == 0) in vm_pageout_next()
315 return (vm_batchqueue_pop(&ss->bq)); in vm_pageout_next()
1327 vm_pageout_reinsert_inactive(struct scan_state *ss, struct vm_batchqueue *bq, in vm_pageout_reinsert_inactive() argument
1337 if (vm_batchqueue_insert(bq, m)) in vm_pageout_reinsert_inactive()
1343 while ((m = vm_batchqueue_pop(bq)) != NULL) in vm_pageout_reinsert_inactive()
[all …]
Dvm_page.c3175 vm_pqbatch_process(struct vm_pagequeue *pq, struct vm_batchqueue *bq, in vm_pqbatch_process() argument
3181 for (i = 0; i < bq->bq_cnt; i++) { in vm_pqbatch_process()
3182 m = bq->bq_pa[i]; in vm_pqbatch_process()
3187 vm_batchqueue_init(bq); in vm_pqbatch_process()
3193 struct vm_batchqueue *bq; in vm_pqbatch_submit_page() local
3204 bq = DPCPU_PTR(pqbatch[domain][queue]); in vm_pqbatch_submit_page()
3205 if (vm_batchqueue_insert(bq, m)) { in vm_pqbatch_submit_page()
3213 bq = DPCPU_PTR(pqbatch[domain][queue]); in vm_pqbatch_submit_page()
3215 vm_pqbatch_process(pq, bq, queue); in vm_pqbatch_submit_page()
/freebsd-12-stable/sys/kern/
Dvfs_bio.c111 #define BQ_LOCKPTR(bq) (&(bq)->bq_lock) argument
112 #define BQ_LOCK(bq) mtx_lock(BQ_LOCKPTR((bq))) argument
113 #define BQ_UNLOCK(bq) mtx_unlock(BQ_LOCKPTR((bq))) argument
114 #define BQ_ASSERT_LOCKED(bq) mtx_assert(BQ_LOCKPTR((bq)), MA_OWNED) argument
183 static void bq_remove(struct bufqueue *bq, struct buf *bp);
184 static void bq_insert(struct bufqueue *bq, struct buf *bp, bool unlock);
186 static void bq_init(struct bufqueue *bq, int qindex, int cpu,
1497 struct bufqueue *bq, *nbq; in bufqueue_acquire() local
1504 bq = bufqueue(bp); in bufqueue_acquire()
1505 BQ_LOCK(bq); in bufqueue_acquire()
[all …]
/freebsd-12-stable/sys/geom/virstor/
Dg_virstor.c269 struct g_virstor_bio_q *bq; in virstor_ctl_add() local
425 bq = malloc(sizeof(*bq), M_GVIRSTOR, M_WAITOK); in virstor_ctl_add()
426 bq->bio = NULL; in virstor_ctl_add()
431 STAILQ_INSERT_TAIL(&sc->delayed_bio_q, bq, linkage); in virstor_ctl_add()
433 bq = STAILQ_FIRST(&sc->delayed_bio_q); in virstor_ctl_add()
434 if (bq->bio != NULL) { in virstor_ctl_add()
435 g_virstor_start(bq->bio); in virstor_ctl_add()
437 free(bq, M_GVIRSTOR); in virstor_ctl_add()
440 free(bq, M_GVIRSTOR); in virstor_ctl_add()
962 struct g_virstor_bio_q *bq; in virstor_geom_destroy() local
[all …]
/freebsd-12-stable/sys/geom/
Dgeom_io.c103 g_bioq_lock(struct g_bioq *bq) in g_bioq_lock() argument
106 mtx_lock(&bq->bio_queue_lock); in g_bioq_lock()
110 g_bioq_unlock(struct g_bioq *bq) in g_bioq_unlock() argument
113 mtx_unlock(&bq->bio_queue_lock); in g_bioq_unlock()
118 g_bioq_destroy(struct g_bioq *bq)
121 mtx_destroy(&bq->bio_queue_lock);
126 g_bioq_init(struct g_bioq *bq) in g_bioq_init() argument
129 TAILQ_INIT(&bq->bio_queue); in g_bioq_init()
130 mtx_init(&bq->bio_queue_lock, "bio queue", NULL, MTX_DEF); in g_bioq_init()
134 g_bioq_first(struct g_bioq *bq) in g_bioq_first() argument
[all …]
/freebsd-12-stable/sys/gnu/dts/arm/
Dmt6589-aquaris5.dts12 model = "bq Aquaris5";
13 compatible = "mundoreader,bq-aquaris5", "mediatek,mt6589";
Drk3066a-bqcurie2.dts12 model = "bq Curie 2";
13 compatible = "mundoreader,bq-curie2", "rockchip,rk3066a";
Drk3188-bqedison2qc.dts4 * Author: Heiko Stuebner <heiko.stuebner@bq.com>
14 compatible = "mundoreader,bq-edison2qc", "rockchip,rk3188";
/freebsd-12-stable/stand/i386/libi386/
Dbiosmem.c232 int bq = bios_getquirks(); in command_biosmem() local
239 printf("bios_quirks: 0x%02x", bq); in command_biosmem()
240 if (bq & BQ_DISTRUST_E820_EXTMEM) in command_biosmem()
/freebsd-12-stable/sys/geom/linux_lvm/
Dg_linux_lvm.c152 bioq_dismantle(struct bio_queue_head *bq) in bioq_dismantle() argument
156 for (b = bioq_first(bq); b != NULL; b = bioq_first(bq)) { in bioq_dismantle()
157 bioq_remove(bq, b); in bioq_dismantle()
201 struct bio_queue_head bq; in g_llvm_start() local
222 bioq_init(&bq); in g_llvm_start()
235 bioq_dismantle(&bq); in g_llvm_start()
280 bioq_disksort(&bq, cb); in g_llvm_start()
296 for (cb = bioq_first(&bq); cb != NULL; cb = bioq_first(&bq)) { in g_llvm_start()
297 bioq_remove(&bq, cb); in g_llvm_start()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86InstrExtension.td140 "movs{bq|x}\t{$src, $dst|$dst, $src}",
144 "movs{bq|x}\t{$src, $dst|$dst, $src}",
187 "movz{bq|x}\t{$src, $dst|$dst, $src}", []>,
191 "movz{bq|x}\t{$src, $dst|$dst, $src}", []>,
DX86InstrSSE.td4983 defm BQ : SS41I_pmovx_rm<0x22, "bq", i16mem, i32mem, NoVLX>;
/freebsd-12-stable/sys/cam/
Dcam_iosched.c1724 static int biolen(struct bio_queue_head *bq) in biolen() argument
1729 TAILQ_FOREACH(bp, &bq->queue, bio_queue) { in biolen()
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Ddmu_send.c780 get_next_record(bqueue_t *bq, struct send_block_record *data) in get_next_record() argument
782 struct send_block_record *tmp = bqueue_dequeue(bq); in get_next_record()
/freebsd-12-stable/contrib/binutils/gas/doc/
Dc-i386.texi255 @samp{wl} (from word to long), @samp{bq} (from byte to quadruple word),
/freebsd-12-stable/crypto/heimdal/lib/wind/
Drfc3490.txt649 which includes the following: "bl--", "bq--", "dq--", "lq--", "mq--",
/freebsd-12-stable/crypto/heimdal/lib/sqlite/
Dsqlite3.c63944 } bq;
68080 u.bq.pC = p->apCsr[pOp->p1];
68081 assert( u.bq.pC!=0 );
68082 assert( u.bq.pC->isSorter==(pOp->opcode==OP_SorterInsert) );
68085 u.bq.pCrsr = u.bq.pC->pCursor;
68086 if( ALWAYS(u.bq.pCrsr!=0) ){
68087 assert( u.bq.pC->isTable==0 );
68090 if( isSorter(u.bq.pC) ){
68091 rc = sqlite3VdbeSorterWrite(db, u.bq.pC, pIn2);
68093 u.bq.nKey = pIn2->n;
[all …]
/freebsd-12-stable/contrib/gcc/config/i386/
Di386.md3306 "movs{bq|x}\t{%1,%0|%0, %1}"
8167 return "movz{bq|x}\t{%1,%0|%0, %1}";
/freebsd-12-stable/contrib/ncurses/misc/
Dterminfo.src18341 #### Bull (bq, dku, vip)