Searched refs:readonly (Results 1 - 23 of 23) sorted by relevance

/drivers/mtd/
H A Dmtdblock_ro.c60 dev->readonly = 1;
H A Dsm_ftl.h40 bool readonly; /* is FS readonly */ member in struct:sm_ftl
H A Dsm_ftl.c329 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 Dmtd_blkdevs.c390 new->readonly = 1;
449 if (new->readonly)
H A Dmtdblock.c361 dev->mbd.readonly = 1;
H A Dssfdc.c309 ssfdc->mbd.readonly = 1;
H A Drfd_ftl.c788 part->mbd.readonly = 1;
792 part->mbd.readonly = 1;
H A Dmtdswap.c1522 mbd_dev->readonly = 1;
/drivers/xen/
H A Dgrant-table.c102 * 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 Dgntalloc.c122 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 Dxenbus.c295 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 Dcommon.h158 unsigned char readonly; member in struct:xen_vbd
H A Dblkback.c175 if ((operation != READ) && vbd->readonly)
/drivers/hwmon/
H A Djc42.c423 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 Dr852.h42 #define R852_CARD_STA_RO 0x02 /* card is readonly */
137 int readonly; /* card is readonly */ member in struct:r852_device
H A Dr852.c632 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 Ddasd_fba.c131 int readonly; local
173 readonly = dasd_device_is_ro(device);
174 if (readonly)
187 readonly ? ", read-only device" : "");
H A Ddasd_devmap.c757 * readonly controls the readonly status of a dasd
806 static DEVICE_ATTR(readonly, 0644, dasd_ro_show, dasd_ro_store);
H A Ddasd_eckd.c1613 int readonly; local
1719 readonly = dasd_device_is_ro(device);
1720 if (readonly)
1732 readonly ? ", read-only device" : "");
/drivers/tty/vt/
H A Dconsolemap.c181 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 Dub.c12 * -- 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 Dpmbus_core.c866 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 Dmd.c3672 * 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...]

Completed in 411 milliseconds