| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-procfs-list.c | 86 cursor->cached_node); in procfs_list_next_node() 89 cursor->cached_node = next_node; in procfs_list_next_node() 90 cursor->cached_pos = NODE_ID(procfs_list, cursor->cached_node); in procfs_list_next_node() 91 *pos = cursor->cached_pos; in procfs_list_next_node() 98 cursor->cached_node = NULL; in procfs_list_next_node() 99 cursor->cached_pos++; in procfs_list_next_node() 100 *pos = cursor->cached_pos; in procfs_list_next_node() 116 cursor->cached_pos = 0; in procfs_list_seq_start() 138 return (cursor->cached_node); in procfs_list_seq_start() 179 cursor->cached_node = NULL; in procfs_list_open() [all …]
|
| /f-stack/dpdk/drivers/common/sfc_efx/base/ |
| H A D | ef10_nvram.c | 127 if (cursor->current == cursor->end) { in tlv_advance() 135 cursor->current = tlv_next_item_ptr(cursor); in tlv_advance() 158 cursor->current = cursor->block; in tlv_rewind() 195 if (cursor->current < cursor->block) { in tlv_validate_state() 199 if (cursor->current > cursor->limit) { in tlv_validate_state() 206 if (cursor->current > (cursor->limit - 1)) { in tlv_validate_state() 213 if (tlv_next_item_ptr(cursor) > cursor->limit) { in tlv_validate_state() 290 cursor->end = cursor->current; in tlv_require_end() 409 memmove(cursor->current + delta, cursor->current, in tlv_insert() 456 memmove(cursor->current, cursor->current + delta, in tlv_delete() [all …]
|
| H A D | ef10_image.c | 52 if (cursor == NULL || cursor->buffer == NULL || cursor->length < 2) { in efx_asn1_parse_header_match_tag() 57 cursor->tag = cursor->buffer[0]; in efx_asn1_parse_header_match_tag() 73 cursor->val_size = cursor->buffer[1]; in efx_asn1_parse_header_match_tag() 102 if ((cursor->hdr_size + cursor->val_size) > cursor->length) { in efx_asn1_parse_header_match_tag() 153 cursor->buffer += cursor->hdr_size; in efx_asn1_enter_tag() 154 cursor->length = cursor->val_size; in efx_asn1_enter_tag() 200 cursor->buffer += cursor->hdr_size + cursor->val_size; in efx_asn1_match_tag_value() 201 cursor->length -= cursor->hdr_size + cursor->val_size; in efx_asn1_match_tag_value() 235 cursor->buffer += cursor->hdr_size + cursor->val_size; in efx_asn1_skip_tag() 236 cursor->length -= cursor->hdr_size + cursor->val_size; in efx_asn1_skip_tag() [all …]
|
| /f-stack/freebsd/contrib/ck/include/ |
| H A D | ck_brlock.h | 77 struct ck_brlock_reader *cursor; in ck_brlock_write_lock() local 89 for (cursor = br->readers; cursor != NULL; cursor = cursor->next) { in ck_brlock_write_lock() 90 while (ck_pr_load_uint(&cursor->n_readers) != 0) in ck_brlock_write_lock() 110 struct ck_brlock_reader *cursor; in ck_brlock_write_trylock() local 126 for (cursor = br->readers; cursor != NULL; cursor = cursor->next) { in ck_brlock_write_trylock() 127 while (ck_pr_load_uint(&cursor->n_readers) != 0) { in ck_brlock_write_trylock()
|
| H A D | ck_rhs.h | 100 void **cursor; member
|
| H A D | ck_hs.h | 101 void **cursor; member
|
| /f-stack/freebsd/contrib/ck/src/ |
| H A D | ck_epoch.c | 243 ck_stack_entry_t *cursor; in ck_epoch_recycle() local 326 ck_stack_entry_t *cursor; in ck_epoch_scan() local 332 cursor = &cr->record_next; in ck_epoch_scan() 336 while (cursor != NULL) { in ck_epoch_scan() 339 cr = ck_epoch_record_container(cursor); in ck_epoch_scan() 343 cursor = CK_STACK_NEXT(cursor); in ck_epoch_scan() 353 cursor = CK_STACK_NEXT(cursor); in ck_epoch_scan() 363 ck_stack_entry_t *head, *next, *cursor; in ck_epoch_dispatch() local 368 for (cursor = head; cursor != NULL; cursor = next) { in ck_epoch_dispatch() 370 ck_epoch_entry_container(cursor); in ck_epoch_dispatch() [all …]
|
| H A D | ck_ht.c | 289 struct ck_ht_entry *bucket, *cursor; in ck_ht_map_probe_wr() local 326 first = cursor; in ck_ht_map_probe_wr() 336 if (cursor->key == (uintptr_t)key) in ck_ht_map_probe_wr() 354 if (cursor->hash != h.value) in ck_ht_map_probe_wr() 367 cursor = NULL; in ck_ht_map_probe_wr() 378 if (cursor != NULL) { in ck_ht_map_probe_wr() 379 *snapshot = *cursor; in ck_ht_map_probe_wr() 382 return cursor; in ck_ht_map_probe_wr() 503 struct ck_ht_entry *bucket, *cursor; in ck_ht_map_probe_rd() local 600 return cursor; in ck_ht_map_probe_rd() [all …]
|
| H A D | ck_hs.c | 137 iterator->cursor = NULL; in ck_hs_iterator_init() 364 const void **cursor = bucket + ((j + offset) & (CK_HS_PROBE_L1 - 1)); in ck_hs_grow() local 369 if (CK_CC_LIKELY(*cursor == CK_HS_EMPTY)) { in ck_hs_grow() 370 *cursor = map->entries[k]; in ck_hs_grow() 429 const void **bucket, **cursor, *k, *compare; in ck_hs_map_probe() local 459 cursor = bucket + ((j + offset) & (CK_HS_PROBE_L1 - 1)); in ck_hs_map_probe() 474 k = ck_pr_load_ptr(cursor); in ck_hs_map_probe() 480 pr = cursor; in ck_hs_map_probe() 516 cursor = NULL; in ck_hs_map_probe() 525 return cursor; in ck_hs_map_probe()
|
| /f-stack/dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | qman.h | 247 return eqcr->cursor; in qm_eqcr_start_no_stash() 270 return eqcr->cursor; in qm_eqcr_start_stash() 295 dcbf(eqcr->cursor); in qm_eqcr_pend_and_next() 298 return eqcr->cursor; in qm_eqcr_pend_and_next() 304 DPAA_ASSERT(eqcr->cursor->orp == (eqcr->cursor->orp & 0x00ffffff)); \ 305 DPAA_ASSERT(eqcr->cursor->fqid == (eqcr->cursor->fqid & 0x00ffffff)); \ 319 dcbf(eqcr->cursor); in qm_eqcr_pci_commit() 349 dcbf(eqcr->cursor); in qm_eqcr_pce_commit() 478 dqrr->cursor = DQRR_INC(dqrr->cursor); in qm_dqrr_next() 770 return mr->cursor; in qm_mr_current() [all …]
|
| H A D | bman.h | 101 struct bm_rcr_entry *ring, *cursor; member 157 rcr->cursor = RCR_CARRYCLEAR(partial); in RCR_INC() 158 if (partial != rcr->cursor) in RCR_INC() 177 rcr->cursor = rcr->ring + pi; in bm_rcr_init() 201 if (pi != RCR_PTR2IDX(rcr->cursor)) in bm_rcr_finish() 221 dcbz_64(rcr->cursor); in bm_rcr_start() 222 return rcr->cursor; in bm_rcr_start() 247 dcbf_64(rcr->cursor); in bm_rcr_pend_and_next() 250 dcbz_64(rcr->cursor); in bm_rcr_pend_and_next() 251 return rcr->cursor; in bm_rcr_pend_and_next() [all …]
|
| H A D | qman.c | 353 eqcr->cursor = eqcr->ring + pi; in qm_eqcr_init() 470 mr->cursor = mr->ring + mr->ci; in qm_mr_init() 1203 dq[rx_number] = dqrr->cursor; in qman_portal_poll_rx() 1204 dqrr->cursor = DQRR_CARRYCLEAR(dqrr->cursor + 1); in qman_portal_poll_rx() 1206 rte_prefetch0(dqrr->cursor); in qman_portal_poll_rx() 2349 eq = eqcr->cursor; in qman_enqueue_multi() 2363 eq = eqcr->cursor; in qman_enqueue_multi() 2370 eqcr->cursor = eq; in qman_enqueue_multi() 2420 eq = eqcr->cursor; in qman_enqueue_multi_fq() 2434 eq = eqcr->cursor; in qman_enqueue_multi_fq() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | zcp_iter.c | 102 lua_pushnumber(state, cursor); in zcp_clones_iter() 138 uint64_t cursor = 0; in zcp_clones_list() local 148 lua_pushnumber(state, cursor); in zcp_clones_list() 189 lua_pushnumber(state, cursor); in zcp_snapshots_iter() 276 lua_pushnumber(state, cursor); in zcp_children_iter() 561 lua_pushnumber(state, cursor); in zcp_bookmarks_iter() 593 uint64_t cursor = 0; in zcp_bookmarks_list() local 601 lua_pushnumber(state, cursor); in zcp_bookmarks_list() 648 lua_pushnumber(state, cursor); in zcp_holds_iter() 686 uint64_t cursor = 0; in zcp_holds_list() local [all …]
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/QM/ |
| H A D | qman_low.h | 270 dcbz_64(eqcr->cursor); in qm_eqcr_start() 271 return eqcr->cursor; in qm_eqcr_start() 295 dcbf_64(eqcr->cursor); in qm_eqcr_pend_and_next() 299 return eqcr->cursor; in qm_eqcr_pend_and_next() 306 ASSERT_COND(eqcr->cursor->orp == (eqcr->cursor->orp & 0x00ffffff)); \ 307 ASSERT_COND(eqcr->cursor->fqid == (eqcr->cursor->fqid & 0x00ffffff)); \ 540 return dqrr->cursor; in qm_dqrr_current() 555 dqrr->cursor = DQRR_INC(dqrr->cursor); in qm_dqrr_next() 880 dcbt_ro(mr->cursor); in qm_mr_current_prefetch() 888 return mr->cursor; in qm_mr_current() [all …]
|
| H A D | qman_private.h | 142 struct qm_eqcr_entry *ring, *cursor; member 154 struct qm_dqrr_entry *ring, *cursor; member 168 struct qm_mr_entry *ring, *cursor; member
|
| /f-stack/freebsd/kern/ |
| H A D | subr_rangeset.c | 283 uint64_t cursor, *r1; in rangeset_copy() local 291 for (cursor = 0;; cursor = src_r->re_start + 1) { in rangeset_copy() 292 r1 = pctrie_lookup_ge(&src_rs->rs_trie, cursor); in rangeset_copy() 316 uint64_t cursor, *r1; in rangeset_check() local 318 for (cursor = 0, rp = NULL;; cursor = r->re_start + 1, rp = r) { in rangeset_check() 319 r1 = pctrie_lookup_ge(&rs->rs_trie, cursor); in rangeset_check() 347 uint64_t cursor, *r1; in DB_SHOW_COMMAND() local 356 for (cursor = 0;; cursor = r->re_start + 1) { in DB_SHOW_COMMAND() 357 r1 = pctrie_lookup_ge(&rs->rs_trie, cursor); in DB_SHOW_COMMAND()
|
| H A D | subr_blist.c | 288 daddr_t blk, cursor; in blist_alloc() local 301 for (cursor = bl->bl_cursor;; cursor = 0) { in blist_alloc() 311 if (cursor == 0) in blist_alloc() 803 return (blst_leaf_alloc(scan, cursor, count, maxcount)); in blst_meta_alloc() 804 blk = cursor & -(radix * BLIST_RADIX); in blst_meta_alloc() 805 scan_from_start = (cursor == blk); in blst_meta_alloc() 810 digit = (cursor / radix) & BLIST_MASK; in blst_meta_alloc() 821 cursor -= digit * radix; in blst_meta_alloc() 823 cursor = blk; in blst_meta_alloc() 835 r = blst_meta_alloc(&scan[i], cursor + digit * radix, in blst_meta_alloc() [all …]
|
| H A D | subr_epoch.c | 783 ck_stack_entry_t *cursor, *head, *next; in epoch_call_task() local 813 for (cursor = head; cursor != NULL; cursor = next) { in epoch_call_task() 815 ck_epoch_entry_container(cursor); in epoch_call_task() 817 next = CK_STACK_NEXT(cursor); in epoch_call_task()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | defrag.c | 612 *cursor = 0; in scanLaterStraemListpacks() 618 if (*cursor == 0) { in scanLaterStraemListpacks() 628 *cursor = 0; in scanLaterStraemListpacks() 636 (*cursor)++; in scanLaterStraemListpacks() 652 *cursor = 0; in scanLaterStraemListpacks() 933 if (!cursor) { in defragLaterStep() 952 cursor = 0; in defragLaterStep() 965 if (!cursor) in defragLaterStep() 985 } while(cursor); in defragLaterStep() 1062 if (!cursor) { in activeDefragCycle() [all …]
|
| H A D | db.c | 598 int parseScanCursorOrReply(client *c, robj *o, unsigned long *cursor) { in parseScanCursorOrReply() argument 604 *cursor = strtoul(o->ptr, &eptr, 10); in parseScanCursorOrReply() 624 void scanGenericCommand(client *c, robj *o, unsigned long cursor) { in scanGenericCommand() argument 709 cursor = dictScan(ht, cursor, scanCallback, NULL, privdata); in scanGenericCommand() 710 } while (cursor && in scanGenericCommand() 719 cursor = 0; in scanGenericCommand() 733 cursor = 0; in scanGenericCommand() 786 addReplyBulkLongLong(c,cursor); in scanGenericCommand() 803 unsigned long cursor; in scanCommand() local 804 if (parseScanCursorOrReply(c,c->argv[1],&cursor) == C_ERR) return; in scanCommand() [all …]
|
| /f-stack/freebsd/contrib/ncsw/Peripherals/BM/ |
| H A D | bman_low.c | 173 rcr->cursor = RCR_CARRYCLEAR(partial); in RCR_INC() 174 if (partial != rcr->cursor) in RCR_INC() 189 rcr->cursor = rcr->ring + pi; in bm_rcr_init() 211 if (pi != RCR_PTR2IDX(rcr->cursor)) in bm_rcr_finish() 215 if (rcr->ci != RCR_PTR2IDX(rcr->cursor)) in bm_rcr_finish() 228 dcbz_64(rcr->cursor); in bm_rcr_start() 229 return rcr->cursor; in bm_rcr_start() 251 dcbf_64(rcr->cursor); in bm_rcr_pend_and_next() 254 dcbz_64(rcr->cursor); in bm_rcr_pend_and_next() 255 return rcr->cursor; in bm_rcr_pend_and_next() [all …]
|
| /f-stack/app/redis-5.0.5/src/modules/ |
| H A D | helloblock.c | 142 long long cursor = 0; in HelloKeys_ThreadMain() local 149 "SCAN","l",(long long)cursor); in HelloKeys_ThreadMain() 158 RedisModule_StringToLongLong(s,&cursor); in HelloKeys_ThreadMain() 169 } while (cursor != 0); in HelloKeys_ThreadMain()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/phy/ |
| H A D | apm-xgene-phy.txt | 35 - apm,tx-pre-cursor1 : 1st pre-cursor emphasis taps control. Two set of 39 - apm,tx-pre-cursor2 : 2st pre-cursor emphasis taps control. Two set of 43 - apm,tx-post-cursor : Post-cursor emphasis taps control. Two set of
|
| /f-stack/app/redis-5.0.5/tests/unit/ |
| H A D | scan.tcl | 258 set cursor 0 261 while {!($cursor == 0 && $iteration != 0)} { 262 lassign [r sscan set $cursor] cursor items
|
| /f-stack/freebsd/contrib/zstd/lib/dictBuilder/ |
| H A D | zdict.c | 573 { U32 cursor; for (cursor=0; cursor < bufferSize; ) { in ZDICT_trainBuffer_legacy() local 575 if (doneMarks[cursor]) { cursor++; continue; } in ZDICT_trainBuffer_legacy() 576 …solution = ZDICT_analyzePos(doneMarks, suffix, reverseSuffix[cursor], buffer, minRatio, notificati… in ZDICT_trainBuffer_legacy() 577 if (solution.length==0) { cursor++; continue; } in ZDICT_trainBuffer_legacy() 579 cursor += solution.length; in ZDICT_trainBuffer_legacy() 580 DISPLAYUPDATE(2, "\r%4.2f %% \r", (double)cursor / bufferSize * 100); in ZDICT_trainBuffer_legacy()
|