/kernel/linux/linux-5.10/include/asm-generic/ |
D | local.h | 29 #define local_read(l) atomic_long_read(&(l)->a) macro 51 #define __local_inc(l) local_set((l), local_read(l) + 1) 52 #define __local_dec(l) local_set((l), local_read(l) - 1) 53 #define __local_add(i,l) local_set((l), local_read(l) + (i)) 54 #define __local_sub(i,l) local_set((l), local_read(l) - (i))
|
D | local64.h | 30 #define local64_read(l) local_read(&(l)->a)
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | ring_buffer.c | 631 c = local_read(&t->cnt); in __rb_time_read() 632 top = local_read(&t->top); in __rb_time_read() 633 bottom = local_read(&t->bottom); in __rb_time_read() 634 } while (c != local_read(&t->cnt)); in __rb_time_read() 681 } while (cnt != local_read(&t->cnt)); in rb_time_set() 706 cnt = local_read(&t->cnt); in rb_time_cmpxchg() 775 read = local_read(&buffer->buffers[cpu]->pages_read); in ring_buffer_nr_dirty_pages() 776 cnt = local_read(&buffer->buffers[cpu]->pages_touched); in ring_buffer_nr_dirty_pages() 1732 return local_read(&bpage->entries) & RB_WRITE_MASK; in rb_page_entries() 1737 return local_read(&bpage->write) & RB_WRITE_MASK; in rb_page_write() [all …]
|
D | ring_buffer_benchmark.c | 124 commit = local_read(&rpage->commit) & 0xfffff; in read_page()
|
/kernel/linux/linux-5.10/include/linux/ |
D | part_stat.h | 78 local_read(&(part_stat_get(gendiskp, field))) 80 local_read(&(part_stat_get_cpu(gendiskp, field, cpu)))
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | local.h | 14 #define local_read(l) atomic_long_read(&(l)->a) macro 71 c = local_read(l); \
|
/kernel/linux/linux-5.10/kernel/events/ |
D | ring_buffer.c | 47 handle->wakeup = local_read(&rb->wakeup); in perf_output_get_handle() 76 head = local_read(&rb->head); in perf_output_put_handle() 125 if (unlikely(head != local_read(&rb->head))) { in perf_output_put_handle() 130 if (handle->wakeup != local_read(&rb->wakeup)) in perf_output_put_handle() 183 have_lost = local_read(&rb->lost); in __perf_output_begin() 194 offset = head = local_read(&rb->head); in __perf_output_begin() 230 if (unlikely(head - local_read(&rb->wakeup) > rb->watermark)) in __perf_output_begin()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | local.h | 16 #define local_read(l) atomic_long_read(&(l)->a) macro 140 c = local_read((l)); \
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | local.h | 19 #define local_read(l) atomic_long_read(&(l)->a) macro 144 c = local_read(l); \
|
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
D | coresight-stm.c | 267 if (local_read(&drvdata->mode) == CS_MODE_SYSFS) { in stm_disable() 382 if (!(drvdata && local_read(&drvdata->mode))) in stm_generic_set_options() 417 if (!(drvdata && local_read(&drvdata->mode))) in stm_generic_packet() 524 if (!local_read(&drvdata->mode)) { in port_select_show() 550 if (local_read(&drvdata->mode)) { in port_select_store() 571 if (!local_read(&drvdata->mode)) { in port_enable_show() 597 if (local_read(&drvdata->mode)) { in port_enable_store()
|
D | coresight-etm3x-core.c | 462 if (!local_read(&drvdata->mode)) in etm_get_trace_id() 646 mode = local_read(&drvdata->mode); in etm_disable() 698 if (local_read(&etmdrvdata[cpu]->mode)) in etm_starting_cpu() 710 if (local_read(&etmdrvdata[cpu]->mode)) in etm_dying_cpu()
|
D | coresight-etm4x-core.c | 592 mode = local_read(&drvdata->mode); in etm4_disable() 1131 if (local_read(&etmdrvdata[cpu]->mode)) in etm4_starting_cpu() 1143 if (local_read(&etmdrvdata[cpu]->mode)) in etm4_dying_cpu() 1412 if (local_read(&drvdata->mode)) in etm4_cpu_pm_notify()
|
D | coresight-etm3x-sysfs.c | 724 if (!local_read(&drvdata->mode)) { in cntr_val_show() 943 if (!local_read(&drvdata->mode)) { in seq_curr_state_show()
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | local_ops.rst | 121 the data seen by local_read across CPUs must be considered to be out of order 126 sum += local_read(&per_cpu(counters, cpu)); 128 If you want to use a remote local_read to synchronize access to a resource 178 local_read(&per_cpu(counters, cpu)));
|
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
D | bts.c | 152 index = local_read(&buf->head); in bts_config_buffer() 479 old_head = local_read(&buf->head); in intel_bts_interrupt() 483 if (old_head == local_read(&buf->head)) in intel_bts_interrupt()
|
D | pt.c | 1611 to = local_read(&buf->data_size); in pt_event_snapshot_aux()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | local.h | 20 static __inline__ long local_read(const local_t *l) in local_read() function
|
/kernel/linux/linux-5.10/arch/mips/math-emu/ |
D | me-debugfs.c | 25 sum += local_read(pv); in fpuemu_stat_get()
|
/kernel/linux/linux-5.10/include/linux/qed/ |
D | qed_rdma_if.h | 235 bool local_read; member
|
/kernel/linux/linux-5.10/block/ |
D | blk-iocost.c | 1527 u32 this_met = local_read(&stat->missed[rw].nr_met); in ioc_lat_stat() 1528 u32 this_missed = local_read(&stat->missed[rw].nr_missed); in ioc_lat_stat()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | verbs.c | 2998 mr->hw_mr.local_read = 1; in qedr_reg_user_mr() 3093 mr->hw_mr.local_read = 1; in __qedr_alloc_mr() 3222 mr->hw_mr.local_read = 1; in qedr_get_dma_mr()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_rdma.c | 1544 params->local_read); in qed_rdma_register_tid()
|