/linux-master/tools/testing/selftests/powerpc/include/ |
H A D | pkeys.h | 15 * Older versions of libc use the Intel-specific access rights. 52 void pkey_set_rights(int pkey, unsigned long rights) argument 59 amr |= (rights & PKEY_BITS_MASK) << shift; 68 int sys_pkey_alloc(unsigned long flags, unsigned long rights) argument 70 return syscall(__NR_pkey_alloc, flags, rights); 121 unsigned long next_pkey_rights(unsigned long rights) 123 if (rights == PKEY_DISABLE_ACCESS) 125 else if (rights == (PKEY_DISABLE_ACCESS | PKEY_DISABLE_EXECUTE)) 128 if ((rights & PKEY_BITS_MASK) == 0) 129 rights | [all...] |
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | pkey_exec_prot.c | 105 unsigned long rights; local 154 rights = PKEY_DISABLE_EXECUTE; 155 pkey = sys_pkey_alloc(0, rights); 181 pkey_rights(rights)); 198 pkey_rights(rights)); 203 rights |= PKEY_DISABLE_ACCESS; 217 pkey_set_rights(pkey, rights); 219 pkey_rights(rights)); 234 pkey_set_rights(pkey, rights); 236 pkey_rights(rights)); [all...] |
H A D | pkey_siginfo.c | 31 static volatile sig_atomic_t rights, fault_count; variable 71 * If the current fault occurred due to lack of execute rights, 73 * rights cannot be changed directly for the faulting pkey as 77 * read-write rights, change the AMR permission bits for the 82 if (rights == PKEY_DISABLE_EXECUTE && 92 unsigned long rights; member in struct:region 99 unsigned long rights; local 110 rights = 0; 112 printf("tid %d, pkey permissions are %s\n", tid, pkey_rights(rights)); 115 perm_pkey = sys_pkey_alloc(0, rights); 227 reset_pkeys(unsigned long rights) argument [all...] |
H A D | exec_prot.c | 85 static int check_exec_fault(int rights) argument 95 if (!(rights & PROT_EXEC)) 98 FAIL_IF(mprotect(insns, pgsize, rights) != 0); 102 if (!(rights & PROT_EXEC))
|
/linux-master/drivers/infiniband/sw/siw/ |
H A D | siw_mem.h | 10 u64 len, int rights); 24 u64 start, u64 len, int rights);
|
H A D | siw_verbs.h | 68 u64 rnic_va, int rights, struct ib_udata *udata); 71 struct ib_mr *siw_get_dma_mr(struct ib_pd *base_pd, int rights);
|
H A D | siw_mem.c | 82 u64 start, u64 len, int rights) 98 mem->perms = rights & IWARP_ACCESS_MASK; 200 * Check SGE for access rights in given interval 358 u64 len, int rights) 384 base_mem = ib_umem_get(base_dev, start, len, rights); 81 siw_mr_add_mem(struct siw_mr *mr, struct ib_pd *pd, void *mem_obj, u64 start, u64 len, int rights) argument 357 siw_umem_get(struct ib_device *base_dev, u64 start, u64 len, int rights) argument
|
H A D | siw_verbs.c | 1313 * @rights: MR access rights 1317 u64 rnic_va, int rights, struct ib_udata *udata) 1338 umem = siw_umem_get(pd->device, start, len, rights); 1350 rv = siw_mr_add_mem(mr, pd, umem, start, len, rights); 1530 struct ib_mr *siw_get_dma_mr(struct ib_pd *pd, int rights) argument 1546 rv = siw_mr_add_mem(mr, pd, NULL, 0, ULONG_MAX, rights); 1316 siw_reg_user_mr(struct ib_pd *pd, u64 start, u64 len, u64 rnic_va, int rights, struct ib_udata *udata) argument
|
/linux-master/tools/testing/selftests/livepatch/ |
H A D | functions.sh | 319 # expected_rights - expected access rights 326 local rights=$(/bin/stat --format '%A' "$path") 327 if test "$rights" != "$expected_rights" ; then 328 die "Unexpected access rights of $path: $expected_rights vs. $rights"
|
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | platform.h | 220 u64 *rights);
|
H A D | device-init.c | 51 &dev->lpm.rights); 68 if (!(dev->lpm.rights & PS3_LPM_RIGHTS_USE_LPM)) { 69 pr_debug("%s:%d: don't have rights to use lpm\n", 75 pr_debug("%s:%d: pu_id %llu, rights %llu(%llxh)\n", 76 __func__, __LINE__, dev->lpm.pu_id, dev->lpm.rights, 77 dev->lpm.rights);
|
H A D | repository.c | 1030 u64 *rights) 1036 *rights = 0; 1044 lpar, rights); 1029 ps3_repository_read_lpm_privileges(unsigned int be_index, u64 *lpar, u64 *rights) argument
|
/linux-master/arch/powerpc/include/asm/ |
H A D | ps3.h | 363 u64 rights; member in struct:ps3_system_bus_device::__anon15 472 * rights @PS3_LPM_RIGHTS_USE_TB.
|
/linux-master/drivers/infiniband/hw/erdma/ |
H A D | erdma_verbs.h | 346 struct ib_mr *erdma_get_dma_mr(struct ib_pd *ibpd, int rights);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | protection_keys.c | 7 * * how to set/clear bits in pkey registers (the rights register) 190 static int hw_pkey_set(int pkey, unsigned long rights, unsigned long flags) argument 196 /* make sure that 'rights' only contains the bits we expect: */ 197 assert(!(rights & ~mask)); 200 new_pkey_reg = set_pkey_bits(old_pkey_reg, pkey, rights); 204 dprintf3("%s(pkey=%d, rights=%lx, flags=%lx) = %x" 206 __func__, pkey, rights, flags, 0, __read_pkey_reg(),
|
/linux-master/drivers/ps3/ |
H A D | ps3-lpm.c | 94 * @rights: The lpm rigths granted by the system policy module. A logical 119 u64 rights; member in struct:ps3_lpm_priv 1192 lpm_priv->rights = dev->lpm.rights;
|
/linux-master/arch/m68k/ifpsp060/ |
H A D | fskeleton.S | 7 |M68060 Software Package Copyright �� 1993, 1994 Motorola Inc. All rights reserved.
|
H A D | iskeleton.S | 7 |M68060 Software Package Copyright �� 1993, 1994 Motorola Inc. All rights reserved.
|
H A D | os.S | 7 |M68060 Software Package Copyright �� 1993, 1994 Motorola Inc. All rights reserved.
|
/linux-master/arch/powerpc/crypto/ |
H A D | chacha-p10le-8x.S | 5 # Copyright 2023- IBM Corp. All rights reserved
|
H A D | aes-gcm-p10.S | 5 # Copyright 2022- IBM Inc. All rights reserved
|
H A D | poly1305-p10le_64.S | 5 # Copyright 2023- IBM Corp. All rights reserved
|
/linux-master/arch/m68k/ifpsp060/src/ |
H A D | isp.S | 7 M68060 Software Package Copyright �� 1993, 1994 Motorola Inc. All rights reserved.
|
H A D | ilsp.S | 7 M68060 Software Package Copyright �� 1993, 1994 Motorola Inc. All rights reserved.
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | cwsr_trap_handler_gfx8.asm | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
|