Home
last modified time | relevance | path

Searched defs:ptr (Results 51 – 75 of 1781) sorted by relevance

12345678910>>...72

/linux/arch/alpha/include/asm/
H A Duaccess.h18 #define put_user(x, ptr) \ argument
20 #define get_user(x, ptr) \ argument
28 #define __put_user(x, ptr) \ argument
30 #define __get_user(x, ptr) \ argument
47 #define __get_user_nocheck(x, ptr, size) \ argument
63 #define __get_user_check(x, ptr, size) \ argument
115 #define __put_user_nocheck(x, ptr, size) \ argument
129 #define __put_user_check(x, ptr, size) \ argument
H A Dcmpxchg.h100 ____xchg(volatile void *ptr, unsigned long x, int size) in ____xchg()
217 ____cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, in ____cmpxchg()
228 #define xchg_local(ptr, x) \ argument
235 #define arch_cmpxchg_local(ptr, o, n) \ argument
244 #define arch_cmpxchg64_local(ptr, o, n) \ argument
254 #define arch_xchg(ptr, x) \ argument
265 #define arch_cmpxchg(ptr, o, n) \ argument
277 #define arch_cmpxchg64(ptr, o, n) \ argument
/linux/arch/x86/include/asm/
H A Dcmpxchg_32.h32 static __always_inline u64 __cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64()
37 static __always_inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in __cmpxchg64_local()
61 static __always_inline bool __try_cmpxchg64(volatile u64 *ptr, u64 *oldp, u64 new) in __try_cmpxchg64()
66 static __always_inline bool __try_cmpxchg64_local(volatile u64 *ptr, u64 *oldp, u64 new) in __try_cmpxchg64_local()
105 static __always_inline u64 arch_cmpxchg64(volatile u64 *ptr, u64 old, u64 new) in arch_cmpxchg64()
111 static __always_inline u64 arch_cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) in arch_cmpxchg64_local()
139 static __always_inline bool arch_try_cmpxchg64(volatile u64 *ptr, u64 *oldp, u64 new) in arch_try_cmpxchg64()
145 static __always_inline bool arch_try_cmpxchg64_local(volatile u64 *ptr, u64 *oldp, u64 new) in arch_try_cmpxchg64_local()
/linux/arch/sh/include/asm/
H A Dcmpxchg.h26 #define __arch_xchg(ptr, x, size) \ argument
49 #define arch_xchg(ptr,x) \ argument
56 static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, in __cmpxchg()
69 #define arch_cmpxchg(ptr,o,n) \ argument
79 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument
/linux/mm/
H A Dexecmem.c137 static int execmem_force_rw(void *ptr, size_t size) in execmem_force_rw()
150 int execmem_restore_rox(void *ptr, size_t size) in execmem_restore_rox()
183 static int execmem_cache_add_locked(void *ptr, size_t size, gfp_t gfp_mask) in execmem_cache_add_locked()
206 static int execmem_cache_add(void *ptr, size_t size, gfp_t gfp_mask) in execmem_cache_add()
236 void *area, *ptr = NULL; in __execmem_cache_alloc() local
261 void *ptr = (void *)(addr + size); in __execmem_cache_alloc() local
339 static inline bool is_pending_free(void *ptr) in is_pending_free()
344 static inline void *pending_free_set(void *ptr) in pending_free_set()
349 static inline void *pending_free_clear(void *ptr) in pending_free_clear()
354 static int __execmem_cache_free(struct ma_state *mas, void *ptr, gfp_t gfp_mask) in __execmem_cache_free()
[all …]
/linux/arch/mips/include/asm/
H A Duaccess.h66 #define put_user(x, ptr) \ argument
92 #define get_user(x, ptr) \ argument
121 #define __put_user(x, ptr) \ argument
169 #define __get_user(x, ptr) \ argument
199 #define __GET_DW(val, insn, ptr) __get_data_asm_ll32(val, insn, ptr) argument
202 #define __GET_DW(val, insn, ptr) __get_data_asm(val, insn, ptr) argument
292 #define __PUT_DW(insn, ptr) __put_data_asm_ll32(insn, ptr) argument
295 #define __PUT_DW(insn, ptr) __put_data_asm(insn, ptr) argument
298 #define __put_data_asm(insn, ptr) \ argument
316 #define __put_data_asm_ll32(insn, ptr) \ argument
H A Dpaccess.h28 #define put_dbe(x, ptr) __put_dbe((x), (ptr), sizeof(*(ptr))) argument
29 #define get_dbe(x, ptr) __get_dbe((x), (ptr), sizeof(*(ptr))) argument
34 #define __get_dbe(x, ptr, size) \ argument
74 #define __put_dbe(x, ptr, size) \ argument
/linux/fs/nilfs2/
H A Ddirect.c30 __u64 key, __u64 ptr) in nilfs_direct_set_ptr()
38 __u64 ptr; in nilfs_direct_lookup() local
55 __u64 ptr, ptr2; in nilfs_direct_lookup_contig() local
100 __u64 ptr; in nilfs_direct_find_target_v() local
111 static int nilfs_direct_insert(struct nilfs_bmap *bmap, __u64 key, __u64 ptr) in nilfs_direct_insert()
211 __u64 ptr; in nilfs_direct_gather_data() local
267 __u64 ptr; in nilfs_direct_propagate() local
296 __u64 key, __u64 ptr, in nilfs_direct_assign_v()
316 __u64 key, __u64 ptr, in nilfs_direct_assign_p()
336 __u64 ptr; in nilfs_direct_assign() local
/linux/tools/testing/selftests/mm/
H A Dhmm-tests.c39 void *ptr; member
303 int *ptr; in TEST_F() local
367 int *ptr; in TEST_F() local
426 int *ptr; in TEST_F() local
474 int *ptr; in TEST_F() local
544 int *ptr; in TEST_F() local
649 int *ptr; in TEST_F() local
728 int *ptr; in TEST_F() local
831 int *ptr; in TEST_F() local
887 int *ptr; in TEST_F() local
[all …]
/linux/drivers/sh/intc/
H A Daccess.c78 void __iomem *ptr = (void __iomem *)addr; in test_8() local
85 void __iomem *ptr = (void __iomem *)addr; in test_16() local
92 void __iomem *ptr = (void __iomem *)addr; in test_32() local
99 void __iomem *ptr = (void __iomem *)addr; in write_8() local
108 void __iomem *ptr = (void __iomem *)addr; in write_16() local
117 void __iomem *ptr = (void __iomem *)addr; in write_32() local
126 void __iomem *ptr = (void __iomem *)addr; in modify_8() local
140 void __iomem *ptr = (void __iomem *)addr; in modify_16() local
154 void __iomem *ptr = (void __iomem *)addr; in modify_32() local
/linux/security/tomoyo/
H A Dcommon.c379 const struct tomoyo_name_union *ptr) in tomoyo_print_name_union()
399 const struct tomoyo_name_union *ptr) in tomoyo_print_name_union_quoted()
420 (struct tomoyo_io_buffer *head, const struct tomoyo_number_union *ptr) in tomoyo_print_number_union_nospace()
468 const struct tomoyo_number_union *ptr) in tomoyo_print_number_union()
485 struct tomoyo_profile *ptr; in tomoyo_assign_profile() local
530 struct tomoyo_profile *ptr = ns->profile_ptr[profile]; in tomoyo_profile() local
908 struct tomoyo_manager *ptr = in tomoyo_read_manager() local
931 struct tomoyo_manager *ptr; in tomoyo_manager() local
1398 struct tomoyo_path_acl *ptr = in tomoyo_print_entry() local
1420 struct tomoyo_task_acl *ptr = in tomoyo_print_entry() local
[all …]
/linux/kernel/locking/
H A Dlockdep_internals.h216 #define __debug_atomic_inc(ptr) \ argument
219 #define debug_atomic_inc(ptr) { \ argument
224 #define debug_atomic_dec(ptr) { \ argument
229 #define debug_atomic_read(ptr) ({ \ argument
260 # define __debug_atomic_inc(ptr) do { } while (0) argument
261 # define debug_atomic_inc(ptr) do { } while (0) argument
262 # define debug_atomic_dec(ptr) do { } while (0) argument
263 # define debug_atomic_read(ptr) 0 argument
264 # define debug_class_ops_inc(ptr) do { } while (0) argument
/linux/tools/testing/selftests/arm64/mte/
H A Dmte_common_util.c128 void *mte_insert_tags(void *ptr, size_t size) in mte_insert_tags()
143 void mte_clear_tags(void *ptr, size_t size) in mte_clear_tags()
154 void *mte_insert_atag(void *ptr) in mte_insert_atag()
162 void *mte_clear_atag(void *ptr) in mte_clear_atag()
171 void *ptr; in __mte_allocate_memory_range() local
276 static void __mte_free_memory_range(void *ptr, size_t size, int mem_type, in __mte_free_memory_range()
295 void mte_free_memory_tag_range(void *ptr, size_t size, int mem_type, in mte_free_memory_tag_range()
301 void mte_free_memory(void *ptr, size_t size, int mem_type, bool tags) in mte_free_memory()
306 void mte_initialize_current_context(int mode, uintptr_t ptr, ssize_t range) in mte_initialize_current_context()
H A Dcheck_tags_inclusion.c22 static int verify_mte_pointer_validity(char *ptr, int mode) in verify_mte_pointer_validity()
51 char *ptr; in check_single_included_tags() local
83 char *ptr; in check_multiple_included_tags() local
115 char *ptr; in check_all_included_tags() local
141 char *ptr; in check_none_included_tags() local
/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_gpio.c61 struct hw_gpio_pin *ptr, in dal_hw_gpio_open()
74 const struct hw_gpio_pin *ptr, in dal_hw_gpio_get_value()
96 const struct hw_gpio_pin *ptr, in dal_hw_gpio_set_value()
122 struct hw_gpio_pin *ptr, in dal_hw_gpio_change_mode()
131 struct hw_gpio_pin *ptr) in dal_hw_gpio_close()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_common.h60 #define _hr_reg_enable(ptr, field_type, field_h, field_l) \ argument
68 #define hr_reg_enable(ptr, field) _hr_reg_enable(ptr, field) argument
70 #define _hr_reg_clear(ptr, field_type, field_h, field_l) \ argument
78 #define hr_reg_clear(ptr, field) _hr_reg_clear(ptr, field) argument
80 #define _hr_reg_write_bool(ptr, field_type, field_h, field_l, val) \ argument
86 #define hr_reg_write_bool(ptr, field, val) _hr_reg_write_bool(ptr, field, val) argument
88 #define _hr_reg_write(ptr, field_type, field_h, field_l, val) \ argument
95 #define hr_reg_write(ptr, field, val) _hr_reg_write(ptr, field, val) argument
97 #define _hr_reg_read(ptr, field_type, field_h, field_l) \ argument
105 #define hr_reg_read(ptr, field) _hr_reg_read(ptr, field) argument
/linux/include/asm-generic/
H A Dcmpxchg.h24 unsigned long __generic_xchg(unsigned long x, volatile void *ptr, int size) in __generic_xchg()
81 #define generic_xchg(ptr, x) ({ \ argument
91 #define generic_cmpxchg_local(ptr, o, n) ({ \ argument
96 #define generic_cmpxchg64_local(ptr, o, n) \ argument
H A Duaccess.h104 #define __put_user(x, ptr) \ argument
124 #define put_user(x, ptr) \ argument
135 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn()
146 #define __get_user(x, ptr) \ argument
186 #define get_user(x, ptr) \ argument
196 static inline int __get_user_fn(size_t size, const void __user *ptr, void *x) in __get_user_fn()
/linux/include/linux/mlx4/
H A Ddoorbell.h52 #define MLX4_INIT_DOORBELL_LOCK(ptr) do { } while (0) argument
53 #define MLX4_GET_DOORBELL_LOCK(ptr) (NULL) argument
70 #define MLX4_INIT_DOORBELL_LOCK(ptr) spin_lock_init(ptr) argument
71 #define MLX4_GET_DOORBELL_LOCK(ptr) (ptr) argument
/linux/tools/sched_ext/include/scx/
H A Dbpf_arena_common.h6 #define arena_container_of(ptr, type, member) \ argument
18 #define cast_kern(ptr) /* nop for user space */ argument
19 #define cast_user(ptr) /* nop for user space */ argument
31 static inline void bpf_arena_free_pages(void *map, void __arena *ptr, __u32 page_cnt) in bpf_arena_free_pages()
/linux/tools/perf/arch/x86/util/
H A Dintel-pt.c244 struct intel_pt_recording *ptr = in intel_pt_parse_snapshot_options() local
299 struct intel_pt_recording *ptr = in intel_pt_info_priv_size() local
324 struct intel_pt_recording *ptr = in intel_pt_info_fill() local
616 struct intel_pt_recording *ptr = in intel_pt_recording_options() local
899 struct intel_pt_recording *ptr = in intel_pt_snapshot_start() local
912 struct intel_pt_recording *ptr = in intel_pt_snapshot_finish() local
923 static int intel_pt_alloc_snapshot_refs(struct intel_pt_recording *ptr, int idx) in intel_pt_alloc_snapshot_refs()
947 static void intel_pt_free_snapshot_refs(struct intel_pt_recording *ptr) in intel_pt_free_snapshot_refs()
958 struct intel_pt_recording *ptr = in intel_pt_recording_free() local
965 static int intel_pt_alloc_snapshot_ref(struct intel_pt_recording *ptr, int idx, in intel_pt_alloc_snapshot_ref()
[all …]
/linux/arch/m68k/include/asm/
H A Duaccess.h31 #define __put_user_asm(inst, res, x, ptr, bwl, reg, err) \ argument
49 #define __put_user_asm8(inst, res, x, ptr) \ argument
79 #define __put_user(x, ptr) \ argument
102 #define put_user(x, ptr) __put_user(x, ptr) argument
105 #define __get_user_asm(inst, res, x, ptr, type, bwl, reg, err) ({ \ argument
126 #define __get_user_asm8(inst, res, x, ptr) \ argument
158 #define __get_user(x, ptr) \ argument
180 #define get_user(x, ptr) __get_user(x, ptr) argument
/linux/drivers/net/wireless/realtek/rtw89/
H A Dacpi.c156 const struct rtw89_acpi_policy_6ghz *ptr; in rtw89_acpi_dsm_get_policy_6ghz() local
208 const struct rtw89_acpi_policy_6ghz_sp *ptr; in rtw89_acpi_dsm_get_policy_6ghz_sp() local
252 const struct rtw89_acpi_policy_6ghz_vlp *ptr; in rtw89_acpi_dsm_get_policy_6ghz_vlp() local
295 const struct rtw89_acpi_policy_tas *ptr; in rtw89_acpi_dsm_get_policy_tas() local
340 const struct rtw89_acpi_policy_reg_rules *ptr; in rtw89_acpi_dsm_get_policy_reg_rules() local
562 const struct rtw89_acpi_sar_std_legacy *ptr = content; in rtw89_acpi_sar_load_std_legacy() local
585 const struct rtw89_acpi_sar_std_has_6ghz *ptr = content; in rtw89_acpi_sar_load_std_has_6ghz() local
606 const struct rtw89_acpi_sar_sml_legacy *ptr = content; in rtw89_acpi_sar_load_sml_legacy() local
629 const struct rtw89_acpi_sar_sml_has_6ghz *ptr = content; in rtw89_acpi_sar_load_sml_has_6ghz() local
702 const struct rtw89_acpi_geo_sar_hp_val *ptr, in rtw89_acpi_geo_sar_load_by_hp()
[all …]
/linux/arch/microblaze/include/asm/
H A Duaccess.h95 #define get_user(x, ptr) ({ \ argument
101 #define __get_user(x, ptr) \ argument
183 #define put_user(x, ptr) \ argument
186 #define __put_user_check(x, ptr, size) \ argument
219 #define __put_user(x, ptr) \ argument
/linux/fs/smb/client/compress/
H A Dlz77.c26 static __always_inline u8 lz77_read8(const u8 *ptr) in lz77_read8()
31 static __always_inline u64 lz77_read64(const u64 *ptr) in lz77_read64()
36 static __always_inline void lz77_write8(u8 *ptr, u8 v) in lz77_write8()
41 static __always_inline void lz77_write16(u16 *ptr, u16 v) in lz77_write16()
46 static __always_inline void lz77_write32(u32 *ptr, u32 v) in lz77_write32()

12345678910>>...72