Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 25 of 1173) sorted by relevance

12345678910>>...47

/linux/lib/
H A Dregion_alloc_benchmark.c28 unsigned long cnt, idx; in benchmark_bitmap() local
34 for (cnt = 0; cnt <= cap; cnt++) { in benchmark_bitmap()
35 idx = bitmap_find_next_zero_area(bitmap, cap, 0, reg_sz[cnt], 0); in benchmark_bitmap()
39 reg_idx[cnt] = idx; in benchmark_bitmap()
40 bitmap_set(bitmap, idx, reg_sz[cnt]); in benchmark_bitmap()
44 idx = cnt; in benchmark_bitmap()
55 alloc_time, free_time, cnt, cap, sz); in benchmark_bitmap()
57 return cnt; in benchmark_bitmap()
82 unsigned long cnt, idx, off, nr_ids = 0; benchmark_ida() local
129 unsigned long cnt, idx; benchmark_maple_tree() local
[all...]
H A Dfind_bit_benchmark.c38 unsigned long i, cnt; in test_find_first_bit() local
44 for (cnt = i = 0; i < len; cnt++) { in test_find_first_bit()
49 pr_err("find_first_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_first_bit()
58 unsigned long i, cnt; in test_find_first_and_bit() local
64 for (cnt = i = 0; i < len; cnt++) { in test_find_first_and_bit()
69 pr_err("find_first_and_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_first_and_bit()
76 unsigned long i, cnt; in test_find_next_bit() local
80 for (cnt = i = 0; i < BITMAP_LEN; cnt++) in test_find_next_bit()
83 pr_err("find_next_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_next_bit()
90 unsigned long i, cnt; in test_find_next_zero_bit() local
[all …]
/linux/fs/quota/
H A Ddquot.c430 int ret, err, cnt; in mark_all_dquot_dirty() local
434 for (cnt = 0; cnt < MAXQUOTAS; cnt++) { in mark_all_dquot_dirty()
435 dquot = srcu_dereference(dquots[cnt], &dquot_srcu); in mark_all_dquot_dirty()
447 unsigned int cnt; in dqput_all() local
449 for (cnt = 0; cnt < MAXQUOTAS; cnt++) in dqput_all()
450 dqput(dquot[cnt]); in dqput_all()
713 int cnt; dquot_writeback_dquots() local
769 int cnt; dquot_quota_sync() local
1032 int cnt; dqinit_needed() local
1414 int cnt, init_needed = 0; __dquot_initialize() local
1554 int cnt; __dquot_drop() local
1571 int cnt; dquot_drop() local
1640 int cnt, ret = 0, index; __dquot_alloc_space() local
1711 int cnt, ret = 0, index; dquot_alloc_inode() local
1760 int cnt, index; dquot_claim_space_nodirty() local
1801 int cnt, index; dquot_reclaim_space_nodirty() local
1840 unsigned int cnt; __dquot_free_space() local
1897 unsigned int cnt; dquot_free_inode() local
1948 int cnt, index, ret = 0, err; __dquot_transfer() local
2201 int cnt; dquot_disable() local
2464 int ret = 0, cnt; dquot_resume() local
[all...]
/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_traceonoff_triggers.tc33 cnt=`cnt_trace`
34 if [ $cnt -ne 0 ]; then
46 cnt=`cnt_trace`
47 if [ $cnt -eq 0 ]; then
75 cnt=`grep schedule set_ftrace_filter | wc -l`
76 if [ $cnt -ne 1 ]; then
80 cnt=`cnt_trace`
84 if [ $cnt -ne $cnt2 ]; then
104 cnt=`cnt_trace`
105 if [ $cnt -ne 0 ]; then
[all …]
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ctrl.c298 unsigned int uc,cnt; in gen_bitmask_string() local
309 cnt = scnprintf(ptr,len,"%s%s%s", in gen_bitmask_string()
314 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string()
323 cnt = scnprintf(ptr,len,"%s0x%lx", in gen_bitmask_string()
326 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string()
329 cnt = scnprintf(ptr,len,"%s+0x%lx", in gen_bitmask_string()
332 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string()
335 cnt = scnprintf(ptr,len,"%s+0x%lx", in gen_bitmask_string()
338 ptr += cnt; len -= cnt; uc += cnt; in gen_bitmask_string()
400 unsigned int cnt; in parse_tlist() local
[all …]
/linux/arch/sh/mm/
H A Dflush-sh4.c16 reg_size_t aligned_start, v, cnt, end; in sh4__flush_wback_region() local
22 cnt = (end - v) / L1_CACHE_BYTES; in sh4__flush_wback_region()
24 while (cnt >= 8) { in sh4__flush_wback_region()
33 cnt -= 8; in sh4__flush_wback_region()
36 while (cnt) { in sh4__flush_wback_region()
38 cnt--; in sh4__flush_wback_region()
50 reg_size_t aligned_start, v, cnt, end; in sh4__flush_purge_region() local
56 cnt = (end - v) / L1_CACHE_BYTES; in sh4__flush_purge_region()
58 while (cnt >= 8) { in sh4__flush_purge_region()
67 cnt -= 8; in sh4__flush_purge_region()
[all …]
/linux/tools/testing/selftests/kvm/loongarch/
H A Dpmu_test.c55 u64 cnt[4]; in guest_pmu_base_test() local
85 cnt[0] = csr_read(LOONGARCH_CSR_PERFCNTR0); in guest_pmu_base_test()
86 GUEST_PRINTF("csr_perfcntr0 is %lx\n", cnt[0]); in guest_pmu_base_test()
87 cnt[1] = csr_read(LOONGARCH_CSR_PERFCNTR1); in guest_pmu_base_test()
88 GUEST_PRINTF("csr_perfcntr1 is %lx\n", cnt[1]); in guest_pmu_base_test()
89 cnt[2] = csr_read(LOONGARCH_CSR_PERFCNTR2); in guest_pmu_base_test()
90 GUEST_PRINTF("csr_perfcntr2 is %lx\n", cnt[2]); in guest_pmu_base_test()
91 cnt[3] = csr_read(LOONGARCH_CSR_PERFCNTR3); in guest_pmu_base_test()
92 GUEST_PRINTF("csr_perfcntr3 is %lx\n", cnt[3]); in guest_pmu_base_test()
95 GUEST_ASSERT(cnt[0] > EXPECTED_CYCLES_MIN && cnt[0] < UPPER_BOUND); in guest_pmu_base_test()
[all …]
/linux/samples/trace_events/
H A Dtrace-events-sample.c22 static void do_simple_thread_func(int cnt, const char *fmt, ...) in do_simple_thread_func() argument
27 int len = cnt % 5; in do_simple_thread_func()
40 trace_foo_bar("hello", cnt, array, random_strings[len], in do_simple_thread_func()
45 trace_foo_with_template_simple("HELLO", cnt); in do_simple_thread_func()
47 trace_foo_bar_with_cond("Some times print", cnt); in do_simple_thread_func()
49 trace_foo_with_template_cond("prints other times", cnt); in do_simple_thread_func()
51 trace_foo_with_template_print("I have to be different", cnt); in do_simple_thread_func()
53 trace_foo_rel_loc("Hello __rel_loc", cnt, bitmask, current->cpus_ptr); in do_simple_thread_func()
56 static void simple_thread_func(int cnt) in simple_thread_func() argument
58 do_simple_thread_func(cnt, "iter=%d", cnt); in simple_thread_func()
[all …]
/linux/tools/testing/selftests/bpf/
H A Djit_disasm_helpers.c29 __u32 cnt; member
53 for (i = 0; i < labels->cnt; ++i) in lookup_symbol()
57 if (labels->cnt < MAX_LOCAL_LABELS && ref_value < labels->prog_len) in lookup_symbol()
58 labels->pcs[labels->cnt++] = ref_value; in lookup_symbol()
66 int i, cnt; in disasm_insn() local
68 cnt = LLVMDisasmInstruction(ctx, image + pc, len - pc, pc, in disasm_insn()
70 if (cnt > 0) in disasm_insn()
71 return cnt; in disasm_insn()
97 int i, cnt, err = 0; in disasm_one_func() local
116 cnt in disasm_one_func()
[all...]
/linux/drivers/iio/adc/
H A Dpac1934.c470 int cnt; in pac1934_get_samp_rate_idx()
472 for (cnt = 0; cnt < ARRAY_SIZE(samp_rate_map_tbl); cnt++) in pac1934_get_samp_rate_idx()
473 if (new_samp_rate == samp_rate_map_tbl[cnt]) in pac1934_get_samp_rate_idx()
474 return cnt; in pac1934_get_samp_rate_idx()
598 u32 samp_rate, cnt, tmp; in pac1934_reg_snapshot()
645 for (cnt = 0; cnt < info->phys_channels; cnt in pac1934_reg_snapshot()
469 int cnt; pac1934_get_samp_rate_idx() local
595 u32 samp_rate, cnt, tmp; pac1934_reg_snapshot() local
1223 int cnt, ret; pac1934_chip_configure() local
1338 int channel_size, attribute_count, cnt; pac1934_prep_iio_channels() local
1490 int cnt, ret; pac1934_probe() local
[all...]
/linux/drivers/usb/mon/
H A Dmon_text.c101 int cnt, limit; member
411 ptr.cnt = 0; in mon_text_read_t()
417 ptr.cnt += scnprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, in mon_text_read_t()
421 rp->printf_togo = ptr.cnt; in mon_text_read_t()
450 ptr.cnt = 0; in mon_text_read_u()
465 ptr.cnt += scnprintf(ptr.pbuf + ptr.cnt, ptr.limit - ptr.cnt, in mon_text_read_u()
469 rp->printf_togo = ptr.cnt; in mon_text_read_u()
523 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_t()
541 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_u()
552 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset()
[all …]
/linux/kernel/bpf/
H A Dfixups.c141 struct bpf_insn *insn, int cnt) in bpf_jit_find_kfunc_model()
145 for (i = 0; i < cnt; i++, insn++) { in bpf_jit_find_kfunc_model()
174 * insni[off, off + cnt). Adjust corresponding insn_aux_data by copying in sort_kfunc_descs_by_imm_off()
178 struct bpf_prog *new_prog, u32 off, u32 cnt, in sort_kfunc_descs_by_imm_off()
189 * (cnt == 1) is taken or not. There is no guarantee INSN at OFF is the in add_kfunc_in_insns()
192 data[off].zext_dst = bpf_insn_def32(new_prog, insn + off + cnt - 1) >= 0; in add_kfunc_in_insns()
194 if (cnt == 1) { in add_kfunc_in_insns()
206 memmove(data + off + cnt - 1, data + off, in get_callee_stack_depth()
207 sizeof(struct bpf_insn_aux_data) * (prog_len - off - cnt + 1)); in get_callee_stack_depth()
208 memset(data + off, 0, sizeof(struct bpf_insn_aux_data) * (cnt in get_callee_stack_depth()
190 add_kfunc_in_insns(struct bpf_verifier_env * env,struct bpf_insn * insn,int cnt) add_kfunc_in_insns() argument
222 adjust_insn_aux_data(struct bpf_verifier_env * env,struct bpf_prog * new_prog,u32 off,u32 cnt) adjust_insn_aux_data() argument
397 adjust_subprog_starts_after_remove(struct bpf_verifier_env * env,u32 off,u32 cnt) adjust_subprog_starts_after_remove() argument
457 bpf_adj_linfo_after_remove(struct bpf_verifier_env * env,u32 off,u32 cnt) bpf_adj_linfo_after_remove() argument
537 verifier_remove_insns(struct bpf_verifier_env * env,u32 off,u32 cnt) verifier_remove_insns() argument
770 int i, cnt, size, ctx_field_size, ret, delta = 0, epilogue_cnt = 0; bpf_convert_ctx_accesses() local
1507 int cnt = env->subprog_cnt; add_hidden_subprog() local
1546 int i, ret, cnt, delta = 0, cur_subprog = 0; bpf_do_misc_fixups() local
2459 int slots = delta, cnt = 0; bpf_do_misc_fixups() local
2537 u32 cnt = 0; inline_bpf_loop() local
2614 int i, cur_subprog = 0, cnt, delta = 0; bpf_optimize_bpf_loop() local
[all...]
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmonitor_stats.c80 static int fill_monitor_counter_ppcnt_set1(int cnt, u32 *in) in fill_monitor_counter_ppcnt_set1() argument
86 ppcnt_cnt++, cnt++) { in fill_monitor_counter_ppcnt_set1()
88 monitor_counter[cnt].type, in fill_monitor_counter_ppcnt_set1()
91 monitor_counter[cnt].counter, in fill_monitor_counter_ppcnt_set1()
97 static int fill_monitor_counter_q_counter_set1(int cnt, int q_counter, u32 *in) in fill_monitor_counter_q_counter_set1() argument
100 monitor_counter[cnt].type, in fill_monitor_counter_q_counter_set1()
103 monitor_counter[cnt].counter, in fill_monitor_counter_q_counter_set1()
106 monitor_counter[cnt].counter_group_id, in fill_monitor_counter_q_counter_set1()
119 int cnt = 0; in mlx5e_set_monitor_counter() local
122 max_num_of_counters >= (NUM_REQ_PPCNT_COUNTER_S1 + cnt)) in mlx5e_set_monitor_counter()
[all …]
/linux/tools/lib/subcmd/
H A Dhelp.c27 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); in add_cmdname()
28 cmds->names[cmds->cnt++] = ent; in add_cmdname()
35 for (i = 0; i < cmds->cnt; ++i) in clean_cmdnames()
38 cmds->cnt = 0; in clean_cmdnames()
53 if (!cmds->cnt) in uniq()
56 for (i = 1; i < cmds->cnt; i++) { in uniq()
60 for (i = 0, j = 0; i < cmds->cnt; i++) { in uniq()
68 cmds->cnt = j; in uniq()
78 if (!excludes->cnt) in exclude_cmds()
82 while (ci < cmds->cnt && ei < excludes->cnt) { in exclude_cmds()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Ddp.c29 nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_dp_table() argument
47 *cnt = nvbios_rd08(bios, data + 0x03); in nvbios_dp_table()
61 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_dpout_entry() argument
63 u16 data = nvbios_dp_table(bios, ver, hdr, cnt, len); in nvbios_dpout_entry()
64 if (data && idx < *cnt) { in nvbios_dpout_entry()
72 *cnt = nvbios_rd08(bios, outp + 0x04); in nvbios_dpout_entry()
78 *cnt = 0; in nvbios_dpout_entry()
92 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_dpout_parse() argument
95 u16 data = nvbios_dpout_entry(bios, idx, ver, hdr, cnt, len); in nvbios_dpout_parse()
139 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_dpout_match() argument
[all …]
H A Dboost.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) in nvbios_boostTe() argument
44 *cnt = nvbios_rd08(bios, boost + 5); in nvbios_boostTe()
60 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_boostEe() argument
63 u32 data = nvbios_boostTe(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_boostEe()
64 if (data && idx < *cnt) { in nvbios_boostEe()
67 *cnt = snr; in nvbios_boostEe()
76 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) in nvbios_boostEp() argument
78 u32 data = nvbios_boostEe(bios, idx, ver, hdr, cnt, len); in nvbios_boostEp()
90 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) in nvbios_boostEm() argument
93 while ((data = nvbios_boostEp(bios, idx++, ver, hdr, cnt, len, info))) { in nvbios_boostEm()
[all …]
H A Ddisp.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub) in nvbios_disp_table() argument
45 *cnt = nvbios_rd08(bios, data + 0x03); in nvbios_disp_table()
61 u8 hdr, cnt; in nvbios_disp_entry() local
62 u16 data = nvbios_disp_table(bios, ver, &hdr, &cnt, len, sub); in nvbios_disp_entry()
63 if (data && idx < cnt) in nvbios_disp_entry()
83 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_outp_entry() argument
88 *cnt = nvbios_rd08(bios, info.data + 0x05); in nvbios_outp_entry()
97 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *info) in nvbios_outp_parse() argument
99 u16 data = nvbios_outp_entry(bios, idx, ver, hdr, cnt, len); in nvbios_outp_parse()
117 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *info) in nvbios_outp_match() argument
[all …]
H A DM0205.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) in nvbios_M0205Te() argument
46 *cnt = nvbios_rd08(bios, data + 0x05); in nvbios_M0205Te()
59 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz, in nvbios_M0205Tp() argument
62 u32 data = nvbios_M0205Te(bios, ver, hdr, cnt, len, snr, ssz); in nvbios_M0205Tp()
76 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_M0205Ee() argument
79 u32 data = nvbios_M0205Te(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_M0205Ee()
80 if (data && idx < *cnt) { in nvbios_M0205Ee()
83 *cnt = snr; in nvbios_M0205Ee()
92 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_M0205Ep() argument
95 u32 data = nvbios_M0205Ee(bios, idx, ver, hdr, cnt, len); in nvbios_M0205Ep()
[all …]
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_vnic.c119 for (j = 0; j < chunk->cnt; j++) { in usnic_vnic_dump()
139 u16 cnt) in usnic_vnic_res_spec_update() argument
145 spec->resources[i].cnt = cnt; in usnic_vnic_res_spec_update()
166 if (min_spec->resources[i].cnt > in usnic_vnic_res_spec_satisfied()
167 res_spec->resources[i].cnt) in usnic_vnic_res_spec_satisfied()
188 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_spec_dump()
207 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_check_room()
222 return vnic->chunks[type].cnt; in usnic_vnic_res_cnt()
233 int cnt, void *owner) in usnic_vnic_get_resources() argument
239 if (usnic_vnic_res_free_cnt(vnic, type) < cnt || cnt < 0 || !owner) in usnic_vnic_get_resources()
[all …]
/linux/fs/ntfs/
H A Dbitmap.c179 s64 cnt = count; in __ntfs_bitmap_set_bits_in_run()
191 (unsigned long long)cnt, (unsigned int)value, in __ntfs_bitmap_set_bits_in_run()
194 if (start_bit < 0 || cnt < 0 || value > 1) in __ntfs_bitmap_set_bits_in_run()
199 * bits, i.e. @start_bit and @start_bit + @cnt - 1, respectively. in __ntfs_bitmap_set_bits_in_run()
202 end_index = (start_bit + cnt - 1) >> (3 + PAGE_SHIFT); in __ntfs_bitmap_set_bits_in_run()
229 ntfs_set_lcn_empty_bits(vol, index, value, min_t(s64, 8 - bit, cnt)); in __ntfs_bitmap_set_bits_in_run()
230 while ((bit & 7) && cnt) { in __ntfs_bitmap_set_bits_in_run()
231 cnt--; in __ntfs_bitmap_set_bits_in_run()
238 if (!cnt) in __ntfs_bitmap_set_bits_in_run()
246 * to @cnt in __ntfs_bitmap_set_bits_in_run()
125 s64 cnt = count; __ntfs_bitmap_set_bits_in_run() local
[all...]
/linux/kernel/
H A Dsoftirq.c133 * also in per CPU softirq_ctrl::cnt. This is necessary to allow tasks in a
145 int cnt; member
167 * Returns false if the per CPU softirq::cnt is 0 otherwise true.
176 return __this_cpu_read(softirq_ctrl.cnt) != 0; in local_bh_blocked()
179 void __local_bh_disable_ip(unsigned long ip, unsigned int cnt) in __local_bh_disable_ip() argument
199 DEBUG_LOCKS_WARN_ON(this_cpu_read(softirq_ctrl.cnt)); in __local_bh_disable_ip()
208 newcnt = this_cpu_add_return(softirq_ctrl.cnt, cnt); in __local_bh_disable_ip()
215 if (IS_ENABLED(CONFIG_TRACE_IRQFLAGS) && newcnt == cnt) { in __local_bh_disable_ip()
226 this_cpu_add(softirq_ctrl.cnt, cn in __local_bh_disable_ip()
239 __local_bh_enable(unsigned int cnt,bool unlock) __local_bh_enable() argument
281 __local_bh_enable_ip(unsigned long ip,unsigned int cnt) __local_bh_enable_ip() argument
394 __local_bh_disable_ip(unsigned long ip,unsigned int cnt) __local_bh_disable_ip() argument
426 __local_bh_enable(unsigned int cnt) __local_bh_enable() argument
450 __local_bh_enable_ip(unsigned long ip,unsigned int cnt) __local_bh_enable_ip() argument
[all...]
/linux/drivers/input/serio/
H A Dps2-gpio.c82 unsigned char cnt; member
86 unsigned char cnt; member
164 unsigned char byte, cnt; in ps2_gpio_irq_rx() local
170 cnt = drvdata->rx.cnt; in ps2_gpio_irq_rx()
183 if (us_delta > PS2_IRQ_MAX_INTERVAL_US && cnt) { in ps2_gpio_irq_rx()
200 switch (cnt) { in ps2_gpio_irq_rx()
218 byte |= (data << (cnt - 1)); in ps2_gpio_irq_rx()
250 cnt = byte = 0; in ps2_gpio_irq_rx()
258 cnt in ps2_gpio_irq_rx()
272 unsigned char byte, cnt; ps2_gpio_irq_tx() local
[all...]
/linux/tools/testing/selftests/ftrace/test.d/dynevent/
H A Dadd_remove_fprobe.tc33 cnt=`cat enabled_functions | wc -l`
34 if [ $cnt -eq $ocnt ]; then
44 cnt=`cat enabled_functions | wc -l`
45 if [ $cnt -eq $cnt2 ]; then
59 cnt=`cat enabled_functions | wc -l`
60 if [ $cnt -ne $ocnt ]; then
68 cnt=`cat enabled_functions | wc -l`
69 if [ $cnt -ne $((ocnt + 1)) ]; then
77 cnt=`cat enabled_functions | wc -l`
78 if [ $cnt -ne $ocnt ]; then
/linux/tools/perf/util/
H A Dthread-stack.c71 * @cnt: number of entries in the stack
90 size_t cnt; member
243 if (ts->cnt == ts->sz) { in thread_stack__push()
247 ts->cnt = 0; in thread_stack__push()
251 ts->stack[ts->cnt].trace_end = trace_end; in thread_stack__push()
252 ts->stack[ts->cnt++].ret_addr = ret_addr; in thread_stack__push()
270 for (i = ts->cnt; i; ) { in thread_stack__pop()
272 ts->cnt = i; in thread_stack__pop()
282 for (i = ts->cnt; i; ) { in thread_stack__pop_trace_end()
284 ts->cnt in thread_stack__pop_trace_end()
[all...]

12345678910>>...47