/drivers/mtd/ |
H A D | mtdblock_ro.c | 60 dev->readonly = 1;
|
H A D | sm_ftl.h | 40 bool readonly; /* is FS readonly */ member in struct:sm_ftl
|
H A D | sm_ftl.c | 329 BUG_ON(ftl->readonly); 475 BUG_ON(ftl->readonly); 580 ftl->readonly = mtd->type == MTD_ROM; 605 if (!ftl->readonly) 1067 BUG_ON(ftl->readonly); 1189 trans->readonly = ftl->readonly;
|
H A D | mtd_blkdevs.c | 391 new->readonly = 1; 450 if (new->readonly)
|
H A D | mtdblock.c | 365 dev->mbd.readonly = 1;
|
H A D | ssfdc.c | 309 ssfdc->mbd.readonly = 1;
|
H A D | rfd_ftl.c | 788 part->mbd.readonly = 1; 792 part->mbd.readonly = 1;
|
H A D | mtdswap.c | 1522 mbd_dev->readonly = 1;
|
/drivers/xen/ |
H A D | grant-table.c | 102 * readonly is not in use in this function. If the grant entry is 107 int (*end_foreign_access_ref)(grant_ref_t ref, int readonly); 265 unsigned long frame, int readonly) 268 GTF_permit_access | (readonly ? GTF_readonly : 0)); 273 int readonly) 281 gnttab_grant_foreign_access_ref(ref, domid, frame, readonly); 420 static int gnttab_end_foreign_access_ref_v1(grant_ref_t ref, int readonly) argument 438 static int gnttab_end_foreign_access_ref_v2(grant_ref_t ref, int readonly) argument 461 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) argument 463 return gnttab_interface->end_foreign_access_ref(ref, readonly); 264 gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, unsigned long frame, int readonly) argument 272 gnttab_grant_foreign_access(domid_t domid, unsigned long frame, int readonly) argument 467 gnttab_end_foreign_access(grant_ref_t ref, int readonly, unsigned long page) argument [all...] |
H A D | gntalloc.c | 122 int i, rc, readonly; local 127 readonly = !(op->flags & GNTALLOC_FLAG_WRITABLE); 143 pfn_to_mfn(page_to_pfn(gref->page)), readonly);
|
/drivers/block/xen-blkback/ |
H A D | xenbus.c | 295 blkdev_put(vbd->bdev, vbd->readonly ? FMODE_READ : FMODE_WRITE); 300 unsigned major, unsigned minor, int readonly, 309 vbd->readonly = readonly; 314 bdev = blkdev_get_by_dev(vbd->pdevice, vbd->readonly ? 687 (be->blkif->vbd.readonly ? VDISK_READONLY : 0)); 299 xen_vbd_create(struct xen_blkif *blkif, blkif_vdev_t handle, unsigned major, unsigned minor, int readonly, int cdrom) argument
|
H A D | common.h | 153 unsigned char readonly; member in struct:xen_vbd
|
H A D | blkback.c | 175 if ((operation != READ) && vbd->readonly)
|
/drivers/hwmon/ |
H A D | jc42.c | 433 bool readonly; local 436 readonly = config & JC42_CFG_TCRIT_LOCK; 439 readonly = config & JC42_CFG_EVENT_LOCK; 441 readonly = config & (JC42_CFG_EVENT_LOCK | JC42_CFG_TCRIT_LOCK); 443 readonly = true; 445 return S_IRUGO | (readonly ? 0 : S_IWUSR);
|
/drivers/mtd/nand/ |
H A D | r852.h | 42 #define R852_CARD_STA_RO 0x02 /* card is readonly */ 137 int readonly; /* card is readonly */ member in struct:r852_device
|
H A D | r852.c | 632 int readonly; local 641 readonly = r852_read_reg(dev, R852_CARD_STA) & R852_CARD_STA_RO; 647 readonly ? "readonly" : "writeable"); 649 dev->readonly = readonly; 670 if (dev->readonly)
|
/drivers/s390/block/ |
H A D | dasd_fba.c | 131 int readonly; local 173 readonly = dasd_device_is_ro(device); 174 if (readonly) 187 readonly ? ", read-only device" : "");
|
H A D | dasd_devmap.c | 757 * readonly controls the readonly status of a dasd 806 static DEVICE_ATTR(readonly, 0644, dasd_ro_show, dasd_ro_store);
|
H A D | dasd_eckd.c | 1619 int readonly; local 1725 readonly = dasd_device_is_ro(device); 1726 if (readonly) 1738 readonly ? ", read-only device" : "");
|
/drivers/tty/vt/ |
H A D | consolemap.c | 181 int readonly; member in struct:uni_pagedir 496 if (p && p->readonly) return -EIO; 521 if (p->readonly) return -EIO; 705 p->readonly = rdonly;
|
/drivers/block/ |
H A D | ub.c | 12 * -- set readonly flag for CDs, set removable flag for CF readers 263 int readonly; member in struct:ub_lun 1609 lun->readonly = 0; /* XXX Query this from the device */ 1653 if (lun->removable || lun->readonly) 1666 if (lun->readonly && (mode & FMODE_WRITE)) { 1739 // set_disk_ro(sdkp->disk, lun->readonly);
|
/drivers/hwmon/pmbus/ |
H A D | pmbus_core.c | 869 bool update, bool readonly) 882 if (readonly) 866 pmbus_add_sensor(struct pmbus_data *data, const char *name, const char *type, int seq, int page, int reg, enum pmbus_sensor_classes class, bool update, bool readonly) argument
|
/drivers/md/ |
H A D | md.c | 3675 * readonly 3679 * like readonly, but behaves like 'clean' on a write request. 3698 enum array_state { clear, inactive, suspended, readonly, read_auto, clean, active, enumerator in enum:array_state 3701 "clear", "inactive", "suspended", "readonly", "read-auto", "clean", "active", 3721 st = readonly; 3777 case readonly: 4938 } else if (mddev->ro == 2) /* auto-readonly not meaningful */ 6254 /* if the bdev is going readonly the value of mddev->ro 6282 * 'md' ioctls, and switch to rw mode if started auto-readonly.
|