Home
last modified time | relevance | path

Searched refs:perm (Results 1 – 25 of 29) sorted by relevance

12

/drivers/vfio/pci/
Dvfio_pci_config.c117 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/
Dvt_ioctl.c223 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 …]
Dkeyboard.c1613 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/
Dmc.c264 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/
Dkeyboard.c333 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/
Dvsoc.c165 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/
Doprofilefs.c136 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/
Dwilc_debugfs.c93 int perm; member
111 info->perm, in wilc_debugfs_init()
/drivers/scsi/cxlflash/
Dsislite.h448 #define SISL_RHT_FP(fmt, perm) (((fmt) << 4) | (perm)) argument
/drivers/infiniband/hw/cxgb3/
Dcxio_hal.h173 enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len,
176 enum tpt_mem_perm perm, u32 zbva, u64 to, u32 len,
Dcxio_hal.c699 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/
Ddasd_fba.h13 unsigned char perm:2; /* Permissions on this extent */ member
Ddasd_fba.c96 (data->mask).perm = 0x0; in define_extent()
98 (data->mask).perm = 0x1; in define_extent()
100 data->mask.perm = 0x2; in define_extent()
Ddasd_eckd.c265 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 …]
Ddasd_eckd.h146 unsigned char perm:2; /* Permissions on this extent */ member
/drivers/staging/android/uapi/
Dvsoc_shm.h82 struct fd_scoped_permission perm; member
/drivers/net/wireless/marvell/libertas/
Ddebugfs.c655 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/
Dvhost.c863 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()
Dvhost.h68 __u32 perm; member
/drivers/net/fddi/skfp/h/
Dfplustm.h225 u_char perm ; /* flag: permanent */ member
/drivers/ata/
Dlibata-transport.c687 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument
689 i->private_##attrb[count].attr.mode = perm; \
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmac80211_if.c1104 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/
Dairo.c1773 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/
Dscsi_transport_sas.c1741 #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/
Dmem.c261 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()

12