/drivers/vfio/pci/ |
D | vfio_pci_config.c | 117 struct perm_bits *perm, int offset, __le32 *val); 119 struct perm_bits *perm, int offset, __le32 val); 180 int count, struct perm_bits *perm, in vfio_default_config_read() argument 187 memcpy(&virt, perm->virt + offset, count); in vfio_default_config_read() 206 int count, struct perm_bits *perm, in vfio_default_config_write() argument 211 memcpy(&write, perm->write + offset, count); in vfio_default_config_write() 216 memcpy(&virt, perm->virt + offset, count); in vfio_default_config_write() 253 int count, struct perm_bits *perm, in vfio_direct_config_read() argument 278 int count, struct perm_bits *perm, in vfio_raw_config_write() argument 291 int count, struct perm_bits *perm, in vfio_raw_config_read() argument [all …]
|
/drivers/tty/vt/ |
D | vt_ioctl.c | 223 do_fontx_ioctl(int cmd, struct consolefontdesc __user *user_cfd, int perm, struct console_font_op *… in do_fontx_ioctl() argument 233 if (!perm) in do_fontx_ioctl() 263 do_unimap_ioctl(int cmd, struct unimapdesc __user *user_ud, int perm, struct vc_data *vc) in do_unimap_ioctl() argument 275 if (!perm) in do_unimap_ioctl() 279 if (!perm && fg_console != vc->vc_num) in do_unimap_ioctl() 343 int i, perm; in vt_ioctl() local 359 perm = 0; in vt_ioctl() 361 perm = 1; in vt_ioctl() 368 if (!perm) in vt_ioctl() 382 if (!perm) in vt_ioctl() [all …]
|
D | keyboard.c | 1613 int vt_do_diacrit(unsigned int cmd, void __user *udp, int perm) in vt_do_diacrit() argument 1689 if (!perm) in vt_do_diacrit() 1726 if (!perm) in vt_do_diacrit() 1824 int perm) in vt_do_kbkeycode_ioctl() argument 1838 if (!perm) in vt_do_kbkeycode_ioctl() 1850 int vt_do_kdsk_ioctl(int cmd, struct kbentry __user *user_kbe, int perm, in vt_do_kdsk_ioctl() argument 1862 perm = 0; in vt_do_kdsk_ioctl() 1878 if (!perm) in vt_do_kdsk_ioctl() 1956 int vt_do_kdgkb_ioctl(int cmd, struct kbsentry __user *user_kdgkb, int perm) in vt_do_kdgkb_ioctl() argument 1969 perm = 0; in vt_do_kdgkb_ioctl() [all …]
|
/drivers/memory/tegra/ |
D | mc.c | 264 char perm[7]; in tegra_mc_irq() local 303 perm[0] = ' '; in tegra_mc_irq() 304 perm[1] = '['; in tegra_mc_irq() 307 perm[2] = 'R'; in tegra_mc_irq() 309 perm[2] = '-'; in tegra_mc_irq() 312 perm[3] = 'W'; in tegra_mc_irq() 314 perm[3] = '-'; in tegra_mc_irq() 317 perm[4] = '-'; in tegra_mc_irq() 319 perm[4] = 'S'; in tegra_mc_irq() 321 perm[5] = ']'; in tegra_mc_irq() [all …]
|
/drivers/s390/char/ |
D | keyboard.c | 333 int cmd, int perm) in do_kdsk_ioctl() argument 360 if (!perm) in do_kdsk_ioctl() 405 int cmd, int perm) in do_kdgkb_ioctl() argument 434 if (!perm) in do_kdgkb_ioctl() 456 int perm; in kbd_ioctl() local 466 perm = current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG); in kbd_ioctl() 473 return do_kdsk_ioctl(kbd, argp, cmd, perm); in kbd_ioctl() 476 return do_kdgkb_ioctl(kbd, argp, cmd, perm); in kbd_ioctl() 512 if (!perm) in kbd_ioctl() 532 if (!perm) in kbd_ioctl()
|
/drivers/staging/android/ |
D | vsoc.c | 165 struct fd_scoped_permission *perm); 271 if (copy_from_user(&np->permission, &arg->perm, sizeof(*np)) || in do_create_fd_scoped_permission() 371 struct fd_scoped_permission *perm) in do_destroy_fd_scoped_permission() argument 376 if (!perm) in do_destroy_fd_scoped_permission() 379 owner_region_p->region_begin_offset + perm->owner_offset); in do_destroy_fd_scoped_permission() 381 if (prev != perm->owned_value) in do_destroy_fd_scoped_permission() 384 perm->begin_offset, perm->end_offset, in do_destroy_fd_scoped_permission() 385 owner_region_p->device_name, perm->owner_offset, in do_destroy_fd_scoped_permission() 386 perm->owned_value, prev); in do_destroy_fd_scoped_permission() 1116 struct fd_scoped_permission *perm; in vsoc_get_area() local [all …]
|
/drivers/oprofile/ |
D | oprofilefs.c | 136 const struct file_operations *fops, int perm, void *priv) in __oprofilefs_create_file() argument 147 inode = oprofilefs_get_inode(root->d_sb, S_IFREG | perm); in __oprofilefs_create_file() 207 char const *name, const struct file_operations *fops, int perm) in oprofilefs_create_file_perm() argument 209 return __oprofilefs_create_file(root, name, fops, perm, NULL); in oprofilefs_create_file_perm()
|
/drivers/staging/wilc1000/ |
D | wilc_debugfs.c | 93 int perm; member 111 info->perm, in wilc_debugfs_init()
|
/drivers/scsi/cxlflash/ |
D | sislite.h | 448 #define SISL_RHT_FP(fmt, perm) (((fmt) << 4) | (perm)) argument
|
/drivers/infiniband/hw/cxgb3/ |
D | cxio_hal.h | 173 enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len, 176 enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len,
|
D | cxio_hal.c | 699 enum tpt_mem_type type, enum tpt_mem_perm perm, in __cxio_tpt_op() argument 734 tpt.flags_pagesize_qpid = cpu_to_be32(V_TPT_PERM(perm) | in __cxio_tpt_op() 735 ((perm & TPT_MW_BIND) ? F_TPT_MW_BIND_ENABLE : 0) | in __cxio_tpt_op() 791 enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len, in cxio_register_phys_mem() argument 795 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_register_phys_mem() 800 enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len, in cxio_reregister_phys_mem() argument 803 return __cxio_tpt_op(rdev_p, 0, stag, 1, pdid, TPT_NON_SHARED_MR, perm, in cxio_reregister_phys_mem()
|
/drivers/s390/block/ |
D | dasd_fba.h | 13 unsigned char perm:2; /* Permissions on this extent */ member
|
D | dasd_fba.c | 96 (data->mask).perm = 0x0; in define_extent() 98 (data->mask).perm = 0x1; in define_extent() 100 data->mask.perm = 0x2; in define_extent()
|
D | dasd_eckd.c | 265 data->mask.perm = 0x1; in define_extent() 269 data->mask.perm = 0x1; in define_extent() 276 data->mask.perm = 0x02; in define_extent() 288 data->mask.perm = 0x3; in define_extent() 542 dedata->mask.perm = 0x1; in prefix_LRE() 546 dedata->mask.perm = 0x1; in prefix_LRE() 551 dedata->mask.perm = 0x1; in prefix_LRE() 559 dedata->mask.perm = 0x02; in prefix_LRE() 571 dedata->mask.perm = 0x3; in prefix_LRE() 577 dedata->mask.perm = 0x03; in prefix_LRE() [all …]
|
D | dasd_eckd.h | 146 unsigned char perm:2; /* Permissions on this extent */ member
|
/drivers/staging/android/uapi/ |
D | vsoc_shm.h | 82 struct fd_scoped_permission perm; member
|
/drivers/net/wireless/marvell/libertas/ |
D | debugfs.c | 655 umode_t perm; member 716 files->perm, in lbs_debugfs_init_one() 729 files->perm, in lbs_debugfs_init_one() 742 files->perm, in lbs_debugfs_init_one()
|
/drivers/vhost/ |
D | vhost.c | 863 u64 userspace_addr, int perm) in vhost_new_umem_range() argument 879 node->perm = perm; in vhost_new_umem_range() 948 if (umem_access_ok(msg->uaddr, msg->size, msg->perm)) { in vhost_process_iotlb_msg() 954 msg->uaddr, msg->perm)) { in vhost_process_iotlb_msg() 1082 msg->perm = access; in vhost_iotlb_miss() 1118 } else if (!(node->perm & access)) { in iotlb_access_ok() 1770 } else if (!(node->perm & access)) { in translate_desc()
|
D | vhost.h | 68 __u32 perm; member
|
/drivers/net/fddi/skfp/h/ |
D | fplustm.h | 225 u_char perm ; /* flag: permanent */ member
|
/drivers/ata/ |
D | libata-transport.c | 687 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument 689 i->private_##attrb[count].attr.mode = perm; \
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | mac80211_if.c | 1104 u8 perm[ETH_ALEN]; in brcms_attach() local 1160 memcpy(perm, &wl->pub->cur_etheraddr, ETH_ALEN); in brcms_attach() 1161 if (WARN_ON(!is_valid_ether_addr(perm))) in brcms_attach() 1163 SET_IEEE80211_PERM_ADDR(hw, perm); in brcms_attach()
|
/drivers/net/wireless/cisco/ |
D | airo.c | 1773 static int writeWepKeyRid(struct airo_info *ai, WepKeyRid *wkr, int perm, int lock) in writeWepKeyRid() argument 1779 if (perm) { in writeWepKeyRid() 5206 u16 keylen, int perm, int lock) in set_wep_key() argument 5222 if (perm) disable_MAC(ai, lock); in set_wep_key() 5223 rc = writeWepKeyRid(ai, &wkr, perm, lock); in set_wep_key() 5224 if (perm) enable_MAC(ai, lock); in set_wep_key() 5228 static int set_wep_tx_idx(struct airo_info *ai, u16 index, int perm, int lock) in set_wep_tx_idx() argument 5238 if (perm) { in set_wep_tx_idx() 5243 rc = writeWepKeyRid(ai, &wkr, perm, lock); in set_wep_tx_idx() 5245 if (perm) in set_wep_tx_idx() [all …]
|
/drivers/scsi/ |
D | scsi_transport_sas.c | 1741 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument 1743 i->private_##attrb[count].attr.mode = perm; \ 1748 #define SETUP_TEMPLATE_RW(attrb, field, perm, test, ro_test, ro_perm) \ argument 1750 i->private_##attrb[count].attr.mode = perm; \
|
/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 261 enum fw_ri_stag_type type, enum fw_ri_mem_perms perm, in write_tpt_entry() argument 303 tpt.locread_to_qpid = cpu_to_be32(FW_RI_TPTE_PERM_V(perm) | in write_tpt_entry()
|