/drivers/xen/ |
D | grant-table.c | 106 int (*end_foreign_access_ref)(grant_ref_t ref, int readonly); 230 unsigned long frame, int readonly) in gnttab_grant_foreign_access_ref() argument 233 GTF_permit_access | (readonly ? GTF_readonly : 0)); in gnttab_grant_foreign_access_ref() 238 int readonly) in gnttab_grant_foreign_access() argument 246 gnttab_grant_foreign_access_ref(ref, domid, frame, readonly); in gnttab_grant_foreign_access() 263 static int gnttab_end_foreign_access_ref_v1(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref_v1() argument 279 static inline int _gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in _gnttab_end_foreign_access_ref() argument 281 return gnttab_interface->end_foreign_access_ref(ref, readonly); in _gnttab_end_foreign_access_ref() 284 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref() argument 286 if (_gnttab_end_foreign_access_ref(ref, readonly)) in gnttab_end_foreign_access_ref() [all …]
|
D | gntalloc.c | 124 int i, rc, readonly; in add_grefs() local 129 readonly = !(op->flags & GNTALLOC_FLAG_WRITABLE); in add_grefs() 145 pfn_to_mfn(page_to_pfn(gref->page)), readonly); in add_grefs()
|
/drivers/hwmon/ |
D | jc42.c | 392 bool readonly; in jc42_attribute_mode() local 395 readonly = config & JC42_CFG_TCRIT_LOCK; in jc42_attribute_mode() 398 readonly = config & JC42_CFG_EVENT_LOCK; in jc42_attribute_mode() 400 readonly = config & (JC42_CFG_EVENT_LOCK | JC42_CFG_TCRIT_LOCK); in jc42_attribute_mode() 402 readonly = true; in jc42_attribute_mode() 404 return S_IRUGO | (readonly ? 0 : S_IWUSR); in jc42_attribute_mode()
|
/drivers/mtd/ |
D | sm_ftl.c | 326 BUG_ON(ftl->readonly); in sm_write_sector() 471 BUG_ON(ftl->readonly); in sm_erase_block() 576 ftl->readonly = mtd->type == MTD_ROM; in sm_get_media_info() 601 if (!ftl->readonly) in sm_get_media_info() 1063 BUG_ON(ftl->readonly); in sm_write() 1184 trans->readonly = ftl->readonly; in sm_add_mtd()
|
D | sm_ftl.h | 40 bool readonly; /* is FS readonly */ member
|
D | mtdblock_ro.c | 61 dev->readonly = 1; in mtdblock_add_mtd()
|
D | mtd_blkdevs.c | 377 new->readonly = 1; in add_mtd_blktrans_dev() 439 if (new->readonly) in add_mtd_blktrans_dev()
|
D | rfd_ftl.c | 785 part->mbd.readonly = 1; in rfd_ftl_add_mtd() 789 part->mbd.readonly = 1; in rfd_ftl_add_mtd()
|
D | mtdblock.c | 364 dev->mbd.readonly = 1; in mtdblock_add_mtd()
|
D | ssfdc.c | 309 ssfdc->mbd.readonly = 1; in ssfdcr_add_mtd()
|
D | mtdswap.c | 1522 mbd_dev->readonly = 1; in mtdswap_add_mtd()
|
/drivers/mtd/nand/ |
D | r852.c | 610 int readonly; in r852_update_media_status() local 619 readonly = r852_read_reg(dev, R852_CARD_STA) & R852_CARD_STA_RO; in r852_update_media_status() 625 readonly ? "readonly" : "writeable"); in r852_update_media_status() 627 dev->readonly = readonly; in r852_update_media_status() 648 if (dev->readonly) in r852_register_nand_device()
|
D | r852.h | 137 int readonly; /* card is readonly */ member
|
/drivers/block/xen-blkback/ |
D | xenbus.c | 403 blkdev_put(vbd->bdev, vbd->readonly ? FMODE_READ : FMODE_WRITE); in xen_vbd_free() 408 unsigned major, unsigned minor, int readonly, in xen_vbd_create() argument 417 vbd->readonly = readonly; in xen_vbd_create() 422 bdev = blkdev_get_by_dev(vbd->pdevice, vbd->readonly ? in xen_vbd_create() 814 (be->blkif->vbd.readonly ? VDISK_READONLY : 0)); in connect()
|
D | common.h | 221 unsigned char readonly; member
|
D | blkback.c | 472 if ((operation != READ) && vbd->readonly) in xen_vbd_translate()
|
/drivers/s390/block/ |
D | dasd_fba.c | 132 int readonly; in dasd_fba_check_characteristics() local 175 readonly = dasd_device_is_ro(device); in dasd_fba_check_characteristics() 176 if (readonly) in dasd_fba_check_characteristics() 189 readonly ? ", read-only device" : ""); in dasd_fba_check_characteristics()
|
D | dasd_eckd.c | 1676 int readonly; in dasd_eckd_check_characteristics() local 1785 readonly = dasd_device_is_ro(device); in dasd_eckd_check_characteristics() 1786 if (readonly) in dasd_eckd_check_characteristics() 1798 readonly ? ", read-only device" : ""); in dasd_eckd_check_characteristics()
|
D | dasd_devmap.c | 804 static DEVICE_ATTR(readonly, 0644, dasd_ro_show, dasd_ro_store);
|
/drivers/misc/eeprom/ |
D | Kconfig | 13 24c00, 24c01, 24c02, spd (readonly 24c02), 24c04, 24c08,
|
/drivers/hwmon/pmbus/ |
D | pmbus_core.c | 850 bool update, bool readonly) in pmbus_add_sensor() argument 867 readonly ? S_IRUGO : S_IRUGO | S_IWUSR, in pmbus_add_sensor()
|
/drivers/gpu/drm/i915/ |
D | i915_gem.c | 46 bool readonly); 1308 bool readonly) in i915_gem_object_wait_rendering() argument 1314 seqno = readonly ? obj->last_write_seqno : obj->last_read_seqno; in i915_gem_object_wait_rendering() 1331 bool readonly) in i915_gem_object_wait_rendering__nonblocking() argument 1343 seqno = readonly ? obj->last_write_seqno : obj->last_read_seqno; in i915_gem_object_wait_rendering__nonblocking()
|
/drivers/md/ |
D | md.c | 3627 enum array_state { clear, inactive, suspended, readonly, read_auto, clean, active, enumerator 3650 st = readonly; in array_state_show() 3702 case readonly: in array_state_store()
|