Home
last modified time | relevance | path

Searched refs:phdr (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/fs/
Dbinfmt_elf_fdpic.c145 struct elf32_phdr *phdr; in elf_fdpic_fetch_phdrs() local
165 phdr = params->phdrs; in elf_fdpic_fetch_phdrs()
166 for (loop = 0; loop < params->hdr.e_phnum; loop++, phdr++) { in elf_fdpic_fetch_phdrs()
167 if (phdr->p_type != PT_GNU_STACK) in elf_fdpic_fetch_phdrs()
170 if (phdr->p_flags & PF_X) in elf_fdpic_fetch_phdrs()
175 params->stack_size = phdr->p_memsz; in elf_fdpic_fetch_phdrs()
190 struct elf_phdr *phdr; in load_elf_fdpic_binary() local
233 phdr = exec_params.phdrs; in load_elf_fdpic_binary()
235 for (i = 0; i < exec_params.hdr.e_phnum; i++, phdr++) { in load_elf_fdpic_binary()
236 switch (phdr->p_type) { in load_elf_fdpic_binary()
[all …]
Dbinfmt_elf.c499 struct elf_phdr *phdr, in arch_elf_pt_proc() argument
1480 static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) in fill_elf_note_phdr() argument
1482 phdr->p_type = PT_NOTE; in fill_elf_note_phdr()
1483 phdr->p_offset = offset; in fill_elf_note_phdr()
1484 phdr->p_vaddr = 0; in fill_elf_note_phdr()
1485 phdr->p_paddr = 0; in fill_elf_note_phdr()
1486 phdr->p_filesz = sz; in fill_elf_note_phdr()
1487 phdr->p_memsz = 0; in fill_elf_note_phdr()
1488 phdr->p_flags = 0; in fill_elf_note_phdr()
1489 phdr->p_align = 0; in fill_elf_note_phdr()
[all …]
/linux-4.19.296/drivers/media/common/siano/
Dsmsendian.c96 struct sms_msg_hdr *phdr = (struct sms_msg_hdr *)msg; in smsendian_handle_message_header() local
98 phdr->msg_type = le16_to_cpu((__force __le16)phdr->msg_type); in smsendian_handle_message_header()
99 phdr->msg_length = le16_to_cpu((__force __le16)phdr->msg_length); in smsendian_handle_message_header()
100 phdr->msg_flags = le16_to_cpu((__force __le16)phdr->msg_flags); in smsendian_handle_message_header()
Dsmscoreapi.c1485 struct sms_msg_hdr *phdr = (struct sms_msg_hdr *) ((u8 *) cb->p in smscore_onresponse() local
1507 if ((phdr->msg_type == MSG_SMS_HO_PER_SLICES_IND) || in smscore_onresponse()
1508 (phdr->msg_type == MSG_SMS_TRANSMISSION_IND)) { in smscore_onresponse()
1510 phdr->msg_dst_id = DVBT_BDA_CONTROL_MSG_ID; in smscore_onresponse()
1514 client = smscore_find_client(coredev, phdr->msg_type, phdr->msg_dst_id); in smscore_onresponse()
1522 switch (phdr->msg_type) { in smscore_onresponse()
1540 (struct sms_version_res *) phdr; in smscore_onresponse()
1562 struct sms_msg_data *validity = (struct sms_msg_data *) phdr; in smscore_onresponse()
1588 u32 *msgdata = (u32 *) phdr; in smscore_onresponse()
1601 ((char *)phdr in smscore_onresponse()
[all …]
Dsmsdvb-main.c519 struct sms_msg_hdr *phdr = (struct sms_msg_hdr *) (((u8 *) cb->p) in smsdvb_onresponse() local
521 void *p = phdr + 1; in smsdvb_onresponse()
526 switch (phdr->msg_type) { in smsdvb_onresponse()
/linux-4.19.296/fs/proc/
Dvmcore.c819 Elf64_Phdr phdr; in merge_note_headers_elf64() local
842 phdr.p_type = PT_NOTE; in merge_note_headers_elf64()
843 phdr.p_flags = 0; in merge_note_headers_elf64()
846 phdr.p_offset = roundup(note_off, PAGE_SIZE); in merge_note_headers_elf64()
847 phdr.p_vaddr = phdr.p_paddr = 0; in merge_note_headers_elf64()
848 phdr.p_filesz = phdr.p_memsz = phdr_sz; in merge_note_headers_elf64()
849 phdr.p_align = 0; in merge_note_headers_elf64()
853 memcpy(tmp, &phdr, sizeof(phdr)); in merge_note_headers_elf64()
854 tmp += sizeof(phdr); in merge_note_headers_elf64()
869 elfnotes_orig_sz = phdr.p_memsz; in merge_note_headers_elf64()
[all …]
Dkcore.c367 struct elf_phdr *phdrs, *phdr; in read_kcore() local
379 phdr = &phdrs[1]; in read_kcore()
381 phdr->p_type = PT_LOAD; in read_kcore()
382 phdr->p_flags = PF_R | PF_W | PF_X; in read_kcore()
383 phdr->p_offset = kc_vaddr_to_offset(m->addr) + data_offset; in read_kcore()
385 phdr->p_vaddr = (size_t)m->vaddr; in read_kcore()
387 phdr->p_vaddr = (size_t)m->addr; in read_kcore()
389 phdr->p_paddr = __pa(m->addr); in read_kcore()
391 phdr->p_paddr = __pa_symbol(m->addr); in read_kcore()
393 phdr->p_paddr = (elf_addr_t)-1; in read_kcore()
[all …]
/linux-4.19.296/drivers/uwb/i1480/dfu/
Dmac.c108 int fw_hdrs_load(struct i1480 *i1480, struct fw_hdr **phdr, in fw_hdrs_load() argument
114 struct fw_hdr *hdr, **prev_hdr = phdr; in fw_hdrs_load()
122 *phdr = NULL; in fw_hdrs_load()
148 fw_hdrs_free(*phdr); in fw_hdrs_load()
/linux-4.19.296/include/asm-generic/
Dvmlinux.lds.h919 #define PERCPU_VADDR(cacheline, vaddr, phdr) \ argument
923 } phdr \