Home
last modified time | relevance | path

Searched defs:perm (Results 1 – 25 of 86) sorted by relevance

1234

/Linux-v5.4/include/linux/
Dmoduleparam.h73 const u16 perm; member
126 #define module_param(name, type, perm) \ argument
132 #define module_param_unsafe(name, type, perm) \ argument
146 #define module_param_named(name, value, type, perm) \ argument
154 #define module_param_named_unsafe(name, value, type, perm) \ argument
167 #define module_param_cb(name, ops, arg, perm) \ argument
170 #define module_param_cb_unsafe(name, ops, arg, perm) \ argument
183 #define __level_param_cb(name, ops, arg, perm, level) \ argument
186 #define core_param_cb(name, ops, arg, perm) \ argument
189 #define postcore_param_cb(name, ops, arg, perm) \ argument
[all …]
/Linux-v5.4/drivers/vfio/pci/
Dvfio_pci_config.c175 int count, struct perm_bits *perm, in vfio_default_config_read()
201 int count, struct perm_bits *perm, in vfio_default_config_write()
248 int count, struct perm_bits *perm, in vfio_direct_config_read()
273 int count, struct perm_bits *perm, in vfio_raw_config_write()
286 int count, struct perm_bits *perm, in vfio_raw_config_read()
300 int count, struct perm_bits *perm, in vfio_virt_config_write()
308 int count, struct perm_bits *perm, in vfio_virt_config_read()
338 static void free_perm_bits(struct perm_bits *perm) in free_perm_bits()
346 static int alloc_perm_bits(struct perm_bits *perm, int size) in alloc_perm_bits()
499 int count, struct perm_bits *perm, in vfio_basic_config_read()
[all …]
/Linux-v5.4/security/integrity/
Ddigsig.c98 key_perm_t perm, in __integrity_init_keyring()
123 key_perm_t perm; in integrity_init_keyring() local
148 off_t size, key_perm_t perm) in integrity_add_key()
177 key_perm_t perm; in integrity_load_x509() local
196 const void *data, size_t len, key_perm_t perm) in integrity_load_cert()
/Linux-v5.4/security/selinux/
Dnlmsgtab.c25 u32 perm; member
144 static int nlmsg_perm(u16 nlmsg_type, u32 *perm, const struct nlmsg_perm *tab, size_t tabsize) in nlmsg_perm()
158 int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm) in selinux_nlmsg_lookup()
Davc.c198 u8 perm, u8 which) in avc_xperms_has_perm()
215 u8 driver, u8 perm) in avc_xperms_allow_perm()
272 static inline void avc_quick_copy_xperms_decision(u8 perm, in avc_quick_copy_xperms_decision()
386 u8 perm, in avc_xperms_audit_required()
417 u8 perm, int result, in avc_xperms_audit()
669 int i, perm; in avc_audit_pre_callback() local
/Linux-v5.4/security/tomoyo/
Dfile.c365 u16 perm = *a_perm; in tomoyo_merge_path_acl() local
386 static int tomoyo_update_path_acl(const u16 perm, in tomoyo_update_path_acl()
440 u8 perm = *a_perm; in tomoyo_merge_mkdev_acl() local
462 static int tomoyo_update_mkdev_acl(const u8 perm, in tomoyo_update_mkdev_acl()
520 u8 perm = *a_perm; in tomoyo_merge_path2_acl() local
541 static int tomoyo_update_path2_acl(const u8 perm, in tomoyo_update_path2_acl()
658 u8 perm = *a_perm; in tomoyo_merge_path_number_acl() local
678 static int tomoyo_update_path_number_acl(const u8 perm, in tomoyo_update_path_number_acl()
1014 u16 perm = 0; in tomoyo_write_file() local
Dcommon.c1406 const u16 perm = ptr->perm; in tomoyo_print_entry() local
1437 const u8 perm = ptr->perm; in tomoyo_print_entry() local
1458 const u8 perm = ptr->perm; in tomoyo_print_entry() local
1479 const u8 perm = ptr->perm; in tomoyo_print_entry() local
1502 const u8 perm = ptr->perm; in tomoyo_print_entry() local
1535 const u8 perm = ptr->perm; in tomoyo_print_entry() local
/Linux-v5.4/ipc/
Dutil.h206 static inline void ipc_lock_object(struct kern_ipc_perm *perm) in ipc_lock_object()
211 static inline void ipc_unlock_object(struct kern_ipc_perm *perm) in ipc_unlock_object()
216 static inline void ipc_assert_locked_object(struct kern_ipc_perm *perm) in ipc_assert_locked_object()
221 static inline void ipc_unlock(struct kern_ipc_perm *perm) in ipc_unlock()
235 static inline bool ipc_valid_object(struct kern_ipc_perm *perm) in ipc_valid_object()
Dnamespace.c98 struct kern_ipc_perm *perm; in free_ipcs() local
/Linux-v5.4/drivers/tty/vt/
Dvt_ioctl.c226 do_fontx_ioctl(int cmd, struct consolefontdesc __user *user_cfd, int perm, struct console_font_op *… in do_fontx_ioctl()
266 do_unimap_ioctl(int cmd, struct unimapdesc __user *user_ud, int perm, struct vc_data *vc) in do_unimap_ioctl()
342 int i, perm; in vt_ioctl() local
1079 int perm, struct console_font_op *op) in compat_fontx_ioctl()
1127 int perm, struct console_font_op *op, struct vc_data *vc) in compat_kdfontop_ioctl()
1152 int perm, struct vc_data *vc) in compat_unimap_ioctl()
1180 int perm; in vt_compat_ioctl() local
/Linux-v5.4/drivers/s390/char/
Dkeyboard.c360 int cmd, int perm) in do_kdsk_ioctl()
436 int cmd, int perm) in do_kdgkb_ioctl()
482 int perm; in kbd_ioctl() local
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_params.c30 #define i915_param_named(name, T, perm, desc) \ argument
33 #define i915_param_named_unsafe(name, T, perm, desc) \ argument
/Linux-v5.4/fs/9p/
Dvfs_inode.c643 struct dentry *dentry, char *extension, u32 perm, u8 mode) in v9fs_create()
728 u32 perm = unixmode2p9mode(v9ses, mode); in v9fs_vfs_create() local
753 u32 perm; in v9fs_vfs_mkdir() local
844 u32 perm; in v9fs_vfs_atomic_open() local
1286 u32 perm, const char *extension) in v9fs_vfs_mkspecial()
1376 u32 perm; in v9fs_vfs_mknod() local
Dvfs_dir.c53 unsigned long perm = mistat->mode; in dt_type() local
/Linux-v5.4/tools/include/linux/
Dmodule.h5 #define module_param(name, type, perm) argument
/Linux-v5.4/security/integrity/platform_certs/
Dplatform_keyring.c29 key_perm_t perm; in add_to_platform_keyring() local
/Linux-v5.4/tools/testing/selftests/capabilities/
Dtest_execve.c207 bool eff, bool perm, bool inh, bool ambient) in exec_other_validate_cap()
215 static void exec_validate_cap(bool eff, bool perm, bool inh, bool ambient) in exec_validate_cap()
/Linux-v5.4/security/keys/
Dpermission.c27 unsigned perm) in key_task_permission()
Dkey.c226 key_perm_t perm, unsigned long flags, in key_alloc()
813 key_perm_t perm, in key_create_or_update()
/Linux-v5.4/include/uapi/linux/
Diommu.h76 __u32 perm; member
98 __u32 perm; member
/Linux-v5.4/drivers/oprofile/
Doprofilefs.c137 const struct file_operations *fops, int perm, void *priv) in __oprofilefs_create_file()
211 char const *name, const struct file_operations *fops, int perm) in oprofilefs_create_file_perm()
/Linux-v5.4/security/apparmor/
Dlib.c205 unsigned int i, perm = 1; in aa_perm_mask_to_str() local
225 unsigned int i, perm = 1; in aa_audit_perm_names() local
/Linux-v5.4/fs/nfsd/
Dnfs4acl.c66 mask_from_posix(unsigned short perm, unsigned int flags) in mask_from_posix()
84 deny_mask_from_posix(unsigned short perm, u32 flags) in deny_mask_from_posix()
109 low_mode_from_nfs4(u32 perm, unsigned short *mode, unsigned int flags) in low_mode_from_nfs4()
/Linux-v5.4/tools/testing/selftests/kvm/lib/
Dkvm_util.c88 static void vm_open(struct kvm_vm *vm, int perm) in vm_open()
135 struct kvm_vm *_vm_create(enum vm_guest_mode mode, uint64_t phy_pages, int perm) in _vm_create()
237 struct kvm_vm *vm_create(enum vm_guest_mode mode, uint64_t phy_pages, int perm) in vm_create()
255 void kvm_vm_restart(struct kvm_vm *vmp, int perm) in kvm_vm_restart()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dopal-sysparam.c149 u8 *perm; in opal_sys_param_init() local

1234