/Linux-v5.4/arch/x86/um/shared/sysdep/ |
D | ptrace.h | 11 #define REGS_IP(r) ((r)[HOST_IP]) argument 12 #define REGS_SP(r) ((r)[HOST_SP]) argument 13 #define REGS_EFLAGS(r) ((r)[HOST_EFLAGS]) argument 14 #define REGS_AX(r) ((r)[HOST_AX]) argument 15 #define REGS_BX(r) ((r)[HOST_BX]) argument 16 #define REGS_CX(r) ((r)[HOST_CX]) argument 17 #define REGS_DX(r) ((r)[HOST_DX]) argument 18 #define REGS_SI(r) ((r)[HOST_SI]) argument 19 #define REGS_DI(r) ((r)[HOST_DI]) argument 20 #define REGS_BP(r) ((r)[HOST_BP]) argument [all …]
|
D | ptrace_64.h | 13 #define REGS_R8(r) ((r)[HOST_R8]) argument 14 #define REGS_R9(r) ((r)[HOST_R9]) argument 15 #define REGS_R10(r) ((r)[HOST_R10]) argument 16 #define REGS_R11(r) ((r)[HOST_R11]) argument 17 #define REGS_R12(r) ((r)[HOST_R12]) argument 18 #define REGS_R13(r) ((r)[HOST_R13]) argument 19 #define REGS_R14(r) ((r)[HOST_R14]) argument 20 #define REGS_R15(r) ((r)[HOST_R15]) argument 44 #define UPT_R8(r) REGS_R8((r)->gp) argument 45 #define UPT_R9(r) REGS_R9((r)->gp) argument [all …]
|
D | ptrace_32.h | 15 #define UPT_SYSCALL_ARG1(r) UPT_BX(r) argument 16 #define UPT_SYSCALL_ARG2(r) UPT_CX(r) argument 17 #define UPT_SYSCALL_ARG3(r) UPT_DX(r) argument 18 #define UPT_SYSCALL_ARG4(r) UPT_SI(r) argument 19 #define UPT_SYSCALL_ARG5(r) UPT_DI(r) argument 20 #define UPT_SYSCALL_ARG6(r) UPT_BP(r) argument
|
/Linux-v5.4/arch/x86/um/asm/ |
D | ptrace.h | 11 #define user_mode(r) UPT_IS_USER(&(r)->regs) argument 13 #define PT_REGS_AX(r) UPT_AX(&(r)->regs) argument 14 #define PT_REGS_BX(r) UPT_BX(&(r)->regs) argument 15 #define PT_REGS_CX(r) UPT_CX(&(r)->regs) argument 16 #define PT_REGS_DX(r) UPT_DX(&(r)->regs) argument 18 #define PT_REGS_SI(r) UPT_SI(&(r)->regs) argument 19 #define PT_REGS_DI(r) UPT_DI(&(r)->regs) argument 20 #define PT_REGS_BP(r) UPT_BP(&(r)->regs) argument 21 #define PT_REGS_EFLAGS(r) UPT_EFLAGS(&(r)->regs) argument 23 #define PT_REGS_CS(r) UPT_CS(&(r)->regs) argument [all …]
|
/Linux-v5.4/include/linux/ |
D | ptr_ring.h | 48 static inline bool __ptr_ring_full(struct ptr_ring *r) in __ptr_ring_full() 53 static inline bool ptr_ring_full(struct ptr_ring *r) in ptr_ring_full() 64 static inline bool ptr_ring_full_irq(struct ptr_ring *r) in ptr_ring_full_irq() 75 static inline bool ptr_ring_full_any(struct ptr_ring *r) in ptr_ring_full_any() 87 static inline bool ptr_ring_full_bh(struct ptr_ring *r) in ptr_ring_full_bh() 103 static inline int __ptr_ring_produce(struct ptr_ring *r, void *ptr) in __ptr_ring_produce() 123 static inline int ptr_ring_produce(struct ptr_ring *r, void *ptr) in ptr_ring_produce() 134 static inline int ptr_ring_produce_irq(struct ptr_ring *r, void *ptr) in ptr_ring_produce_irq() 145 static inline int ptr_ring_produce_any(struct ptr_ring *r, void *ptr) in ptr_ring_produce_any() 157 static inline int ptr_ring_produce_bh(struct ptr_ring *r, void *ptr) in ptr_ring_produce_bh() [all …]
|
D | refcount.h | 30 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() 41 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read() 74 static inline __must_check bool refcount_add_not_zero(unsigned int i, refcount_t *r) in refcount_add_not_zero() 79 static inline void refcount_add(unsigned int i, refcount_t *r) in refcount_add() 84 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() 89 static inline void refcount_inc(refcount_t *r) in refcount_inc() 94 static inline __must_check bool refcount_sub_and_test(unsigned int i, refcount_t *r) in refcount_sub_and_test() 99 static inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test() 104 static inline void refcount_dec(refcount_t *r) in refcount_dec()
|
/Linux-v5.4/drivers/gpu/drm/exynos/ |
D | regs-scaler.h | 79 #define _SCALER_HCOEF_DELTA(r, c) ((r) * 0x10 + (c) * 0x4) argument 80 #define _SCALER_VCOEF_DELTA(r, c) ((r) * 0x8 + (c) * 0x4) argument 82 #define SCALER_YHCOEF(r, c) (0x60 + _SCALER_HCOEF_DELTA((r), (c))) argument 83 #define SCALER_YVCOEF(r, c) (0xf0 + _SCALER_VCOEF_DELTA((r), (c))) argument 84 #define SCALER_CHCOEF(r, c) (0x140 + _SCALER_HCOEF_DELTA((r), (c))) argument 85 #define SCALER_CVCOEF(r, c) (0x1d0 + _SCALER_VCOEF_DELTA((r), (c))) argument 205 #define SCALER_SRC_CFG_GET_BYTE_SWAP(r) SCALER_GET(r, 6, 5) argument 207 #define SCALER_SRC_CFG_GET_COLOR_FORMAT(r) SCALER_GET(r, 4, 0) argument 231 #define SCALER_SRC_SPAN_GET_C_SPAN(r) SCALER_GET(r, 29, 16) argument 233 #define SCALER_SRC_SPAN_GET_Y_SPAN(r) SCALER_GET(r, 13, 0) argument [all …]
|
/Linux-v5.4/lib/ |
D | refcount.c | 64 bool refcount_add_not_zero_checked(unsigned int i, refcount_t *r) in refcount_add_not_zero_checked() 103 void refcount_add_checked(unsigned int i, refcount_t *r) in refcount_add_checked() 121 bool refcount_inc_not_zero_checked(refcount_t *r) in refcount_inc_not_zero_checked() 154 void refcount_inc_checked(refcount_t *r) in refcount_inc_checked() 180 bool refcount_sub_and_test_checked(unsigned int i, refcount_t *r) in refcount_sub_and_test_checked() 218 bool refcount_dec_and_test_checked(refcount_t *r) in refcount_dec_and_test_checked() 234 void refcount_dec_checked(refcount_t *r) in refcount_dec_checked() 256 bool refcount_dec_if_one(refcount_t *r) in refcount_dec_if_one() 275 bool refcount_dec_not_one(refcount_t *r) in refcount_dec_not_one() 314 bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) in refcount_dec_and_mutex_lock() [all …]
|
/Linux-v5.4/sound/soc/uniphier/ |
D | aio-core.c | 86 struct regmap *r = chip->regmap_sg; in aio_iecout_set_enable() local 109 struct regmap *r = chip->regmap; in aio_chip_set_pll() local 167 struct regmap *r = chip->regmap; in aio_chip_init() local 203 struct regmap *r = sub->aio->chip->regmap; in aio_init() local 252 struct regmap *r = sub->aio->chip->regmap; in aio_port_reset() local 280 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_ch() local 332 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_rate() local 451 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_fmt() local 518 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_clk() local 616 struct regmap *r = sub->aio->chip->regmap; in aio_port_set_param() local [all …]
|
/Linux-v5.4/sound/pci/ice1712/ |
D | hoontech.h | 30 #define ICE1712_STDSP24_0_BOX(r, x) r[0] = ((r[0] & ~3) | ((x)&3)) argument 31 #define ICE1712_STDSP24_0_DAREAR(r, x) r[0] = ((r[0] & ~4) | (((x)&1)<<2)) argument 32 #define ICE1712_STDSP24_1_CHN1(r, x) r[1] = ((r[1] & ~1) | ((x)&1)) argument 33 #define ICE1712_STDSP24_1_CHN2(r, x) r[1] = ((r[1] & ~2) | (((x)&1)<<1)) argument 34 #define ICE1712_STDSP24_1_CHN3(r, x) r[1] = ((r[1] & ~4) | (((x)&1)<<2)) argument 35 #define ICE1712_STDSP24_2_CHN4(r, x) r[2] = ((r[2] & ~1) | ((x)&1)) argument 36 #define ICE1712_STDSP24_2_MIDIIN(r, x) r[2] = ((r[2] & ~2) | (((x)&1)<<1)) argument 37 #define ICE1712_STDSP24_2_MIDI1(r, x) r[2] = ((r[2] & ~4) | (((x)&1)<<2)) argument 38 #define ICE1712_STDSP24_3_MIDI2(r, x) r[3] = ((r[3] & ~1) | ((x)&1)) argument 39 #define ICE1712_STDSP24_3_MUTE(r, x) r[3] = ((r[3] & ~2) | (((x)&1)<<1)) argument [all …]
|
/Linux-v5.4/fs/dlm/ |
D | recover.c | 250 static void recover_list_add(struct dlm_rsb *r) in recover_list_add() 263 static void recover_list_del(struct dlm_rsb *r) in recover_list_del() 277 struct dlm_rsb *r, *s; in recover_list_clear() local 307 static int recover_idr_add(struct dlm_rsb *r) in recover_idr_add() 332 static void recover_idr_del(struct dlm_rsb *r) in recover_idr_del() 347 struct dlm_rsb *r; in recover_idr_find() local 357 struct dlm_rsb *r; in recover_idr_clear() local 413 static void set_master_lkbs(struct dlm_rsb *r) in set_master_lkbs() 427 static void set_new_master(struct dlm_rsb *r) in set_new_master() 444 static int recover_master(struct dlm_rsb *r, unsigned int *count) in recover_master() [all …]
|
D | lock.c | 170 static void dlm_print_rsb(struct dlm_rsb *r) in dlm_print_rsb() 179 void dlm_dump_rsb(struct dlm_rsb *r) in dlm_dump_rsb() 243 static inline int is_remote(struct dlm_rsb *r) in is_remote() 288 static void queue_cast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rv) in queue_cast() 312 static inline void queue_cast_overlap(struct dlm_rsb *r, struct dlm_lkb *lkb) in queue_cast_overlap() 318 static void queue_bast(struct dlm_rsb *r, struct dlm_lkb *lkb, int rqmode) in queue_bast() 334 static inline void hold_rsb(struct dlm_rsb *r) in hold_rsb() 339 void dlm_hold_rsb(struct dlm_rsb *r) in dlm_hold_rsb() 347 static void put_rsb(struct dlm_rsb *r) in put_rsb() 357 void dlm_put_rsb(struct dlm_rsb *r) in dlm_put_rsb() [all …]
|
/Linux-v5.4/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_chip.c | 95 int r; in zd_ioread32v_locked() local 135 int i, j, r; in _zd_iowrite32v_async_locked() local 173 int r; in _zd_iowrite32v_locked() local 187 int r; in zd_iowrite16a_locked() local 225 int r; in zd_iowrite32a_locked() local 257 int r; in zd_ioread16() local 267 int r; in zd_ioread32() local 277 int r; in zd_iowrite16() local 287 int r; in zd_iowrite32() local 298 int r; in zd_ioread32v() local [all …]
|
/Linux-v5.4/arch/x86/kernel/cpu/resctrl/ |
D | core.c | 176 static unsigned int cbm_idx(struct rdt_resource *r, unsigned int closid) in cbm_idx() 201 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3]; in cache_alloc_hsw_probe() local 224 bool is_mba_sc(struct rdt_resource *r) in is_mba_sc() 242 static inline bool rdt_get_mb_table(struct rdt_resource *r) in rdt_get_mb_table() 253 static bool __get_mem_config_intel(struct rdt_resource *r) in __get_mem_config_intel() 279 static bool __rdt_get_mem_config_amd(struct rdt_resource *r) in __rdt_get_mem_config_amd() 303 static void rdt_get_cache_alloc_cfg(int idx, struct rdt_resource *r) in rdt_get_cache_alloc_cfg() 322 struct rdt_resource *r = &rdt_resources_all[type]; in rdt_get_cdp_config() local 363 mba_wrmsr_amd(struct rdt_domain *d, struct msr_param *m, struct rdt_resource *r) in mba_wrmsr_amd() 376 u32 delay_bw_map(unsigned long bw, struct rdt_resource *r) in delay_bw_map() [all …]
|
/Linux-v5.4/arch/powerpc/net/ |
D | bpf_jit32.h | 75 #define PPC_LBZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LBZ(r, base, i); \ argument 79 #define PPC_LD_OFFS(r, base, i) do { if ((i) < 32768) PPC_LD(r, base, i); \ argument 83 #define PPC_LWZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LWZ(r, base, i); \ argument 87 #define PPC_LHZ_OFFS(r, base, i) do { if ((i) < 32768) PPC_LHZ(r, base, i); \ argument 92 #define PPC_LL_OFFS(r, base, i) do { PPC_LD_OFFS(r, base, i); } while(0) argument 94 #define PPC_LL_OFFS(r, base, i) do { PPC_LWZ_OFFS(r, base, i); } while(0) argument 99 #define PPC_BPF_LOAD_CPU(r) \ argument 104 #define PPC_BPF_LOAD_CPU(r) \ argument 110 #define PPC_BPF_LOAD_CPU(r) do { PPC_LI(r, 0); } while(0) argument 113 #define PPC_LHBRX_OFFS(r, base, i) \ argument [all …]
|
/Linux-v5.4/arch/arm64/include/asm/ |
D | kvm_hyp.h | 18 #define read_sysreg_elx(r,nvh,vh) \ argument 28 #define write_sysreg_elx(v,r,nvh,vh) \ argument 43 #define read_sysreg_el0(r) read_sysreg_elx(r, _EL0, _EL02) argument 44 #define write_sysreg_el0(v,r) write_sysreg_elx(v, r, _EL0, _EL02) argument 45 #define read_sysreg_el1(r) read_sysreg_elx(r, _EL1, _EL12) argument 46 #define write_sysreg_el1(v,r) write_sysreg_elx(v, r, _EL1, _EL12) argument 47 #define read_sysreg_el2(r) read_sysreg_elx(r, _EL2, _EL1) argument 48 #define write_sysreg_el2(v,r) write_sysreg_elx(v, r, _EL2, _EL1) argument
|
/Linux-v5.4/drivers/gpu/host1x/hw/ |
D | hw_host1x05_sync.h | 74 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v() 78 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument 80 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v() 84 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument 122 static inline u32 host1x_sync_mlock_owner_chid_v(u32 r) in host1x_sync_mlock_owner_chid_v() 128 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v() 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 134 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v() 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 200 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v() [all …]
|
D | hw_host1x01_sync.h | 74 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v() 78 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument 80 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v() 84 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument 128 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v() 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 134 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v() 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 200 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v() 204 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument [all …]
|
D | hw_host1x02_sync.h | 74 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v() 78 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument 80 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v() 84 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument 128 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v() 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 134 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v() 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 200 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v() 204 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument [all …]
|
D | hw_host1x04_sync.h | 74 static inline u32 host1x_sync_cf_setup_base_v(u32 r) in host1x_sync_cf_setup_base_v() 78 #define HOST1X_SYNC_CF_SETUP_BASE_V(r) \ argument 80 static inline u32 host1x_sync_cf_setup_limit_v(u32 r) in host1x_sync_cf_setup_limit_v() 84 #define HOST1X_SYNC_CF_SETUP_LIMIT_V(r) \ argument 128 static inline u32 host1x_sync_mlock_owner_cpu_owns_v(u32 r) in host1x_sync_mlock_owner_cpu_owns_v() 132 #define HOST1X_SYNC_MLOCK_OWNER_CPU_OWNS_V(r) \ argument 134 static inline u32 host1x_sync_mlock_owner_ch_owns_v(u32 r) in host1x_sync_mlock_owner_ch_owns_v() 138 #define HOST1X_SYNC_MLOCK_OWNER_CH_OWNS_V(r) \ argument 200 static inline u32 host1x_sync_cfpeek_ptrs_cf_rd_ptr_v(u32 r) in host1x_sync_cfpeek_ptrs_cf_rd_ptr_v() 204 #define HOST1X_SYNC_CFPEEK_PTRS_CF_RD_PTR_V(r) \ argument [all …]
|
/Linux-v5.4/drivers/scsi/mpt3sas/ |
D | mpt3sas_config.c | 205 int r = 0; in _config_alloc_config_dma_memory() local 304 int r; in _config_request() local 494 int r; in mpt3sas_config_get_manufacturing_pg0() local 532 int r; in mpt3sas_config_get_manufacturing_pg7() local 569 int r; in mpt3sas_config_get_manufacturing_pg10() local 606 int r; in mpt3sas_config_get_manufacturing_pg11() local 643 int r; in mpt3sas_config_set_manufacturing_pg11() local 679 int r; in mpt3sas_config_get_bios_pg2() local 715 int r; in mpt3sas_config_get_bios_pg3() local 751 int r; in mpt3sas_config_get_iounit_pg0() local [all …]
|
/Linux-v5.4/drivers/md/ |
D | dm-thin-metadata.c | 419 int r; in __superblock_all_zeroes() local 486 int r; in save_sm_roots() local 518 int r; in __write_initial_superblock() local 564 int r; in __format_metadata() local 646 int r; in __open_metadata() local 714 int r, unformatted; in __open_or_format_metadata() local 728 int r; in __create_persistent_data_objects() local 755 int r; in __begin_transaction() local 782 int r; in __write_changed_details() local 817 int r; in __commit_transaction() local [all …]
|
/Linux-v5.4/drivers/iio/buffer/ |
D | kfifo_buf.c | 23 #define iio_to_kfifo(r) container_of(r, struct iio_kfifo, buffer) argument 42 static int iio_request_update_kfifo(struct iio_buffer *r) in iio_request_update_kfifo() 62 static int iio_mark_update_needed_kfifo(struct iio_buffer *r) in iio_mark_update_needed_kfifo() 69 static int iio_set_bytes_per_datum_kfifo(struct iio_buffer *r, size_t bpd) in iio_set_bytes_per_datum_kfifo() 78 static int iio_set_length_kfifo(struct iio_buffer *r, unsigned int length) in iio_set_length_kfifo() 90 static int iio_store_to_kfifo(struct iio_buffer *r, in iio_store_to_kfifo() 101 static int iio_read_first_n_kfifo(struct iio_buffer *r, in iio_read_first_n_kfifo() 121 static size_t iio_kfifo_buf_data_available(struct iio_buffer *r) in iio_kfifo_buf_data_available() 172 void iio_kfifo_free(struct iio_buffer *r) in iio_kfifo_free() 185 struct iio_buffer **r = res; in devm_iio_kfifo_match() local [all …]
|
/Linux-v5.4/arch/mips/include/asm/ |
D | cop2.h | 19 #define cop2_save(r) octeon_cop2_save(&(r)->thread.cp2) argument 20 #define cop2_restore(r) octeon_cop2_restore(&(r)->thread.cp2) argument 30 #define cop2_save(r) nlm_cop2_save(&(r)->thread.cp2) argument 31 #define cop2_restore(r) nlm_cop2_restore(&(r)->thread.cp2) argument 40 #define cop2_save(r) do { (void)(r); } while (0) argument 41 #define cop2_restore(r) do { (void)(r); } while (0) argument 47 #define cop2_save(r) do { (void)(r); } while (0) argument 48 #define cop2_restore(r) do { (void)(r); } while (0) argument
|
/Linux-v5.4/arch/x86/include/asm/ |
D | refcount.h | 42 static __always_inline void refcount_add(unsigned int i, refcount_t *r) in refcount_add() 51 static __always_inline void refcount_inc(refcount_t *r) in refcount_inc() 59 static __always_inline void refcount_dec(refcount_t *r) in refcount_dec() 68 bool refcount_sub_and_test(unsigned int i, refcount_t *r) in refcount_sub_and_test() 82 static __always_inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test() 97 bool refcount_add_not_zero(unsigned int i, refcount_t *r) in refcount_add_not_zero() 121 static __always_inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()
|