Home
last modified time | relevance | path

Searched defs:ptr (Results 126 – 150 of 1787) sorted by relevance

12345678910>>...72

/linux/lib/
H A Dubsan.c370 unsigned long ptr) in handle_misaligned_access()
386 unsigned long ptr) in handle_object_size_mismatch()
400 unsigned long ptr) in ubsan_type_mismatch_common()
415 void *ptr) in __ubsan_handle_type_mismatch()
428 void __ubsan_handle_type_mismatch_v1(void *_data, void *ptr) in __ubsan_handle_type_mismatch_v1()
533 void __ubsan_handle_alignment_assumption(void *_data, unsigned long ptr, in __ubsan_handle_alignment_assumption()
/linux/rust/kernel/
H A Ddevice.rs191 let ptr = core::ptr::from_ref(self); in as_bound() localVariable
195 let ptr = ptr.cast(); in as_bound() localVariable
241 let ptr = unsafe { bindings::dev_get_drvdata(self.as_raw()) }; in drvdata_obtain() localVariable
280 let ptr = unsafe { bindings::dev_get_drvdata(self.as_raw()) }; in drvdata_unchecked() localVariable
643 let ptr: *const Self = self; localVariable
647 let ptr = ptr.cast::<Self::Target>(); localVariable
H A Dxarray.rs66 let ptr = ptr.as_ptr(); in drop() localVariable
186 let ptr = unsafe { bindings::xa_load(self.xa.xa.get(), index) }; in load() localVariable
187 let ptr = NonNull::new(ptr.cast())?; in load() localVariable
212 let ptr = unsafe { bindings::__xa_erase(self.xa.xa.get(), index) }.cast(); in remove() localVariable
/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_hpd.c54 struct hw_gpio_pin **ptr) in dal_hw_hpd_destroy()
66 const struct hw_gpio_pin *ptr, in dal_hw_hpd_get_value()
89 struct hw_gpio_pin *ptr, in dal_hw_hpd_set_config()
/linux/arch/sparc/include/asm/
H A Duaccess_64.h59 #define put_user(x, ptr) ({ \ argument
65 #define get_user(x, ptr) ({ \ argument
71 #define __put_user(x, ptr) put_user(x, ptr) argument
72 #define __get_user(x, ptr) get_user(x, ptr) argument
/linux/drivers/spi/
H A Dspi-tle62x0.c103 int ptr; in tle62x0_status_show() local
229 int ptr; to_gpio_num() local
243 int ptr; tle62x0_probe() local
294 int ptr; tle62x0_remove() local
[all...]
/linux/drivers/regulator/
H A Dgpio-regulator.c48 int ptr; in gpio_regulator_get_value() local
62 int ptr, target = 0, state, best_val = INT_MAX; in gpio_regulator_set_voltage() local
101 int ptr, target = 0, state, best_val = 0; in gpio_regulator_set_current_limit() local
243 int ptr, state, i; in gpio_regulator_probe() local
/linux/arch/powerpc/boot/
H A Dsimple_alloc.c66 static struct alloc_info *simple_find_entry(void *ptr) in simple_find_entry()
81 static void simple_free(void *ptr) in simple_free()
95 static void *simple_realloc(void *ptr, unsigned long size) in simple_realloc()
/linux/include/linux/
H A Dkasan.h240 static __always_inline void kasan_kfree_large(void *ptr) in kasan_kfree_large()
268 static __always_inline void * __must_check kasan_kmalloc_large(const void *ptr, in kasan_kmalloc_large()
359 static __always_inline bool kasan_mempool_poison_object(void *ptr) in kasan_mempool_poison_object()
386 static __always_inline void kasan_mempool_unpoison_object(void *ptr, in kasan_mempool_unpoison_object()
437 static inline void kasan_kfree_large(void *ptr) {} in kasan_kfree_large()
448 static inline void *kasan_kmalloc_large(const void *ptr, size_t size, gfp_t flags) in kasan_kmalloc_large()
462 static inline bool kasan_mempool_poison_object(void *ptr) in kasan_mempool_poison_object()
466 static inline void kasan_mempool_unpoison_object(void *ptr, size_t size) {} in kasan_mempool_unpoison_object()
513 static inline void kasan_record_aux_stack(void *ptr) {} in kasan_record_aux_stack()
H A Dcontainer_of.h19 #define container_of(ptr, type, member) ({ \ argument
35 #define container_of_const(ptr, type, member) \ argument
/linux/security/tomoyo/
H A Dcondition.c235 const struct tomoyo_name_union *ptr, in tomoyo_scan_exec_realpath()
280 struct tomoyo_name_union *ptr) in tomoyo_parse_name_union_quoted()
409 struct tomoyo_condition *ptr; in tomoyo_commit_condition() local
811 const struct tomoyo_name_union *ptr = names_p++; in tomoyo_condition() local
1063 const struct tomoyo_number_union *ptr = numbers_p++; in tomoyo_condition() local
1070 const struct tomoyo_number_union *ptr = numbers_p++; in tomoyo_condition() local
/linux/drivers/net/wan/
H A Dlapbether.c164 unsigned char *ptr; in lapbeth_data_indication() local
240 unsigned char *ptr; in lapbeth_data_transmit() local
266 unsigned char *ptr; in lapbeth_connected() local
284 unsigned char *ptr; in lapbeth_disconnected() local
447 unsigned long event, void *ptr) in lapbeth_device_event()
/linux/drivers/soc/samsung/
H A Ds3c-pm-check.c46 static void s3c_pm_run_res(struct resource *ptr, run_fn_t fn, u32 *arg) in s3c_pm_run_res()
140 static inline int in_region(void *ptr, int size, void *what, size_t whatsz) in in_region()
166 void *ptr; in s3c_pm_runcheck() local
/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_child_memory.c29 static int check_child_tag_inheritance(char *ptr, int size, int mode) in check_child_tag_inheritance()
86 char *ptr; in check_child_memory_mapping() local
108 char *ptr, *map_ptr; in check_child_file_mapping() local
/linux/arch/riscv/lib/
H A Dcsum.c75 do_csum_common(const unsigned long *ptr, const unsigned long *end, in do_csum_common()
120 const unsigned long *ptr, *end; in do_csum_with_alignment() local
208 const unsigned long *ptr, *end; in do_csum_no_alignment() local
/linux/rust/kernel/alloc/
H A Dkvec.rs105 ptr: NonNull<T>, field
305 let ptr = unsafe { self.as_mut_ptr().add(self.len) }.cast::<MaybeUninit<T>>(); in spare_capacity_mut() localVariable
580 let ptr = me.as_mut_ptr(); in into_raw_parts() localVariable
644 let ptr = unsafe { in reserve() localVariable
682 let ptr: *mut [T] = unsafe { self.dec_len(count) }; in truncate() localVariable
857 let ptr = Box::into_raw(b); localVariable
1060 let ptr = self.ptr.cast(); in page_iter() localVariable
1085 ptr: *mut T, field
1098 let ptr = me.ptr; in into_raw_parts() localVariable
1347 let ptr: *mut [T] = iter.into_slice(); in drop() localVariable
H A Dkbox.rs277 let ptr = A::alloc(layout, flags, NumaNode::NO_NODE)?; in new_uninit() localVariable
348 let ptr = buffer.spare_capacity_mut().as_mut_ptr().cast(); in pin_slice() localVariable
379 let ptr = Self::into_raw(this); in forget_contents() localVariable
399 let ptr = this.0.as_ptr(); in drop_contents() localVariable
513 let ptr = ptr.cast(); in borrow_mut() localVariable
553 let ptr = ptr.cast(); in borrow_mut() localVariable
711 let ptr = self.0.cast(); in page_iter() localVariable
/linux/fs/btrfs/
H A Dinode-item.c22 unsigned long ptr; in btrfs_find_name_in_backref() local
49 unsigned long ptr; in btrfs_find_name_in_ext_backref() local
115 unsigned long ptr; in btrfs_del_inode_extref() local
174 unsigned long ptr; btrfs_del_inode_ref() local
251 unsigned long ptr; btrfs_insert_inode_extref() local
303 unsigned long ptr; btrfs_insert_inode_ref() local
[all...]
/linux/include/vdso/
H A Dunaligned.h5 #define __get_unaligned_t(type, ptr) ({ \ argument
10 #define __put_unaligned_t(type, val, ptr) do { \ argument
/linux/tools/include/vdso/
H A Dunaligned.h5 #define __get_unaligned_t(type, ptr) ({ \ argument
10 #define __put_unaligned_t(type, val, ptr) do { \ argument
/linux/fs/nilfs2/
H A Dbtree.c59 __u64 ptr, struct buffer_head **bhp) in nilfs_btree_get_new_block()
156 nilfs_btree_node_set_ptr(struct nilfs_btree_node *node, int index, __u64 ptr, in nilfs_btree_node_set_ptr()
240 __u64 key, __u64 ptr, int ncmax) in nilfs_btree_node_insert()
266 __u64 ptr; in nilfs_btree_node_delete() local
471 static int __nilfs_btree_get_block(const struct nilfs_bmap *btree, __u64 ptr, in __nilfs_btree_get_block()
541 static int nilfs_btree_get_block(const struct nilfs_bmap *btree, __u64 ptr, in nilfs_btree_get_block()
554 __u64 ptr; in nilfs_btree_do_lookup() local
614 __u64 ptr; in nilfs_btree_do_lookup_last() local
709 __u64 ptr, ptr2; in nilfs_btree_lookup_contig() local
1045 __u64 ptr; in nilfs_btree_find_target_v() local
[all …]
/linux/arch/um/drivers/
H A Dmconsole_kern.c118 char *ptr = req->request.data; in mconsole_log() local
134 char *ptr = req->request.data; in mconsole_proc() local
476 char *ptr = req->request.data, *name, *error_string = ""; in mconsole_config() local
502 char *ptr = req->request.data, *err_msg = ""; in mconsole_remove() local
628 char *ptr = req->request.data; in mconsole_sysrq() local
664 char *ptr = req->request.data; in mconsole_stack() local
840 void *ptr) in notify_panic()
/linux/tools/testing/selftests/arm64/tags/
H A Dtags_test.c12 #define SET_TAG(ptr, tag) (((uint64_t)(ptr) & ~SHIFT_TAG(0xff)) | \ argument
19 struct utsname *ptr; in main() local
/linux/tools/testing/selftests/bpf/progs/
H A Dnested_acquire.c15 struct sk_buff *ptr; in BPF_PROG() local
27 struct sk_buff *ptr; in BPF_PROG() local
/linux/fs/xfs/libxfs/
H A Dxfs_btree.c321 const union xfs_btree_ptr *ptr, in __xfs_btree_check_ptr()
356 const union xfs_btree_ptr *ptr, in xfs_btree_check_ptr()
1077 const union xfs_btree_ptr *ptr, in xfs_btree_ptr_to_daddr()
1110 union xfs_btree_ptr *ptr, in xfs_btree_readahead_ptr()
1156 const union xfs_btree_ptr *ptr) in xfs_btree_ptr_is_null()
1167 union xfs_btree_ptr *ptr) in xfs_btree_set_ptr_null()
1193 union xfs_btree_ptr *ptr, in xfs_btree_get_sibling()
1215 const union xfs_btree_ptr *ptr, in xfs_btree_set_sibling()
1332 union xfs_btree_ptr *ptr) in xfs_btree_buf_to_ptr()
1360 const union xfs_btree_ptr *ptr, in xfs_btree_get_buf_block()
[all …]

12345678910>>...72