/linux-master/drivers/staging/rts5208/ |
H A D | general.c | 16 int i, cnt = 0; local 20 cnt++; 23 return cnt;
|
/linux-master/samples/trace_events/ |
H A D | trace-events-sample.c | 22 static void do_simple_thread_func(int cnt, const char *fmt, ...) argument 27 int len = cnt % 5; 40 trace_foo_bar("hello", cnt, array, random_strings[len], 45 trace_foo_with_template_simple("HELLO", cnt); 47 trace_foo_bar_with_cond("Some times print", cnt); 49 trace_foo_with_template_cond("prints other times", cnt); 51 trace_foo_with_template_print("I have to be different", cnt); 53 trace_foo_rel_loc("Hello __rel_loc", cnt, bitmask, current->cpus_ptr); 56 static void simple_thread_func(int cnt) argument 58 do_simple_thread_func(cnt, "ite 63 int cnt = 0; local 74 simple_thread_func_fn(int cnt) argument 86 int cnt = 0; local [all...] |
/linux-master/lib/ |
H A D | rcuref.c | 194 unsigned int cnt = atomic_read(&ref->refcnt); local 201 if (cnt >= RCUREF_RELEASED) { 214 if (WARN_ONCE(cnt > RCUREF_MAXREF, "rcuref saturated - leaking memory")) 238 unsigned int cnt = atomic_read(&ref->refcnt); local 241 if (likely(cnt == RCUREF_NOREF)) { 251 if (!atomic_try_cmpxchg_release(&ref->refcnt, &cnt, RCUREF_DEAD)) 267 if (WARN_ONCE(cnt >= RCUREF_RELEASED, "rcuref - imbalanced put()")) { 277 if (cnt > RCUREF_MAXREF)
|
H A D | find_bit_benchmark.c | 38 unsigned long i, cnt; local 42 for (cnt = i = 0; i < len; cnt++) { 47 pr_err("find_first_bit: %18llu ns, %6ld iterations\n", time, cnt); 55 unsigned long i, cnt; local 61 for (cnt = i = 0; i < len; cnt++) { 66 pr_err("find_first_and_bit: %18llu ns, %6ld iterations\n", time, cnt); 73 unsigned long i, cnt; local 77 for (cnt 87 unsigned long i, cnt; local 101 unsigned long l, cnt = 0; local 137 unsigned long i, cnt; local [all...] |
/linux-master/include/linux/ |
H A D | bottom_half.h | 9 extern void __local_bh_disable_ip(unsigned long ip, unsigned int cnt); 11 static __always_inline void __local_bh_disable_ip(unsigned long ip, unsigned int cnt) argument 13 preempt_count_add(cnt); 24 extern void __local_bh_enable_ip(unsigned long ip, unsigned int cnt);
|
/linux-master/arch/mips/fw/arc/ |
H A D | promlib.c | 41 O32_STATIC ULONG cnt; local 47 ArcWrite(1, &it, 1, &cnt); 53 O32_STATIC ULONG cnt; local 57 ArcRead(0, &c, 1, &cnt);
|
/linux-master/tools/perf/tests/workloads/ |
H A D | brstack.c | 7 static volatile int cnt; variable 19 if ((cnt++) % 3) /* branch (cond) */ 33 if ((cnt++) > num_loops)
|
/linux-master/arch/sh/mm/ |
H A D | flush-sh4.c | 16 reg_size_t aligned_start, v, cnt, end; local 22 cnt = (end - v) / L1_CACHE_BYTES; 24 while (cnt >= 8) { 33 cnt -= 8; 36 while (cnt) { 38 cnt--; 50 reg_size_t aligned_start, v, cnt, end; local 56 cnt = (end - v) / L1_CACHE_BYTES; 58 while (cnt >= 8) { 67 cnt 80 reg_size_t aligned_start, v, cnt, end; local [all...] |
/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe_hw_counters.c | 32 unsigned int cnt; local 37 for (cnt = 0; cnt < ARRAY_SIZE(rxe_counter_descs); cnt++) 38 stats->value[cnt] = atomic64_read(&dev->stats_counters[cnt]);
|
/linux-master/arch/arm64/lib/ |
H A D | uaccess_flushcache.c | 10 void memcpy_flushcache(void *dst, const void *src, size_t cnt) argument 17 memcpy(dst, src, cnt); 18 dcache_clean_pop((unsigned long)dst, (unsigned long)dst + cnt);
|
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/ |
H A D | func_traceonoff_triggers.tc | 33 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 103 cnt=`cnt_trace` 104 if [ $cnt [all...] |
/linux-master/arch/arm64/include/asm/ |
H A D | arch_timer.h | 67 u64 cnt; local 72 : "=r" (cnt)); 74 return cnt; 79 u64 cnt; local 84 : "=r" (cnt)); 86 return cnt; 172 u64 cnt; local 174 cnt = arch_timer_reg_read_stable(cntpct_el0); 175 arch_counter_enforce_ordering(cnt); 176 return cnt; 181 u64 cnt; local 193 u64 cnt; local 202 u64 cnt; local [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_d_path.c | 26 __u32 cnt = cnt_stat; local 34 if (cnt >= MAX_FILES) 36 ret = bpf_d_path(path, paths_stat[cnt], MAX_PATH_LEN); 38 rets_stat[cnt] = ret; 47 __u32 cnt = cnt_close; local 55 if (cnt >= MAX_FILES) 58 paths_close[cnt], MAX_PATH_LEN); 60 rets_close[cnt] = ret;
|
H A D | netcnt_prog.c | 29 union net_cnt *cnt; local 33 cnt = bpf_get_local_storage(&netcnt, 0); 40 __sync_fetch_and_add(&cnt->packets, 44 __sync_fetch_and_add(&cnt->bytes, 55 if (cnt->bytes + percpu_cnt->bytes - percpu_cnt->prev_bytes < dt) 62 percpu_cnt->prev_packets = cnt->packets; 63 percpu_cnt->prev_bytes = cnt->bytes;
|
/linux-master/drivers/staging/rtl8723bs/include/ |
H A D | sdio_ops_linux.h | 14 s32 _sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); 15 s32 _sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); 16 s32 sd_cmd52_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); 17 s32 sd_cmd52_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pdata); 21 s32 _sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); 22 s32 sd_read(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); 25 s32 _sd_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata); 26 s32 sd_write(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, void *pdata);
|
/linux-master/arch/m68k/sun3/ |
H A D | sun3ints.c | 53 unsigned int cnt; local 55 cnt = kstat_irqs_cpu(irq, 0); 56 if (!(cnt % 2000)) 57 sun3_leds(led_pattern[cnt % 16000 / 2000]); 64 unsigned int cnt; local 76 cnt = kstat_irqs_cpu(irq, 0); 77 if (!(cnt % 20)) 78 sun3_leds(led_pattern[cnt % 160 / 20]);
|
/linux-master/tools/testing/selftests/ftrace/test.d/event/ |
H A D | event-no-pid.tc | 79 cnt=`count_pid $mypid` 80 if [ $cnt -ne 0 ]; then 84 cnt=`count_no_pid $mypid` 85 if [ $cnt -eq 0 ]; then 106 cnt=`count_pid $mypid` 107 if [ $cnt -ne 0 ]; then 111 cnt=`count_pid $child` 112 if [ $cnt -ne 0 ]; then 116 cnt=`count_no_pid $mypid` 117 if [ $cnt [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tc_counters.c | 33 struct efx_tc_counter *cnt = ptr; local 35 WARN_ON(!list_empty(&cnt->users)); 39 * threads could still be obtaining new pointers to *cnt if they can 42 flush_work(&cnt->work); 43 EFX_WARN_ON_PARANOID(spin_is_locked(&cnt->lock)); 44 kfree(cnt); 89 struct efx_tc_counter *cnt = container_of(work, struct efx_tc_counter, work); local 95 spin_lock_bh(&cnt->lock); 96 touched = READ_ONCE(cnt->touched); 98 list_for_each_entry(act, &cnt 135 struct efx_tc_counter *cnt; local 172 efx_tc_flower_release_counter(struct efx_nic *efx, struct efx_tc_counter *cnt) argument 227 struct efx_tc_counter *cnt; local 328 struct efx_tc_counter *cnt; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | xpio.c | 29 dcb_xpiod_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) argument 31 u16 data = dcb_gpio_table(bios, ver, hdr, cnt, len); 37 *cnt = nvbios_rd08(bios, data + 0x02); 47 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) 49 u16 data = dcb_xpiod_table(bios, ver, hdr, cnt, len); 50 if (data && idx < *cnt) { 55 *cnt = nvbios_rd08(bios, data + 0x02); 65 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_xpio *info) 67 u16 data = dcb_xpio_table(bios, idx, ver, hdr, cnt, len); 46 dcb_xpio_table(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) argument 64 dcb_xpio_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_xpio *info) argument
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | timing.h | 7 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz); 9 u8 *ver, u8 *hdr, u8 *cnt, u8 *len); 11 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *);
|
/linux-master/block/ |
H A D | blk-cgroup-rwstat.h | 32 u64 cnt[BLKG_RWSTAT_NR]; member in struct:blkg_rwstat_sample 64 struct percpu_counter *cnt; local 67 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_DISCARD]; 69 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_WRITE]; 71 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_READ]; 73 percpu_counter_add_batch(cnt, val, BLKG_STAT_CPU_BATCH); 76 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_SYNC]; 78 cnt = &rwstat->cpu_cnt[BLKG_RWSTAT_ASYNC]; 80 percpu_counter_add_batch(cnt, val, BLKG_STAT_CPU_BATCH); 95 result->cnt[ [all...] |
/linux-master/tools/testing/selftests/ftrace/test.d/trigger/ |
H A D | trigger-trace-marker-synthetic.tc | 21 cnt=`grep 'hitcount: *1$' events/ftrace/print/hist | wc -l` 23 if [ $cnt -ne 2 ]; then
|
/linux-master/arch/mips/kernel/ |
H A D | cevt-r4k.c | 22 unsigned int cnt; local 25 cnt = read_c0_count(); 26 cnt += delta; 27 write_c0_compare(cnt); 28 res = ((int)(read_c0_count() - cnt) >= 0) ? -ETIME : 0; 51 unsigned int cnt, i, j, k, l; local 65 cnt = read_c0_count(); 66 write_c0_compare(cnt); 67 cnt = read_c0_count() - cnt; 196 unsigned int cnt; local [all...] |
/linux-master/drivers/counter/ |
H A D | Makefile | 11 obj-$(CONFIG_INTERRUPT_CNT) += interrupt-cnt.o 12 obj-$(CONFIG_RZ_MTU3_CNT) += rz-mtu3-cnt.o 13 obj-$(CONFIG_STM32_TIMER_CNT) += stm32-timer-cnt.o 14 obj-$(CONFIG_STM32_LPTIMER_CNT) += stm32-lptimer-cnt.o
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | monitor_stats.c | 80 static int fill_monitor_counter_ppcnt_set1(int cnt, u32 *in) argument 86 ppcnt_cnt++, cnt++) { 88 monitor_counter[cnt].type, 91 monitor_counter[cnt].counter, 97 static int fill_monitor_counter_q_counter_set1(int cnt, int q_counter, u32 *in) argument 100 monitor_counter[cnt].type, 103 monitor_counter[cnt].counter, 106 monitor_counter[cnt].counter_group_id, 119 int cnt = 0; local 122 max_num_of_counters >= (NUM_REQ_PPCNT_COUNTER_S1 + cnt)) [all...] |