| /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 | 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 | 219 struct mep *me = malloc(sizeof(struct mep)); in mep_new() local 221 if (!me) in mep_new() 224 memcpy(me, entry, sizeof(struct mep)); in mep_new() 225 return &me->nd; in mep_new() 231 struct mep *me = container_of(nd, struct mep, nd); in mep_delete() local 233 zfree(&me->metric_group); in mep_delete() 234 free(me); in mep_delete() 241 struct mep me = { in mep_lookup() local 245 nd = rblist__find(groups, &me); in mep_lookup() 247 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/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_set.c | 529 .me = THIS_MODULE 539 .me = THIS_MODULE 549 .me = THIS_MODULE 560 .me = THIS_MODULE 570 .me = THIS_MODULE 581 .me = THIS_MODULE 591 .me = THIS_MODULE 602 .me = THIS_MODULE 612 .me = THIS_MODULE 625 .me = THIS_MODULE [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | msix.c | 81 struct hfi1_msix_entry *me; in msix_request_irq() local 113 me = &dd->msix_info.msix_entries[nr]; in msix_request_irq() 114 me->irq = irq; in msix_request_irq() 115 me->arg = arg; in msix_request_irq() 116 me->type = type; in msix_request_irq() 119 ret = hfi1_get_irq_affinity(dd, me); in msix_request_irq() 288 struct hfi1_msix_entry *me; in msix_free_irq() local 293 me = &dd->msix_info.msix_entries[msix_intr]; in msix_free_irq() 295 if (!me->arg) /* => no irq, no affinity */ in msix_free_irq() 298 hfi1_put_irq_affinity(dd, me); in msix_free_irq() [all …]
|
| /linux/rust/kernel/list/ |
| H A D | impl_list_item_mod.rs | 200 unsafe fn view_links(me: *const Self) -> *mut $crate::list::ListLinks<$num> { 201 // SAFETY: The caller guarantees that `me` points at a valid value of type `Self`. 203 <Self as $crate::list::HasListLinks<$num>>::raw_get_list_links(me.cast_mut()) 208 // * `me` originates from the most recent call to `prepare_to_insert`, which calls 216 unsafe fn view_value(me: *mut $crate::list::ListLinks<$num>) -> *const Self { 217 // SAFETY: `me` originates from the most recent call to `prepare_to_insert`, so it 220 $crate::container_of!(me, Self, $($field).*) 231 unsafe fn prepare_to_insert(me: *const Self) -> *mut $crate::list::ListLinks<$num> { 232 // SAFETY: The caller promises that `me` points at a valid value. 233 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/drivers/misc/mei/ |
| H A D | hw-me-regs.h | 153 /* ME_CB_RW - ME Circular Buffer Read Window register (read only) */ 155 /* ME_CSR_HA - ME Control Status Host Access register (read only) */ 193 /* register bits of ME_CSR_HA (ME Control Status Host Access register) */ 194 /* ME CB (Circular Buffer) Depth HRA (Host Read Access) - host read only 197 /* ME CB Write Pointer HRA - host read only access to ME_CBWP */ 199 /* ME CB Read Pointer HRA - host read only access to ME_CBRP */ 201 /* ME Power Gate Isolation Capability HRA - host ready only access */ 203 /* ME Reset HRA - host read only access to ME_RST */ 205 /* ME Ready HRA - host read only access to ME_RDY */ 207 /* ME Interrupt Generate HRA - host read only access to ME_IG */ [all …]
|
| H A D | Kconfig | 8 The Intel Management Engine (Intel ME) provides Manageability, 18 tristate "ME Enabled Intel Chipsets" 21 MEI support for ME Enabled Intel chipsets. 42 tristate "Intel Trusted Execution Environment with ME Interface" 73 tristate "Intel visual sensing controller device with ME interface" 85 tristate "Intel Late Binding (LB) support on ME Interface"
|
| H A D | pci-me.c | 24 #include "hw-me-regs.h" 25 #include "hw-me.h" 154 * mei_me_quirk_probe - probe for devices that doesn't valid ME interface 159 * Return: true if ME Interface is valid, false otherwise 165 dev_info(&pdev->dev, "Device doesn't have valid ME Interface\n"); in mei_me_quirk_probe() 265 * ME maps runtime suspend/resume to D0i states, in mei_me_probe() 270 * ME uses runtime pm domain handlers which take precedence in mei_me_probe() 419 dev_dbg(device, "rpm: me: runtime_idle\n"); in mei_me_pm_runtime_idle() 432 dev_dbg(device, "rpm: me: runtime suspend\n"); in mei_me_pm_runtime_suspend() 443 dev_dbg(device, "rpm: me: runtime suspend ret=%d\n", ret); in mei_me_pm_runtime_suspend() [all …]
|
| H A D | client.c | 21 * mei_me_cl_init - initialize me client 23 * @me_cl: me client 32 * mei_me_cl_get - increases me client refcount 34 * @me_cl: me client 38 * Return: me client or NULL 49 * mei_me_cl_release - free me client 64 * mei_me_cl_put - decrease me client refcount and free client if necessary 66 * @me_cl: me client 77 * __mei_me_cl_del - delete me client from the list and decrease 81 * @me_cl: me client [all …]
|
| /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/Documentation/ABI/testing/ |
| H A D | sysfs-class-mei | 23 The ME FW writes its status information into fw status 62 Description: Display the ME firmware version. 64 The version of the platform ME firmware is in format: 73 Description: Display the ME device state. 90 The ME FW writes Glitch Detection HW (TRC)
|
| /linux/include/drm/intel/ |
| H A D | i915_gsc_proxy_mei_interface.h | 17 * @send: sends a proxy message from GSC FW to ME FW 18 * @recv: receives a proxy message for GSC FW from ME FW 24 * @send: Sends a proxy message to ME FW. 33 * @recv: Receives a proxy message from ME FW.
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | gfx_v12_0.c | 312 uint32_t me = 0, eng_sel = 0; in gfx_v12_0_kiq_map_queues() local 316 me = 1; in gfx_v12_0_kiq_map_queues() 320 me = 0; in gfx_v12_0_kiq_map_queues() 324 me = 2; in gfx_v12_0_kiq_map_queues() 338 PACKET3_MAP_QUEUES_ME((me)) | in gfx_v12_0_kiq_map_queues() 778 bitmap_zero(adev->gfx.me.queue_bitmap, AMDGPU_MAX_GFX_QUEUES); in gfx_v12_0_me_init() 898 u32 me, u32 pipe, u32 q, u32 vm, u32 xcc_id) in gfx_v12_0_select_me_pipe_q() argument 900 soc24_grbm_select(adev, me, pipe, q, vm); in gfx_v12_0_select_me_pipe_q() 963 int me, int pipe, int queue) in gfx_v12_0_gfx_ring_init() argument 971 ring->me = me; in gfx_v12_0_gfx_ring_init() [all …]
|
| /linux/kernel/ |
| H A D | nsproxy.c | 350 struct task_struct *me = current; in prepare_nsset() local 352 nsset->nsproxy = create_new_namespaces(0, me, current_user_ns(), me->fs); in prepare_nsset() 365 nsset->fs = me->fs; in prepare_nsset() 367 nsset->fs = copy_fs_struct(me->fs); in prepare_nsset() 532 struct task_struct *me = current; in commit_nsset() local 544 set_fs_root(me->fs, &nsset->fs->root); in commit_nsset() 545 set_fs_pwd(me->fs, &nsset->fs->pwd); in commit_nsset() 550 exit_sem(me); in commit_nsset() 555 timens_commit(me, nsset->nsproxy->time_ns); in commit_nsset() 559 switch_task_namespaces(me, nsset->nsproxy); in commit_nsset()
|