| /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/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/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/drivers/staging/media/atomisp/pci/ |
| 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_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_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/parisc/kernel/ |
| H A D | module.c | 29 * if (in_init(me, (void *)val)) 30 * val -= (uint32_t)me->mem[MOD_INIT_TEXT].base; 32 * val -= (uint32_t)me->mem[MOD_TEXT].base; 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() [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/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/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/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/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/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 …]
|
| /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/drivers/misc/mei/ |
| H A D | bus.c | 79 /* Check if we have an ME client device */ in __mei_cl_send_timeout() 260 * mei_cldev_send_vtag - me device send with vtag (write) 262 * @cldev: me client device 282 * mei_cldev_send_vtag_timeout - me device send with vtag and timeout (write) 284 * @cldev: me client device 307 * @cldev: me client device 329 * @cldev: me client device 348 * @cldev: me client device 369 * mei_cldev_send - me device send (write) 371 * @cldev: me client device [all …]
|
| H A D | hw-me-regs.h | 155 /* ME_CB_RW - ME Circular Buffer Read Window register (read only) */ 157 /* ME_CSR_HA - ME Control Status Host Access register (read only) */ 195 /* register bits of ME_CSR_HA (ME Control Status Host Access register) */ 196 /* ME CB (Circular Buffer) Depth HRA (Host Read Access) - host read only 199 /* ME CB Write Pointer HRA - host read only access to ME_CBWP */ 201 /* ME CB Read Pointer HRA - host read only access to ME_CBRP */ 203 /* ME Power Gate Isolation Capability HRA - host ready only access */ 205 /* ME Reset HRA - host read only access to ME_RST */ 207 /* ME Ready HRA - host read only access to ME_RDY */ 209 /* ME Interrupt Generate HRA - host read only access to ME_IG */ [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> { 202 // SAFETY: The caller guarantees that `me` points at a valid value of type `Self`. 204 <Self as $crate::list::HasListLinks<$num>>::raw_get_list_links(me.cast_mut()) 209 // * `me` originates from the most recent call to `prepare_to_insert`, which calls 217 unsafe fn view_value(me: *mut $crate::list::ListLinks<$num>) -> *const Self { 218 // SAFETY: `me` originates from the most recent call to `prepare_to_insert`, so it 221 unsafe { $crate::container_of!(me, Self, $($field).*) } 232 unsafe fn prepare_to_insert(me: *const Self) -> *mut $crate::list::ListLinks<$num> { 233 // SAFETY: The caller promises that `me` points at a valid value. 234 unsafe { <Self as $crate::list::ListItem<$num>>::view_links(me) } [all …]
|
| /linux/Documentation/driver-api/mei/ |
| H A D | mei.rst | 6 The Intel Management Engine (Intel ME) is an isolated and protected computing 7 resource (Co-processor) residing inside certain Intel chipsets. The Intel ME 12 is the interface between the Host and Intel ME. This interface is exposed 15 a host application and the Intel ME features. 17 Each Intel ME feature, or Intel ME Client is addressed by a unique GUID and 27 An application maintains communication with an Intel ME feature while 30 The number of instances of an Intel ME feature that can be opened 31 at the same time depends on the Intel ME feature, but most of the 37 Because some of the Intel ME features can change the system 47 virtual channels with an Intel ME feature. Not all features support
|
| H A D | hdcp.rst | 6 ME FW as a security engine provides the capability for setting up 10 ME FW prepares HDCP2.2 negotiation parameters, signs and encrypts them 14 Similarly, the HDCP2.2 sink's response is transferred to ME FW 18 upon request ME FW will configure the port as authenticated and supply
|
| /linux/tools/testing/selftests/net/ |
| 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/drivers/misc/mei/hdcp/ |
| H A D | mei_hdcp.c | 15 * protocol implementer (I915) and ME FW by translating HDCP2.2 16 * negotiation messages to ME FW command payloads and vice versa. 32 * mei_hdcp_initiate_session() - Initiate a Wired HDCP2.2 Tx Session in ME FW 80 dev_dbg(dev, "ME cmd 0x%08X Failed. Status: 0x%X\n", in mei_hdcp_initiate_session() 153 dev_dbg(dev, "ME cmd 0x%08X Failed. Status: 0x%X\n", in mei_hdcp_verify_receiver_cert_prepare_km() 175 * mei_hdcp_verify_hprime() - Verify AKE_Send_H_prime at ME FW. 178 * @rx_hprime: AKE_Send_H_prime msg for ME FW verification 223 dev_dbg(dev, "ME cmd 0x%08X Failed. Status: 0x%X\n", in mei_hdcp_verify_hprime() 232 * mei_hdcp_store_pairing_info() - Store pairing info received at ME FW 235 * @pairing_info: AKE_Send_Pairing_Info msg input to ME FW [all …]
|
| /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 …]
|