/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 | 390 new->readonly = 1; 449 if (new->readonly)
|
H A D | mtdblock.c | 361 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 ? 712 (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 | 158 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 | 423 bool readonly; local 426 readonly = config & JC42_CFG_TCRIT_LOCK; 429 readonly = config & JC42_CFG_EVENT_LOCK; 431 readonly = config & (JC42_CFG_EVENT_LOCK | JC42_CFG_TCRIT_LOCK); 433 readonly = true; 435 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 | 1613 int readonly; local 1719 readonly = dasd_device_is_ro(device); 1720 if (readonly) 1732 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; 520 if (p->readonly) return -EIO; 670 p->readonly = rdonly;
|
/drivers/block/ |
H A D | ub.c | 12 * -- set readonly flag for CDs, set removable flag for CF readers 300 int readonly; member in struct:ub_lun 1646 lun->readonly = 0; /* XXX Query this from the device */ 1690 if (lun->removable || lun->readonly) 1703 if (lun->readonly && (mode & FMODE_WRITE)) { 1776 // set_disk_ro(sdkp->disk, lun->readonly);
|
/drivers/hwmon/pmbus/ |
H A D | pmbus_core.c | 866 bool update, bool readonly) 879 if (readonly) 863 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 | 3672 * readonly 3676 * like readonly, but behaves like 'clean' on a write request. 3695 enum array_state { clear, inactive, suspended, readonly, read_auto, clean, active, enumerator in enum:array_state 3698 "clear", "inactive", "suspended", "readonly", "read-auto", "clean", "active", 3718 st = readonly; 3774 case readonly: 4935 } else if (mddev->ro == 2) /* auto-readonly not meaningful */ 6250 /* if the bdev is going readonly the value of mddev->ro 6278 * 'md' ioctls, and switch to rw mode if started auto-readonly. 8166 /* Force a switch to readonly eve [all...] |