/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | sys_s390.c | 82 SYSCALL_DEFINE1(s390_personality, unsigned int, personality) in SYSCALL_DEFINE1() argument 84 unsigned int ret = current->personality; in SYSCALL_DEFINE1() 86 if (personality(current->personality) == PER_LINUX32 && in SYSCALL_DEFINE1() 87 personality(personality) == PER_LINUX) in SYSCALL_DEFINE1() 88 personality |= PER_LINUX32; in SYSCALL_DEFINE1() 90 if (personality != 0xffffffff) in SYSCALL_DEFINE1() 91 set_personality(personality); in SYSCALL_DEFINE1() 93 if (personality(ret) == PER_LINUX32) in SYSCALL_DEFINE1()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | syscalls.c | 100 long ppc64_personality(unsigned long personality) in ppc64_personality() argument 104 if (personality(current->personality) == PER_LINUX32 in ppc64_personality() 105 && personality(personality) == PER_LINUX) in ppc64_personality() 106 personality = (personality & ~PER_MASK) | PER_LINUX32; in ppc64_personality() 107 ret = sys_personality(personality); in ppc64_personality() 108 if (personality(ret) == PER_LINUX32) in ppc64_personality()
|
/kernel/linux/linux-5.10/kernel/ |
D | exec_domain.c | 38 SYSCALL_DEFINE1(personality, unsigned int, personality) in SYSCALL_DEFINE1() argument 40 unsigned int old = current->personality; in SYSCALL_DEFINE1() 42 if (personality != 0xffffffff) in SYSCALL_DEFINE1() 43 set_personality(personality); in SYSCALL_DEFINE1()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | elf.c | 46 unsigned int personality = current->personality & ~PER_MASK; in elf_set_personality() local 52 personality |= PER_LINUX; in elf_set_personality() 59 personality &= ~ADDR_LIMIT_32BIT; in elf_set_personality() 61 personality |= ADDR_LIMIT_32BIT; in elf_set_personality() 63 set_personality(personality); in elf_set_personality()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | linux32.c | 88 SYSCALL_DEFINE1(32_personality, unsigned long, personality) 90 unsigned int p = personality & 0xffffffff; 93 if (personality(current->personality) == PER_LINUX32 && 94 personality(p) == PER_LINUX) 97 if (ret != -1 && personality(ret) == PER_LINUX32)
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | sys.c | 31 SYSCALL_DEFINE1(arm64_personality, unsigned int, personality) in SYSCALL_DEFINE1() argument 33 if (personality(personality) == PER_LINUX32 && in SYSCALL_DEFINE1() 36 return ksys_personality(personality); in SYSCALL_DEFINE1()
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | sys_parisc.c | 206 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy() 363 long parisc_personality(unsigned long personality) in parisc_personality() argument 367 if (personality(current->personality) == PER_LINUX32 in parisc_personality() 368 && personality(personality) == PER_LINUX) in parisc_personality() 369 personality = (personality & ~PER_MASK) | PER_LINUX32; in parisc_personality() 371 err = sys_personality(personality); in parisc_personality() 372 if (personality(err) == PER_LINUX32) in parisc_personality()
|
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/ |
D | fcntl.h | 10 (personality(current->personality) != PER_LINUX32)
|
/kernel/linux/linux-5.10/include/linux/ |
D | personality.h | 10 #define personality(pers) (pers & PER_MASK) macro 15 #define set_personality(pers) (current->personality = (pers))
|
D | elf.h | 17 set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | elf.h | 235 (current->personality & (~PER_MASK))); \ 242 if (personality(current->personality) != PER_LINUX32) \ 244 (current->personality & ~PER_MASK)); \
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | processor.h | 20 #define STACK_TOP ((current->personality & ADDR_LIMIT_32BIT) ? \ 63 current->personality & FDPIC_FUNCPTRS) { \ 70 if (current->personality & ADDR_LIMIT_32BIT) \
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | sys_sparc_64.c | 291 (current->personality & ADDR_COMPAT_LAYOUT) || in arch_pick_mmap_layout() 421 SYSCALL_DEFINE1(sparc64_personality, unsigned long, personality) in SYSCALL_DEFINE1() argument 425 if (personality(current->personality) == PER_LINUX32 && in SYSCALL_DEFINE1() 426 personality(personality) == PER_LINUX) in SYSCALL_DEFINE1() 427 personality |= PER_LINUX32; in SYSCALL_DEFINE1() 428 ret = sys_personality(personality); in SYSCALL_DEFINE1() 429 if (personality(ret) == PER_LINUX32) in SYSCALL_DEFINE1()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | elf_64.h | 210 if (personality(current->personality) != PER_LINUX32) \ 212 (current->personality & (~PER_MASK))); \
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
D | processor.h | 19 (current->personality & ADDR_LIMIT_32BIT ? 0x80000000 : 0x00120000000UL) 27 ((current->personality & ADDR_LIMIT_32BIT) ? 0x40000000 : TASK_SIZE / 2)
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | elf.h | 93 if (personality(current->personality) != PER_LINUX32) \ 95 (current->personality & (~PER_MASK))); \
|
D | syscalls.h | 18 asmlinkage long ppc64_personality(unsigned long personality);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 269 enum qed_pci_personality personality; member 271 ((dev)->hw_info.personality == QED_PCI_ETH_ROCE || \ 272 (dev)->hw_info.personality == QED_PCI_ETH_IWARP || \ 273 (dev)->hw_info.personality == QED_PCI_ETH_RDMA) 275 ((dev)->hw_info.personality == QED_PCI_ETH_ROCE || \ 276 (dev)->hw_info.personality == QED_PCI_ETH_RDMA) 278 ((dev)->hw_info.personality == QED_PCI_ETH_IWARP || \ 279 (dev)->hw_info.personality == QED_PCI_ETH_RDMA) 281 ((dev)->hw_info.personality == QED_PCI_ETH || \ 284 ((dev)->hw_info.personality == QED_PCI_FCOE) [all …]
|
D | qed_sp_commands.c | 380 switch (p_hwfn->hw_info.personality) { in qed_sp_pf_start() 382 p_ramrod->personality = PERSONALITY_ETH; in qed_sp_pf_start() 385 p_ramrod->personality = PERSONALITY_FCOE; in qed_sp_pf_start() 388 p_ramrod->personality = PERSONALITY_ISCSI; in qed_sp_pf_start() 392 p_ramrod->personality = PERSONALITY_RDMA_AND_ETH; in qed_sp_pf_start() 396 p_hwfn->hw_info.personality); in qed_sp_pf_start() 397 p_ramrod->personality = PERSONALITY_ETH; in qed_sp_pf_start()
|
D | qed_dev.c | 1376 if (p_hwfn->hw_info.personality == QED_PCI_FCOE) in qed_resc_free() 1379 if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { in qed_resc_free() 1418 switch (p_hwfn->hw_info.personality) { in qed_get_pq_flags() 1439 "unknown personality %d\n", p_hwfn->hw_info.personality); in qed_get_pq_flags() 2266 } else if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { in qed_resc_alloc() 2301 if (p_hwfn->hw_info.personality == QED_PCI_FCOE) { in qed_resc_alloc() 2307 if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { in qed_resc_alloc() 2389 if (p_hwfn->hw_info.personality == QED_PCI_FCOE) in qed_resc_setup() 2392 if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { in qed_resc_setup() 2857 (p_hwfn->hw_info.personality == QED_PCI_ISCSI) ? 1 : 0); in qed_hw_init_pf() [all …]
|
D | qed_dcbx.h | 60 enum qed_pci_personality personality; member
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | elf.h | 355 if (personality(current->personality) != PER_LINUX) \ 413 current->personality &= ~READ_IMPLIES_EXEC; \ 422 p = personality(current->personality); \
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | elf.h | 25 set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | page_64_types.h | 87 #define IA32_PAGE_OFFSET ((current->personality & ADDR_LIMIT_3GB) ? \
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/raid/ |
D | md_u.h | 93 int personality; member
|