/third_party/lwip/src/include/lwip/ |
H A D | stats.h | 3 * Statistics API (to be used from TCPIP thread) 18 * 3. The name of the author may not be used to endorse or promote products 104 mem_size_t used; member 111 STAT_COUNTER used; member 311 #define STATS_INC_USED(x, y, type) do { lwip_stats.x.used = (type)(lwip_stats.x.used + y); \ 312 if (lwip_stats.x.max < lwip_stats.x.used) { \ 313 lwip_stats.x.max = lwip_stats.x.used; \
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | signal.c | 331 unsigned int used, ext_sz; in protected_save_fp_context() local 334 used = used_math() ? USED_FP : 0; in protected_save_fp_context() 335 if (!used) in protected_save_fp_context() 339 used |= USED_FR1; in protected_save_fp_context() 341 used |= USED_HYBRID_FPRS; in protected_save_fp_context() 373 used |= ext_sz ? USED_EXTCONTEXT : 0; in protected_save_fp_context() 375 return __put_user(used, used_math); in protected_save_fp_context() 384 unsigned int used; in protected_restore_fp_context() local 387 err = __get_user(used, used_math); in protected_restore_fp_context() 388 conditional_used_math(used in protected_restore_fp_context() [all...] |
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | signal.c | 330 unsigned int used, ext_sz; in protected_save_fp_context() local 333 used = used_math() ? USED_FP : 0; in protected_save_fp_context() 334 if (!used) in protected_save_fp_context() 338 used |= USED_FR1; in protected_save_fp_context() 340 used |= USED_HYBRID_FPRS; in protected_save_fp_context() 372 used |= ext_sz ? USED_EXTCONTEXT : 0; in protected_save_fp_context() 374 return __put_user(used, used_math); in protected_save_fp_context() 383 unsigned int used; in protected_restore_fp_context() local 386 err = __get_user(used, used_math); in protected_restore_fp_context() 387 conditional_used_math(used in protected_restore_fp_context() [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_descriptor_set.c | 152 * used for the last binding in the descriptor set layout (i.e. the in vn_descriptor_set_layout_init() 161 * used. in vn_descriptor_set_layout_init() 379 if (pool->used.set_count == pool->max.set_count) in vn_descriptor_pool_alloc_descriptors() 383 recovery = pool->used; in vn_descriptor_pool_alloc_descriptors() 385 ++pool->used.set_count; in vn_descriptor_pool_alloc_descriptors() 397 * used to create the descriptor pool. in vn_descriptor_pool_alloc_descriptors() 400 if (++pool->used.iub_binding_count > pool->max.iub_binding_count) { in vn_descriptor_pool_alloc_descriptors() 402 pool->used = recovery; in vn_descriptor_pool_alloc_descriptors() 408 pool->used.descriptor_counts[type_index] += count; in vn_descriptor_pool_alloc_descriptors() 410 if (pool->used in vn_descriptor_pool_alloc_descriptors() [all...] |
/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | util.h | 38 size_t size, used; \ 45 (heap)->used = 0; \ 64 for (; _j * 2 + 1 < (h)->used; _j = _r) { \ 66 if (_r + 1 < (h)->used && \ 91 size_t _i = (h)->used++; \ 102 bool _r = (h)->used; \ 105 (h)->used--; \ 106 heap_swap(h, 0, (h)->used); \ 112 #define heap_peek(h) ((h)->used ? (h)->data[0] : NULL) 114 #define heap_full(h) ((h)->used [all...] |
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | util.h | 36 size_t size, used; \ 43 (heap)->used = 0; \ 62 for (; _j * 2 + 1 < (h)->used; _j = _r) { \ 64 if (_r + 1 < (h)->used && \ 89 size_t _i = (h)->used++; \ 100 bool _r = (h)->used; \ 103 (h)->used--; \ 104 heap_swap(h, 0, (h)->used); \ 110 #define heap_peek(h) ((h)->used ? (h)->data[0] : NULL) 112 #define heap_full(h) ((h)->used [all...] |
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_jack.c | 78 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_tbl_get_mst() 100 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_tbl_get_from_tag() 115 for (i = 0; i < codec->jacktbl.used; i++, jack++) in any_jack_tbl_get_from_nid() 155 jack->tag = codec->jacktbl.used; in snd_hda_jack_tbl_new() 166 for (i = 0; i < codec->jacktbl.used; i++, jack++) { in snd_hda_jack_tbl_disconnect() 177 for (i = 0; i < codec->jacktbl.used; i++, jack++) { in snd_hda_jack_tbl_clear() 238 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_set_dirty_all() 409 * This function is used in the case of key is generated from one NID while is 476 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_report_sync() 484 for (i = 0; i < codec->jacktbl.used; in snd_hda_jack_report_sync() [all...] |
/third_party/lwip/test/unit/tcp/ |
H A D | test_tcp.c | 19 /* used with check_seqnos() */ 87 fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST() 92 fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST() 94 fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST() 112 fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST() 197 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST() 199 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST() 251 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 1); in START_TEST() 253 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0); in START_TEST() 436 EXPECT(MEMP_STATS_GET(used, MEMP_TCP_PC in START_TEST() [all...] |
/kernel/linux/linux-5.10/include/linux/qed/ |
H A D | qed_chain.h | 211 u16 used; in qed_chain_get_elem_used() local 216 used = (u16)(prod - cons); in qed_chain_get_elem_used() 218 used -= (u16)(prod / elem_per_page - cons / elem_per_page); in qed_chain_get_elem_used() 220 return used; in qed_chain_get_elem_used() 233 u32 used; in qed_chain_get_elem_used_u32() local 238 used = (u32)(prod - cons); in qed_chain_get_elem_used_u32() 240 used -= (u32)(prod / elem_per_page - cons / elem_per_page); in qed_chain_get_elem_used_u32() 242 return used; in qed_chain_get_elem_used_u32()
|
/kernel/linux/linux-6.6/include/linux/qed/ |
H A D | qed_chain.h | 211 u16 used; in qed_chain_get_elem_used() local 216 used = (u16)(prod - cons); in qed_chain_get_elem_used() 218 used -= (u16)(prod / elem_per_page - cons / elem_per_page); in qed_chain_get_elem_used() 220 return used; in qed_chain_get_elem_used() 233 u32 used; in qed_chain_get_elem_used_u32() local 238 used = (u32)(prod - cons); in qed_chain_get_elem_used_u32() 240 used -= (u32)(prod / elem_per_page - cons / elem_per_page); in qed_chain_get_elem_used_u32() 242 return used; in qed_chain_get_elem_used_u32()
|
/third_party/libwebsockets/lib/core-net/ |
H A D | service.c | 292 /* this is used by the platform service code to stop us waiting for network 473 int used, int buffered, const char *hint) in lws_buflist_aware_finished_consuming() 480 if (!used && buffered) in lws_buflist_aware_finished_consuming() 483 if (used && buffered) { in lws_buflist_aware_finished_consuming() 486 (size_t)used); in lws_buflist_aware_finished_consuming() 499 if (used < ebuf->len && ebuf->len >= 0 && used >= 0) { in lws_buflist_aware_finished_consuming() 501 ebuf->token + used, in lws_buflist_aware_finished_consuming() 502 (unsigned int)(ebuf->len - used)); in lws_buflist_aware_finished_consuming() 472 lws_buflist_aware_finished_consuming(struct lws *wsi, struct lws_tokens *ebuf, int used, int buffered, const char *hint) lws_buflist_aware_finished_consuming() argument
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | wl.c | 14 * eraseblocks are of two types - used and free. Used physical eraseblocks are 26 * The wear-leveling is ensured by means of moving the contents of used 38 * "free" or "used". Free eraseblock are kept in the @wl->free RB-tree, while 39 * used eraseblocks are kept in @wl->used, @wl->erroneous, or @wl->scrub 45 * @wl->used tree. There is a protection queue in between where this 63 * used. The former state corresponds to the @wl->free tree. The latter state 65 * o the WL movement is allowed (@wl->used tree); 71 * Depending on the sub-state, wear-leveling entries of the used physical 100 * exceeded, the WL sub-system starts moving data from used physica [all...] |
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | wl.c | 14 * eraseblocks are of two types - used and free. Used physical eraseblocks are 26 * The wear-leveling is ensured by means of moving the contents of used 38 * "free" or "used". Free eraseblock are kept in the @wl->free RB-tree, while 39 * used eraseblocks are kept in @wl->used, @wl->erroneous, or @wl->scrub 45 * @wl->used tree. There is a protection queue in between where this 63 * used. The former state corresponds to the @wl->free tree. The latter state 65 * o the WL movement is allowed (@wl->used tree); 71 * Depending on the sub-state, wear-leveling entries of the used physical 100 * exceeded, the WL sub-system starts moving data from used physica [all...] |
/third_party/python/Include/cpython/ |
H A D | setobject.h | 40 Py_ssize_t used; /* Number active entries */ member 54 Py_hash_t hash; /* Only used by frozenset objects */ 62 (assert(PyAnySet_Check(so)), (((PySetObject *)(so))->used))
|
/kernel/linux/linux-5.10/fs/jffs2/ |
H A D | debug.c | 35 JFFS2_ERROR("free %#08x + dirty %#08x + used %#08x + wasted %#08x + unchecked %#08x != total %#08x.\n", in __jffs2_dbg_acct_sanity_check_nolock() 44 JFFS2_ERROR("free %#08x + dirty %#08x + used %#08x + erasing %#08x + bad %#08x + wasted %#08x + unchecked %#08x != total %#08x.\n", in __jffs2_dbg_acct_sanity_check_nolock() 163 uint32_t free = 0, dirty = 0, used = 0, wasted = 0, in __jffs2_dbg_superblock_counts() local 172 used += c->gcblock->used_size; in __jffs2_dbg_superblock_counts() 180 used += c->nextblock->used_size; in __jffs2_dbg_superblock_counts() 188 used += jeb->used_size; in __jffs2_dbg_superblock_counts() 196 used += jeb->used_size; in __jffs2_dbg_superblock_counts() 204 used += jeb->used_size; in __jffs2_dbg_superblock_counts() 212 used += jeb->used_size; in __jffs2_dbg_superblock_counts() 220 used in __jffs2_dbg_superblock_counts() [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | coredump.c | 66 int used, size; member 93 free = cn->size - cn->used; in cn_vprintf() 96 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf() 100 cn->used += need; in cn_vprintf() 125 int cur = cn->used; in cn_esc_printf() 138 if ((cn->used - cur == 1 && cn->corename[cur] == '.') || in cn_esc_printf() 139 (cn->used - cur == 2 && cn->corename[cur] == '.' in cn_esc_printf() 144 * Empty names are fishy and could be used to create a "//" in a in cn_esc_printf() 149 if (cn->used == cur) in cn_esc_printf() 153 for (; cur < cn->used; in cn_esc_printf() [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | coredump.c | 66 int used, size; member 94 free = cn->size - cn->used; in cn_vprintf() 97 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf() 101 cn->used += need; in cn_vprintf() 126 int cur = cn->used; in cn_esc_printf() 139 if ((cn->used - cur == 1 && cn->corename[cur] == '.') || in cn_esc_printf() 140 (cn->used - cur == 2 && cn->corename[cur] == '.' in cn_esc_printf() 145 * Empty names are fishy and could be used to create a "//" in a in cn_esc_printf() 150 if (cn->used == cur) in cn_esc_printf() 154 for (; cur < cn->used; in cn_esc_printf() [all...] |
/kernel/linux/linux-6.6/fs/jffs2/ |
H A D | debug.c | 35 JFFS2_ERROR("free %#08x + dirty %#08x + used %#08x + wasted %#08x + unchecked %#08x != total %#08x.\n", in __jffs2_dbg_acct_sanity_check_nolock() 44 JFFS2_ERROR("free %#08x + dirty %#08x + used %#08x + erasing %#08x + bad %#08x + wasted %#08x + unchecked %#08x != total %#08x.\n", in __jffs2_dbg_acct_sanity_check_nolock() 163 uint32_t free = 0, dirty = 0, used = 0, wasted = 0, in __jffs2_dbg_superblock_counts() local 172 used += c->gcblock->used_size; in __jffs2_dbg_superblock_counts() 180 used += c->nextblock->used_size; in __jffs2_dbg_superblock_counts() 188 used += jeb->used_size; in __jffs2_dbg_superblock_counts() 196 used += jeb->used_size; in __jffs2_dbg_superblock_counts() 204 used += jeb->used_size; in __jffs2_dbg_superblock_counts() 212 used += jeb->used_size; in __jffs2_dbg_superblock_counts() 220 used in __jffs2_dbg_superblock_counts() [all...] |
/kernel/linux/linux-6.6/drivers/vdpa/pds/ |
H A D | vdpa_dev.c | 179 u16 used; in pds_vdpa_set_vq_state() local 190 used = state->packed.last_used_idx | in pds_vdpa_set_vq_state() 193 /* The avail and used index are stored with the packed wrap in pds_vdpa_set_vq_state() 200 used ^= PDS_VDPA_PACKED_INVERT_IDX; in pds_vdpa_set_vq_state() 205 * the current used index the next time the vq is kicked. in pds_vdpa_set_vq_state() 207 used = avail; in pds_vdpa_set_vq_state() 210 if (used != avail) { in pds_vdpa_set_vq_state() 211 dev_dbg(dev, "Setting used equal to avail, for interoperability\n"); in pds_vdpa_set_vq_state() 212 used = avail; in pds_vdpa_set_vq_state() 216 pdsv->vqs[qid].used_idx = used; in pds_vdpa_set_vq_state() 229 u16 used; pds_vdpa_get_vq_state() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ipsec.c | 116 if (r->used) { in ixgbevf_ipsec_restore() 123 if (t->used) { in ixgbevf_ipsec_restore() 150 if (!ipsec->rx_tbl[i].used) in ixgbevf_ipsec_find_empty_idx() 159 if (!ipsec->tx_tbl[i].used) in ixgbevf_ipsec_find_empty_idx() 300 rsa.used = true; in ixgbevf_ipsec_add_sa() 354 tsa.used = true; in ixgbevf_ipsec_add_sa() 400 if (!ipsec->rx_tbl[sa_idx].used) { in ixgbevf_ipsec_del_sa() 413 if (!ipsec->tx_tbl[sa_idx].used) { in ixgbevf_ipsec_del_sa() 490 if (unlikely(!tsa->used)) { in ixgbevf_ipsec_tx()
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_jack.c | 78 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_tbl_get_mst() 100 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_tbl_get_from_tag() 115 for (i = 0; i < codec->jacktbl.used; i++, jack++) in any_jack_tbl_get_from_nid() 155 jack->tag = codec->jacktbl.used; in snd_hda_jack_tbl_new() 166 for (i = 0; i < codec->jacktbl.used; i++, jack++) { in snd_hda_jack_tbl_clear() 227 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_set_dirty_all() 402 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_report_sync() 410 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_report_sync() 673 for (i = 0; i < codec->jacktbl.used; i++, jack++) { in snd_hda_jack_poll_all()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/ |
H A D | gc2235.h | 143 bool used; member 541 .used = 0, 557 .used = 0, 572 .used = 0, 598 .used = 0, 613 .used = 0, 628 .used = 0, 649 .used = 0, 664 .used = 0,
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/i2c/ |
H A D | gc2235.h | 137 bool used; member 533 .used = 0, 546 .used = 0, 558 .used = 0, 581 .used = 0, 593 .used = 0, 605 .used = 0, 623 .used = 0, 635 .used = 0,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ipsec.c | 116 if (r->used) { in ixgbevf_ipsec_restore() 123 if (t->used) { in ixgbevf_ipsec_restore() 150 if (!ipsec->rx_tbl[i].used) in ixgbevf_ipsec_find_empty_idx() 159 if (!ipsec->tx_tbl[i].used) in ixgbevf_ipsec_find_empty_idx() 306 rsa.used = true; in ixgbevf_ipsec_add_sa() 360 tsa.used = true; in ixgbevf_ipsec_add_sa() 406 if (!ipsec->rx_tbl[sa_idx].used) { in ixgbevf_ipsec_del_sa() 419 if (!ipsec->tx_tbl[sa_idx].used) { in ixgbevf_ipsec_del_sa() 496 if (unlikely(!tsa->used)) { in ixgbevf_ipsec_tx()
|
/third_party/elfutils/libdwfl/ |
H A D | frame_unwind.c | 91 size_t used; member 98 if (stack->used >= DWARF_EXPR_STACK_MAX) in do_push() 103 if (stack->used == stack->allocated) in do_push() 116 stack->addrs[stack->used++] = val; in do_push() 123 if (stack->used == 0) in do_pop() 128 *val = stack->addrs[--stack->used]; in do_pop() 148 .used = 0, in expr_eval() 258 if (stack.used <= op->number) in expr_eval() 264 if (! push (stack.addrs[stack.used - 1 - op->number])) in expr_eval() 453 // Not used b in expr_eval() [all...] |