| /linux/arch/arm64/kernel/ |
| H A D | module.c | 62 struct module *me) in reloc_data() argument 80 WRITE_PLACE((s16 *)place, sval, me); in reloc_data() 96 WRITE_PLACE((s32 *)place, sval, me); in reloc_data() 112 WRITE_PLACE((s64 *)place, sval, me); in reloc_data() 128 struct module *me) in reloc_insn_movw() argument 160 WRITE_PLACE(place, cpu_to_le32(insn), me); in reloc_insn_movw() 170 struct module *me) in reloc_insn_imm() argument 186 WRITE_PLACE(place, cpu_to_le32(insn), me); in reloc_insn_imm() 205 __le32 *place, u64 val, struct module *me) in reloc_insn_adrp() argument 211 AARCH64_INSN_IMM_ADR, me); in reloc_insn_adrp() [all …]
|
| /linux/arch/mips/kernel/ |
| H A D | module.c | 38 static int apply_r_mips_26(struct module *me, u32 *location, u32 base, in apply_r_mips_26() argument 43 me->name); in apply_r_mips_26() 49 me->name); in apply_r_mips_26() 59 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_hi16() argument 81 n->next = me->arch.r_mips_hi16_list; in apply_r_mips_hi16() 82 me->arch.r_mips_hi16_list = n; in apply_r_mips_hi16() 98 static int apply_r_mips_lo16(struct module *me, u32 *location, in apply_r_mips_lo16() argument 113 if (me->arch.r_mips_hi16_list != NULL) { in apply_r_mips_lo16() 114 l = me->arch.r_mips_hi16_list; in apply_r_mips_lo16() 149 me->arch.r_mips_hi16_list = NULL; in apply_r_mips_lo16() [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | module.c | 37 int (*reloc_handler)(struct module *me, void *location, Elf_Addr v); 38 int (*accumulate_handler)(struct module *me, void *location, 80 static int apply_r_riscv_32_rela(struct module *me, void *location, Elf_Addr v) in apply_r_riscv_32_rela() argument 84 me->name, (long long)v); in apply_r_riscv_32_rela() 91 static int apply_r_riscv_64_rela(struct module *me, void *location, Elf_Addr v) in apply_r_riscv_64_rela() argument 97 static int apply_r_riscv_branch_rela(struct module *me, void *location, in apply_r_riscv_branch_rela() argument 109 static int apply_r_riscv_jal_rela(struct module *me, void *location, in apply_r_riscv_jal_rela() argument 121 static int apply_r_riscv_rvc_branch_rela(struct module *me, void *location, in apply_r_riscv_rvc_branch_rela() argument 135 static int apply_r_riscv_rvc_jump_rela(struct module *me, void *location, in apply_r_riscv_rvc_jump_rela() argument 152 static int apply_r_riscv_pcrel_hi20_rela(struct module *me, void *location, in apply_r_riscv_pcrel_hi20_rela() argument [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | module.c | 63 me->name, strtab + sym->st_name, (unsigned long)val, bits); \ 270 struct module *me) in module_frob_arch_sections() argument 276 len = hdr->e_shnum * sizeof(me->arch.section[0]); in module_frob_arch_sections() 277 me->arch.section = kzalloc(len, GFP_KERNEL); in module_frob_arch_sections() 278 if (!me->arch.section) in module_frob_arch_sections() 288 me->arch.unwind_section = i; in module_frob_arch_sections() 313 WARN_ON(me->arch.section[s].stub_entries); in module_frob_arch_sections() 316 me->arch.section[s].stub_entries += count; in module_frob_arch_sections() 319 mod_mem = &me->mem[MOD_TEXT]; in module_frob_arch_sections() 322 me->arch.got_offset = mod_mem->size; in module_frob_arch_sections() [all …]
|
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
| H A D | ia_css_sdis.host.c | 302 struct ia_css_isp_dvs_statistics *me; in ia_css_isp_dvs_statistics_allocate() local 312 me = kvzalloc_objs(*me, 1); in ia_css_isp_dvs_statistics_allocate() 313 if (!me) in ia_css_isp_dvs_statistics_allocate() 323 me->size = hor_size + ver_size; in ia_css_isp_dvs_statistics_allocate() 324 me->data_ptr = hmm_alloc(me->size); in ia_css_isp_dvs_statistics_allocate() 325 if (me->data_ptr == mmgr_NULL) in ia_css_isp_dvs_statistics_allocate() 327 me->hor_size = hor_size; in ia_css_isp_dvs_statistics_allocate() 328 me->hor_proj = me->data_ptr; in ia_css_isp_dvs_statistics_allocate() 329 me->ver_size = ver_size; in ia_css_isp_dvs_statistics_allocate() 330 me->ver_proj = me->data_ptr + hor_size; in ia_css_isp_dvs_statistics_allocate() [all …]
|
| /linux/drivers/staging/media/atomisp/pci/ |
| H A D | sh_css_params.c | 691 struct ia_css_isp_parameter_set_info *me, 773 struct ia_css_host_data *me; in convert_allocate_fpntbl() local 783 me = ia_css_host_data_allocate(isp_format_data_size); in convert_allocate_fpntbl() 785 if (!me) in convert_allocate_fpntbl() 788 isp_format_data_ptr = (uint32_t *)me->address; in convert_allocate_fpntbl() 801 return me; in convert_allocate_fpntbl() 1339 struct ia_css_morph_table *me) in ia_css_morph_table_free() argument 1343 if (!me) in ia_css_morph_table_free() 1349 if (me->coordinates_x[i]) { in ia_css_morph_table_free() 1350 kvfree(me->coordinates_x[i]); in ia_css_morph_table_free() [all …]
|
| H A D | sh_css_host_data.c | 13 struct ia_css_host_data *me; in ia_css_host_data_allocate() local 15 me = kmalloc_obj(struct ia_css_host_data); in ia_css_host_data_allocate() 16 if (!me) in ia_css_host_data_allocate() 18 me->size = (uint32_t)size; in ia_css_host_data_allocate() 19 me->address = kvmalloc(size, GFP_KERNEL); in ia_css_host_data_allocate() 20 if (!me->address) { in ia_css_host_data_allocate() 21 kfree(me); in ia_css_host_data_allocate() 24 return me; in ia_css_host_data_allocate() 27 void ia_css_host_data_free(struct ia_css_host_data *me) in ia_css_host_data_free() argument 29 if (me) { in ia_css_host_data_free() [all …]
|
| H A D | sh_css_param_shading.c | 327 struct ia_css_shading_table *me; in ia_css_shading_table_alloc() local 331 me = kmalloc_obj(*me); in ia_css_shading_table_alloc() 332 if (!me) in ia_css_shading_table_alloc() 333 return me; in ia_css_shading_table_alloc() 335 me->width = width; in ia_css_shading_table_alloc() 336 me->height = height; in ia_css_shading_table_alloc() 337 me->sensor_width = 0; in ia_css_shading_table_alloc() 338 me->sensor_height = 0; in ia_css_shading_table_alloc() 339 me->fraction_bits = 0; in ia_css_shading_table_alloc() 341 me->data[i] = in ia_css_shading_table_alloc() [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | module_64.c | 210 struct module *me) in get_stubs_size() argument 252 me->arch.ool_stub_count = sechdrs[i].sh_size / sizeof(unsigned long); in get_stubs_size() 253 me->arch.ool_stub_index = 0; in get_stubs_size() 254 relocs += roundup(me->arch.ool_stub_count * sizeof(struct ftrace_ool_stub), in get_stubs_size() 299 struct module *me) in get_got_size() argument 346 symindex, me->arch.pcpu_section); in get_got_size() 433 struct module *me) in module_frob_arch_sections() argument 440 me->arch.stubs_section = i; in module_frob_arch_sections() 443 me->arch.pcpu_section = i; in module_frob_arch_sections() 445 me->arch.got_section = i; in module_frob_arch_sections() [all …]
|
| /linux/tools/perf/util/ |
| H A D | print-events.c | 214 struct mep *me = malloc(sizeof(struct mep)); in mep_new() local 216 if (!me) in mep_new() 219 memcpy(me, entry, sizeof(struct mep)); in mep_new() 220 return &me->nd; in mep_new() 226 struct mep *me = container_of(nd, struct mep, nd); in mep_delete() local 228 zfree(&me->metric_group); in mep_delete() 229 free(me); in mep_delete() 236 struct mep me = { in mep_lookup() local 240 nd = rblist__find(groups, &me); in mep_lookup() 242 free(me.metric_group); in mep_lookup() [all …]
|
| /linux/samples/mei/ |
| H A D | mei-amt-version.c | 111 static bool mei_init(struct mei *me, const uuid_le *guid, in mei_init() argument 118 me->verbose = verbose; in mei_init() 120 me->fd = open("/dev/mei0", O_RDWR); in mei_init() 121 if (me->fd == -1) { in mei_init() 122 mei_err(me, "Cannot establish a handle to the Intel MEI driver\n"); in mei_init() 125 memcpy(&me->guid, guid, sizeof(*guid)); in mei_init() 127 me->initialized = true; in mei_init() 129 memcpy(&data.in_client_uuid, &me->guid, sizeof(me->guid)); in mei_init() 130 result = ioctl(me->fd, IOCTL_MEI_CONNECT_CLIENT, &data); in mei_init() 132 mei_err(me, "IOCTL_MEI_CONNECT_CLIENT receive message. err=%d\n", result); in mei_init() [all …]
|
| /linux/rust/kernel/list/ |
| H A D | impl_list_item_mod.rs | 201 unsafe fn view_links(me: *const Self) -> *mut $crate::list::ListLinks<$num> { 204 <Self as $crate::list::HasListLinks<$num>>::raw_get_list_links(me.cast_mut()) 217 unsafe fn view_value(me: *mut $crate::list::ListLinks<$num>) -> *const Self { 221 unsafe { $crate::container_of!(me, Self, $($field).*) } 232 unsafe fn prepare_to_insert(me: *const Self) -> *mut $crate::list::ListLinks<$num> { 234 unsafe { <Self as $crate::list::ListItem<$num>>::view_links(me) } 242 unsafe fn post_remove(me: *mut $crate::list::ListLinks<$num>) -> *const Self { 246 unsafe { $crate::container_of!(me, Self, $($field).*) } 270 unsafe fn prepare_to_insert(me: *const Self) -> *mut $crate::list::ListLinks<$num> { 272 let links_field = unsafe { <Self as $crate::list::ListItem<$num>>::view_links(me) }; [all …]
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_helper.c | 93 if (h != NULL && !try_module_get(h->me)) in nf_conntrack_helper_try_module_get() 96 module_put(h->me); in nf_conntrack_helper_try_module_get() 109 module_put(helper->me); in nf_conntrack_helper_put() 241 static int unhelp(struct nf_conn *ct, void *me) in unhelp() argument 245 if (help && rcu_dereference_raw(help->helper) == me) { in unhelp() 347 int nf_conntrack_helper_register(struct nf_conntrack_helper *me) in nf_conntrack_helper_register() argument 350 unsigned int h = helper_hash(&me->tuple); in nf_conntrack_helper_register() 354 BUG_ON(me->expect_policy == NULL); in nf_conntrack_helper_register() 355 BUG_ON(me->expect_class_max >= NF_CT_MAX_EXPECT_CLASSES); in nf_conntrack_helper_register() 356 BUG_ON(strlen(me->name) > NF_CT_HELPER_NAME_LEN - 1); in nf_conntrack_helper_register() [all …]
|
| H A D | xt_tcpudp.c | 264 .me = THIS_MODULE, 273 .me = THIS_MODULE, 282 .me = THIS_MODULE, 291 .me = THIS_MODULE, 300 .me = THIS_MODULE, 309 .me = THIS_MODULE, 318 .me = THIS_MODULE, 327 .me = THIS_MODULE,
|
| /linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
| H A D | ia_css_sdis2.host.c | 267 struct ia_css_isp_dvs_statistics *me; in ia_css_isp_dvs2_statistics_allocate() local 277 me = kvzalloc_objs(*me, 1); in ia_css_isp_dvs2_statistics_allocate() 278 if (!me) in ia_css_isp_dvs2_statistics_allocate() 287 me->size = 2 * size; in ia_css_isp_dvs2_statistics_allocate() 288 me->data_ptr = hmm_alloc(me->size); in ia_css_isp_dvs2_statistics_allocate() 289 if (me->data_ptr == mmgr_NULL) in ia_css_isp_dvs2_statistics_allocate() 291 me->hor_proj = me->data_ptr; in ia_css_isp_dvs2_statistics_allocate() 292 me->hor_size = size; in ia_css_isp_dvs2_statistics_allocate() 293 me->ver_proj = me->data_ptr + size; in ia_css_isp_dvs2_statistics_allocate() 294 me->ver_size = size; in ia_css_isp_dvs2_statistics_allocate() [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | msix.c | 80 struct hfi1_msix_entry *me; in msix_request_irq() local 112 me = &dd->msix_info.msix_entries[nr]; in msix_request_irq() 113 me->irq = irq; in msix_request_irq() 114 me->arg = arg; in msix_request_irq() 115 me->type = type; in msix_request_irq() 118 ret = hfi1_get_irq_affinity(dd, me); in msix_request_irq() 287 struct hfi1_msix_entry *me; in msix_free_irq() local 292 me = &dd->msix_info.msix_entries[msix_intr]; in msix_free_irq() 294 if (!me->arg) /* => no irq, no affinity */ in msix_free_irq() 297 hfi1_put_irq_affinity(dd, me); in msix_free_irq() [all …]
|
| /linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
| H A D | frame.c | 359 struct ia_css_frame *me = frame_create(0, 0, in ia_css_frame_allocate_with_buffer_size() local 363 if (!me) in ia_css_frame_allocate_with_buffer_size() 367 me->data_bytes = buffer_size_bytes; in ia_css_frame_allocate_with_buffer_size() 369 err = frame_allocate_buffer_data(me); in ia_css_frame_allocate_with_buffer_size() 372 kvfree(me); in ia_css_frame_allocate_with_buffer_size() 373 me = NULL; in ia_css_frame_allocate_with_buffer_size() 376 *frame = me; in ia_css_frame_allocate_with_buffer_size() 621 struct ia_css_frame *me = frame_create(width, in frame_allocate_with_data() local 628 if (!me) in frame_allocate_with_data() 631 err = ia_css_frame_init_planes(me); in frame_allocate_with_data() [all …]
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | jitter.sh | 8 # Usage: jitter.sh me jittering-path duration [ sleepmax [ spinmax ] ] 10 # me: Random-number-generator seed salt. 20 me=$(($1 * 1000)) 84 cpumask=`awk -v cpus="$cpus" -v me=$me -v n=$n 'BEGIN { 85 srand(n + me + systime()); 97 sleeptime=`awk -v me=$me -v n=$n -v sleepmax=$sleepmax 'BEGIN { 98 srand(n + me + systime()); 105 limit=`awk -v me [all...] |
| /linux/tools/testing/selftests/net/ |
| H A D | fib_nexthops.sh | 178 setup_ns me peer remote 179 create_ns $me 183 IP="ip -netns $me" 184 BRIDGE="bridge -netns $me" 221 for ns in $me $peer $remote; do 833 …run_cmd "ip netns exec $me mausezahn -6 veth1.10 -B 2001:db8:101::1 -A 2001:db8:91::1 -c 5 -t tcp … 859 timeout -s KILL 5 ip netns exec $me ip link del veth1.10 >/dev/null 2>&1 1114 run_cmd "ip netns exec $me ping -c1 -w$PING_TIMEOUT 2001:db8:101::1" 1120 run_cmd "ip netns exec $me ping -c1 -w$PING_TIMEOUT 2001:db8:101::1" 1128 run_cmd "ip netns exec $me ping -c1 -w$PING_TIMEOUT 2001:db8:101::1" [all …]
|
| H A D | arp_ndisc_evict_nocarrier.sh | 26 cleanup_ns ${me} ${peer} 33 setup_ns me peer 35 IP="ip -netns ${me}" 43 ip netns exec ${me} sysctl -w $1 >/dev/null 2>&1 46 ip netns exec ${me} ping -6 -c1 -Iveth1 $V6_ADDR1 >/dev/null 2>&1 48 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1 152 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1 169 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1 186 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
|
| /linux/arch/alpha/kernel/ |
| H A D | module.c | 65 char *secstrings, struct module *me) in module_frob_arch_sections() argument 83 me->arch.gotsecindex = s - sechdrs; in module_frob_arch_sections() 87 printk(KERN_ERR "module %s: no symbol table\n", me->name); in module_frob_arch_sections() 91 printk(KERN_ERR "module %s: no got section\n", me->name); in module_frob_arch_sections() 100 me->name); in module_frob_arch_sections() 135 struct module *me) in apply_relocate_add() argument 149 got = sechdrs[me->arch.gotsecindex].sh_addr; in apply_relocate_add() 255 me->name, r_type); in apply_relocate_add() 261 me->name, r_type, sym->st_shndx); in apply_relocate_add() 265 me->name, r_type, strtab + sym->st_name); in apply_relocate_add()
|
| /linux/drivers/net/ |
| H A D | vrf.c | 144 static int vrf_map_elem_get_vrf_ifindex(struct vrf_map_elem *me) in vrf_map_elem_get_vrf_ifindex() argument 146 struct list_head *me_head = &me->vrf_list; in vrf_map_elem_get_vrf_ifindex() 159 struct vrf_map_elem *me; in vrf_map_elem_alloc() local 161 me = kmalloc_obj(*me, flags); in vrf_map_elem_alloc() 162 if (!me) in vrf_map_elem_alloc() 165 return me; in vrf_map_elem_alloc() 168 static void vrf_map_elem_free(struct vrf_map_elem *me) in vrf_map_elem_free() argument 170 kfree(me); in vrf_map_elem_free() 173 static void vrf_map_elem_init(struct vrf_map_elem *me, int table_id, in vrf_map_elem_init() argument 176 me->table_id = table_id; in vrf_map_elem_init() [all …]
|
| /linux/drivers/staging/media/atomisp/pci/runtime/pipeline/src/ |
| H A D | pipeline.c | 45 static void ia_css_pipeline_configure_inout_port(struct ia_css_pipeline *me, 714 ia_css_pipeline_configure_inout_port(struct ia_css_pipeline *me, in ia_css_pipeline_configure_inout_port() argument 719 me->pipe_id, continuous); in ia_css_pipeline_configure_inout_port() 720 switch (me->pipe_id) { in ia_css_pipeline_configure_inout_port() 723 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() 726 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() 731 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() 735 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() 738 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() 742 SH_CSS_PIPE_PORT_CONFIG_SET(me->inout_port_config, in ia_css_pipeline_configure_inout_port() [all …]
|
| /linux/fs/ |
| H A D | exec.c | 1042 static int unshare_sighand(struct task_struct *me) in unshare_sighand() argument 1044 struct sighand_struct *oldsighand = me->sighand; in unshare_sighand() 1062 rcu_assign_pointer(me->sighand, newsighand); in unshare_sighand() 1093 struct task_struct *me = current; in begin_new_exec() local 1115 retval = de_thread(me); in begin_new_exec() 1159 spin_lock_irq(&me->sighand->siglock); in begin_new_exec() 1160 posix_cpu_timers_exit(me); in begin_new_exec() 1161 spin_unlock_irq(&me->sighand->siglock); in begin_new_exec() 1162 exit_itimers(me); in begin_new_exec() 1169 retval = unshare_sighand(me); in begin_new_exec() [all …]
|
| /linux/rust/kernel/ |
| H A D | list.rs | 307 unsafe fn view_links(me: *const Self) -> *mut ListLinks<ID>; in view_links() 325 unsafe fn view_value(me: *mut ListLinks<ID>) -> *const Self; in view_value() 343 unsafe fn prepare_to_insert(me: *const Self) -> *mut ListLinks<ID>; in prepare_to_insert() 355 unsafe fn post_remove(me: *mut ListLinks<ID>) -> *const Self; in post_remove() 402 unsafe fn fields(me: *mut Self) -> *mut ListLinksFields { in fields() 404 unsafe { Opaque::cast_into(ptr::addr_of!((*me).inner)) } in fields() 411 unsafe fn from_fields(me: *mut ListLinksFields) -> *mut Self { in from_fields() 412 me.cast() in from_fields() 460 pub unsafe fn raw_get_self_ptr(me: *const Self) -> *const Opaque<*const T> { in raw_get_self_ptr() 462 unsafe { ptr::addr_of!((*me).self_ptr) } in raw_get_self_ptr() [all …]
|