| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/ |
| H A D | delegate_common.kshlib | 91 typeset perm 136 typeset perm 161 typeset perm=$2 165 case $perm in 201 typeset perm=$2 205 case $perm in 302 typeset perm=$2 306 case $perm in 378 typeset perm=$2 407 typeset perm=$2 [all …]
|
| /f-stack/freebsd/crypto/rc4/ |
| H A D | rc4.c | 68 state->perm[i] = (u_char)i; in rc4_init() 74 j += state->perm[i] + key[k]; in rc4_init() 75 swap_bytes(&state->perm[i], &state->perm[j]); in rc4_init() 98 state->index2 += state->perm[state->index1]; in rc4_crypt() 101 swap_bytes(&state->perm[state->index1], in rc4_crypt() 102 &state->perm[state->index2]); in rc4_crypt() 105 j = state->perm[state->index1] + state->perm[state->index2]; in rc4_crypt() 106 outbuf[i] = inbuf[i] ^ state->perm[j]; in rc4_crypt()
|
| H A D | rc4.h | 44 u_char perm[256]; member
|
| /f-stack/dpdk/lib/librte_vhost/ |
| H A D | iotlb.c | 20 uint8_t perm; member 45 uint8_t perm) in vhost_user_iotlb_pending_miss() argument 53 if ((node->iova == iova) && (node->perm == perm)) { in vhost_user_iotlb_pending_miss() 66 uint64_t iova, uint8_t perm) in vhost_user_iotlb_pending_insert() argument 86 node->perm = perm; in vhost_user_iotlb_pending_insert() 97 uint64_t iova, uint64_t size, uint8_t perm) in vhost_user_iotlb_pending_remove() argument 108 if ((node->perm & perm) != node->perm) in vhost_user_iotlb_pending_remove() 159 uint64_t uaddr, uint64_t size, uint8_t perm) in vhost_user_iotlb_cache_insert() argument 181 new_node->perm = perm; in vhost_user_iotlb_cache_insert() 238 uint64_t *size, uint8_t perm) in vhost_user_iotlb_cache_find() argument [all …]
|
| H A D | iotlb.h | 38 uint8_t perm); 42 uint64_t *size, uint8_t perm); 44 uint8_t perm); 46 uint8_t perm); 48 uint64_t size, uint8_t perm);
|
| H A D | vhost.h | 241 __u8 perm; member 691 uint64_t iova, uint64_t *len, uint8_t perm); 702 uint64_t iova, uint64_t *len, uint8_t perm) in vhost_iova_to_vva() argument 707 return __vhost_iova_to_vva(dev, vq, iova, len, perm); in vhost_iova_to_vva()
|
| H A D | vhost_user.h | 164 int vhost_user_iotlb_miss(struct virtio_net *dev, uint64_t iova, uint8_t perm);
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/kernel/linux/ |
| H A D | mod_compat.h | 112 #define ZFS_MODULE_PARAM(scope_prefix, name_prefix, name, type, perm, desc) \ argument 114 module_param(name_prefix ## name, type, perm); \ 141 #define ZFS_MODULE_PARAM_CALL(scope_prefix, name_prefix, name, setfunc, getfunc, perm, desc) \ argument 143 module_param_call(name_prefix ## name, setfunc, getfunc, &name_prefix ## name, perm); \ 152 #define ZFS_MODULE_VIRTUAL_PARAM_CALL(scope_prefix, name_prefix, name, setfunc, getfunc, perm, desc… argument 154 module_param_call(name_prefix ## name, setfunc, getfunc, NULL, perm); \
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
| H A D | tst.lib_table.lua | 138 function perm (s, n) function 153 perm{} 154 perm{1} 155 perm{1,2} 156 perm{1,2,3} 157 perm{1,2,3,4} 158 perm{2,2,3,4} 159 perm{1,2,3,4,5} 160 perm{1,2,3,3,5} 161 perm{1,2,3,4,5,6} [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/zcommon/ |
| H A D | zfs_deleg.c | 81 zfs_valid_permission_name(const char *perm) in zfs_valid_permission_name() argument 83 if (zfs_deleg_canonicalize_perm(perm)) in zfs_valid_permission_name() 86 return (permset_namecheck(perm, NULL, NULL)); in zfs_valid_permission_name() 90 zfs_deleg_canonicalize_perm(const char *perm) in zfs_deleg_canonicalize_perm() argument 96 if (strcmp(perm, zfs_deleg_perm_tab[i].z_perm) == 0) in zfs_deleg_canonicalize_perm() 97 return (perm); in zfs_deleg_canonicalize_perm() 100 prop = zfs_name_to_prop(perm); in zfs_deleg_canonicalize_perm()
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | mod_os.h | 47 #define ZFS_MODULE_PARAM(scope_prefix, name_prefix, name, type, perm, desc) \ argument 49 SYSCTL_##type(_vfs_ ## scope_prefix, OID_AUTO, name, perm, &name_prefix ## name, 0, desc) 53 #define ZFS_MODULE_PARAM_CALL_IMPL(parent, name, perm, args, desc) \ argument 55 SYSCTL_PROC(parent, OID_AUTO, name, perm | args, desc) 57 #define ZFS_MODULE_PARAM_CALL(scope_prefix, name_prefix, name, func, _, perm, desc) \ argument 58 …ZFS_MODULE_PARAM_CALL_IMPL(_vfs_ ## scope_prefix, name, perm, func ## _args(name_prefix ## name), …
|
| /f-stack/freebsd/kern/ |
| H A D | sysv_ipc.c | 90 ipcperm(struct thread *td, struct ipc_perm *perm, int acc_mode) in ipcperm() argument 96 if (cred->cr_uid == perm->cuid || cred->cr_uid == perm->uid) { in ipcperm() 97 obj_mode = perm->mode; in ipcperm() 99 } else if (groupmember(perm->gid, cred) || in ipcperm() 100 groupmember(perm->cgid, cred)) { in ipcperm() 101 obj_mode = perm->mode; in ipcperm() 104 obj_mode = perm->mode; in ipcperm()
|
| H A D | subr_acl_posix1e.c | 367 acl_perm_t perm = 0; in acl_posix1e_mode_to_perm() local 372 perm |= ACL_EXECUTE; in acl_posix1e_mode_to_perm() 374 perm |= ACL_READ; in acl_posix1e_mode_to_perm() 376 perm |= ACL_WRITE; in acl_posix1e_mode_to_perm() 377 return (perm); in acl_posix1e_mode_to_perm() 383 perm |= ACL_READ; in acl_posix1e_mode_to_perm() 385 perm |= ACL_WRITE; in acl_posix1e_mode_to_perm() 386 return (perm); in acl_posix1e_mode_to_perm() 392 perm |= ACL_READ; in acl_posix1e_mode_to_perm() 394 perm |= ACL_WRITE; in acl_posix1e_mode_to_perm() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | dsl_deleg.c | 107 const char *perm = nvpair_name(permpair); in dsl_deleg_can_allow() local 109 if (strcmp(perm, ZFS_DELEG_PERM_ALLOW) == 0) in dsl_deleg_can_allow() 188 const char *perm = nvpair_name(permpair); in dsl_deleg_set_sync() local 192 perm, 8, 1, &n, tx) == 0); in dsl_deleg_set_sync() 194 "%s %s", whokey, perm); in dsl_deleg_set_sync() 238 const char *perm = nvpair_name(permpair); in dsl_deleg_unset_sync() local 241 (void) zap_remove(mos, jumpobj, perm, tx); in dsl_deleg_unset_sync() 249 "%s %s", whokey, perm); in dsl_deleg_unset_sync() 448 ZFS_DELEG_USER, checkflag, &id, perm) == 0) in dsl_check_user_access() 454 ZFS_DELEG_GROUP, checkflag, &id, perm) == 0) in dsl_check_user_access() [all …]
|
| H A D | vdev_draid.c | 1083 uint64_t *perm, uint64_t *start) in vdev_draid_logical_to_physical() argument 1132 *perm = group / ngroups; in vdev_draid_logical_to_physical() 1173 uint64_t groupstart, perm; in vdev_draid_map_alloc_row() local 1175 io_offset, &perm, &groupstart); in vdev_draid_map_alloc_row() 1229 vdev_draid_get_perm(vdc, perm, &base, &iter); in vdev_draid_map_alloc_row() 1596 uint64_t groupstart, perm; in vdev_draid_group_degraded() local 1598 offset, &perm, &groupstart); in vdev_draid_group_degraded() 1636 uint64_t groupstart, perm; in vdev_draid_group_missing() local 1638 offset, &perm, &groupstart); in vdev_draid_group_missing() 2286 uint64_t perm, groupstart; in vdev_draid_xlate() local [all …]
|
| /f-stack/freebsd/crypto/skein/ |
| H A D | skein_debug.c | 126 const u08b_t *perm; in Skein_Show_Round() local 144 case 256: perm = PERM_256 [r&3]; break; in Skein_Show_Round() 145 case 512: perm = PERM_512 [r&3]; break; in Skein_Show_Round() 146 default: perm = PERM_1024[r&3]; break; in Skein_Show_Round() 149 p[j] = X[perm[j]]; in Skein_Show_Round()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | dsl_deleg.h | 78 int dsl_deleg_access(const char *ddname, const char *perm, cred_t *cr); 79 int dsl_deleg_access_impl(struct dsl_dataset *ds, const char *perm, cred_t *cr);
|
| /f-stack/freebsd/sys/ |
| H A D | ipc.h | 126 #define IXSEQ_TO_IPCID(ix,perm) (((perm.seq) << 16) | (ix & 0xffff)) argument
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit_bsm.c | 1643 struct ipc_perm perm; in kaudit_to_bsm() local 1645 perm.uid = ar->ar_arg_pipc_perm.pipc_uid; in kaudit_to_bsm() 1646 perm.gid = ar->ar_arg_pipc_perm.pipc_gid; in kaudit_to_bsm() 1650 perm.seq = 0; in kaudit_to_bsm() 1651 perm.key = 0; in kaudit_to_bsm() 1652 tok = au_to_ipc_perm(&perm); in kaudit_to_bsm() 1678 struct ipc_perm perm; in kaudit_to_bsm() local 1680 perm.uid = ar->ar_arg_pipc_perm.pipc_uid; in kaudit_to_bsm() 1685 perm.seq = 0; in kaudit_to_bsm() 1686 perm.key = 0; in kaudit_to_bsm() [all …]
|
| H A D | bsm_token.c | 509 ADD_U_INT16(dptr, perm->uid); in au_to_ipc_perm() 511 ADD_U_INT16(dptr, perm->gid); in au_to_ipc_perm() 513 ADD_U_INT16(dptr, perm->cuid); in au_to_ipc_perm() 515 ADD_U_INT16(dptr, perm->cgid); in au_to_ipc_perm() 517 ADD_U_INT32(dptr, perm->uid); in au_to_ipc_perm() 518 ADD_U_INT32(dptr, perm->gid); in au_to_ipc_perm() 519 ADD_U_INT32(dptr, perm->cuid); in au_to_ipc_perm() 520 ADD_U_INT32(dptr, perm->cgid); in au_to_ipc_perm() 524 ADD_U_INT16(dptr, perm->mode); in au_to_ipc_perm() 528 ADD_U_INT16(dptr, perm->seq); in au_to_ipc_perm() [all …]
|
| H A D | audit.h | 132 void audit_arg_svipc_perm(struct ipc_perm *perm); 319 #define AUDIT_ARG_SVIPC_PERM(perm) do { \ argument 321 audit_arg_svipc_perm((perm)); \ 455 #define AUDIT_ARG_SVIPC_PERM(perm) argument
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/include/test/ |
| H A D | SFMT-alti.h | 178 const vector unsigned char perm = ALTI_SWAP; in swap() local 181 array[i].s = vec_perm(array[i].s, (vector unsigned int)perm, perm); in swap()
|
| /f-stack/freebsd/contrib/openzfs/include/ |
| H A D | zfs_deleg.h | 93 const char *zfs_deleg_canonicalize_perm(const char *perm);
|
| /f-stack/dpdk/drivers/net/virtio/virtio_user/ |
| H A D | vhost_vdpa.c | 64 uint8_t perm; member 94 msg.iotlb.perm = VHOST_ACCESS_RW; in vhost_vdpa_dma_map()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | anet.h | 63 int anetUnixServer(char *err, char *path, mode_t perm, int backlog);
|