Home
last modified time | relevance | path

Searched refs:personality (Results 1 – 25 of 111) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/s390/kernel/
Dsys_s390.c82 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/
Dsyscalls.c100 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/
Dexec_domain.c38 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/
Delf.c46 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/
Dlinux32.c88 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/
Dsys.c31 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/
Dsys_parisc.c206 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/
Dfcntl.h10 (personality(current->personality) != PER_LINUX32)
/kernel/linux/linux-5.10/include/linux/
Dpersonality.h10 #define personality(pers) (pers & PER_MASK) macro
15 #define set_personality(pers) (current->personality = (pers))
Delf.h17 set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
/kernel/linux/linux-5.10/arch/s390/include/asm/
Delf.h235 (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/
Dprocessor.h20 #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/
Dsys_sparc_64.c291 (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/
Delf_64.h210 if (personality(current->personality) != PER_LINUX32) \
212 (current->personality & (~PER_MASK))); \
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dprocessor.h19 (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/
Delf.h93 if (personality(current->personality) != PER_LINUX32) \
95 (current->personality & (~PER_MASK))); \
Dsyscalls.h18 asmlinkage long ppc64_personality(unsigned long personality);
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed.h269 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 …]
Dqed_sp_commands.c380 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()
Dqed_dev.c1376 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 …]
Dqed_dcbx.h60 enum qed_pci_personality personality; member
/kernel/linux/linux-5.10/arch/mips/include/asm/
Delf.h355 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/
Delf.h25 set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpage_64_types.h87 #define IA32_PAGE_OFFSET ((current->personality & ADDR_LIMIT_3GB) ? \
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/raid/
Dmd_u.h93 int personality; member

12345