Home
last modified time | relevance | path

Searched refs:read_only (Results 1 – 25 of 106) sorted by relevance

12345

/OK3568_Linux_fs/yocto/poky/bitbake/lib/prserv/
H A Ddb.py35 def __init__(self, conn, table, nohist, read_only): argument
38 self.read_only = read_only
45 if self.read_only:
72 if not self.read_only:
89 if self.read_only:
126 if self.read_only:
160 if self.read_only:
187 if self.read_only:
283 def __init__(self, filename, nohist=True, read_only=False): argument
286 self.read_only = read_only
[all …]
H A Dserv.py23 def __init__(self, reader, writer, table, read_only): argument
32 self.read_only = read_only
64 if not self.read_only:
92 response = {'readonly': self.read_only}
96 def __init__(self, dbfile, read_only=False): argument
100 self.read_only = read_only
103 return PRServerClient(reader, writer, self.table, self.read_only)
106 self.db = prserv.db.PRData(self.dbfile, read_only=self.read_only)
209 def start_daemon(dbfile, host, port, logfile, read_only=False): argument
225 server = PRServer(dbfile, read_only=read_only)
/OK3568_Linux_fs/kernel/drivers/scsi/qedf/
H A Ddrv_fcoe_fw_funcs.c51 t_st_ctx->read_only.dev_type = (u8)(task_params->is_tape_device == 1 ? in init_initiator_rw_fcoe_task()
54 t_st_ctx->read_only.cid = cpu_to_le32(task_params->conn_cid); in init_initiator_rw_fcoe_task()
56 t_st_ctx->read_only.glbl_q_num = val; in init_initiator_rw_fcoe_task()
57 t_st_ctx->read_only.fcp_cmd_trns_size = cpu_to_le32(io_size); in init_initiator_rw_fcoe_task()
58 t_st_ctx->read_only.task_type = (u8)task_params->task_type; in init_initiator_rw_fcoe_task()
153 t_st_ctx->read_only.cid = cpu_to_le32(task_params->conn_cid); in init_initiator_midpath_unsolicited_fcoe_task()
155 t_st_ctx->read_only.glbl_q_num = val; in init_initiator_midpath_unsolicited_fcoe_task()
156 t_st_ctx->read_only.task_type = (u8)task_params->task_type; in init_initiator_midpath_unsolicited_fcoe_task()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dadm1021.c89 static bool read_only; variable
207 if (!read_only) in temp_max_store()
233 if (!read_only) in temp_min_store()
445 if (data->type != lm84 && !read_only) in adm1021_probe()
489 module_param(read_only, bool, 0);
490 MODULE_PARM_DESC(read_only, "Don't set any values, read only mode");
H A Dmax1668.c49 static bool read_only; variable
50 module_param(read_only, bool, 0);
51 MODULE_PARM_DESC(read_only, "Don't set any values, read only mode");
332 if (read_only) in max1668_attribute_mode()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/hashserv/
H A D__init__.py119 def create_server(addr, dbname, *, sync=True, upstream=None, read_only=False): argument
122 s = server.Server(db, upstream=upstream, read_only=read_only)
H A Dserver.py168 def __init__(self, reader, writer, db, request_stats, backfill_queue, upstream, read_only): argument
183 if not read_only:
515 def __init__(self, db, upstream=None, read_only=False): argument
516 if upstream and read_only:
524 self.read_only = read_only
527 …nt(reader, writer, self.db, self.request_stats, self.backfill_queue, self.upstream, self.read_only)
H A Dtests.py33 def start_server(self, dbpath=None, upstream=None, read_only=False, prefunc=server_prefunc): argument
48 read_only=read_only)
302 (ro_client, ro_server) = self.start_server(dbpath=self.server.dbpath, read_only=True)
/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyaffsfs.c870 obj->my_dev->read_only) { in yaffs_open_sharing()
939 if (dir->my_dev->read_only) { in yaffs_open_sharing()
1013 else if (obj->my_dev->read_only) in yaffs_Dofsync()
1217 } else if (obj->my_dev->read_only) { in yaffsfs_do_write()
1251 if (!obj || obj->my_dev->read_only) in yaffsfs_do_write()
1333 else if (obj->my_dev->read_only) in yaffs_truncate()
1337 else if (obj->my_dev->read_only) in yaffs_truncate()
1364 else if (obj->my_dev->read_only) in yaffs_ftruncate()
1452 else if (obj->my_dev->read_only) in yaffsfs_DoUnlink()
1544 } else if (obj->my_dev->read_only) { in yaffs_rename()
[all …]
H A Dyaffsfs.h160 int yaffs_mount2(const YCHAR *path, int read_only);
161 int yaffs_mount_common(const YCHAR *path, int read_only, int skip_checkpt);
165 int yaffs_remount(const YCHAR *path, int force, int read_only);
/OK3568_Linux_fs/yocto/poky/bitbake/bin/
H A Dbitbake-hashserv54 … hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
/OK3568_Linux_fs/kernel/drivers/i2c/
H A Di2c-slave-eeprom.c36 bool read_only; member
58 if (!eeprom->read_only) { in i2c_slave_eeprom_slave_cb()
156 eeprom->read_only = FIELD_GET(I2C_SLAVE_FLAG_RO, id->driver_data); in i2c_slave_eeprom_probe()
/OK3568_Linux_fs/kernel/drivers/memstick/core/
H A Dms_block.c163 msb->read_only = true; in msb_validate_used_block_bitmap()
175 msb->read_only = true; in msb_mark_block_used()
194 msb->read_only = true; in msb_mark_block_unused()
750 msb->read_only = true; in msb_reset()
758 msb->read_only = true; in msb_reset()
789 if (msb->read_only) in msb_set_overwrite_flag()
824 if (msb->read_only) in msb_erase_block()
1002 if (msb->read_only) in msb_write_block()
1030 if (msb->read_only) in msb_write_block()
1084 msb->read_only = true; in msb_get_free_block()
[all …]
/OK3568_Linux_fs/kernel/drivers/md/persistent-data/
H A Ddm-block-manager.c375 bool read_only:1; member
401 bm->read_only = false; in dm_block_manager_create()
619 return (bm ? bm->read_only : true); in dm_bm_is_read_only()
626 bm->read_only = true; in dm_bm_set_read_only()
633 bm->read_only = false; in dm_bm_set_read_write()
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-clone-metadata.c140 unsigned int read_only; member
584 cmd->read_only = 0; in dm_clone_metadata_open()
863 if (cmd->read_only) { in dm_clone_set_region_hydrated()
897 if (cmd->read_only) { in dm_clone_cond_set_range()
983 cmd->read_only = 1; in dm_clone_metadata_set_read_only()
997 cmd->read_only = 0; in dm_clone_metadata_set_read_write()
/OK3568_Linux_fs/kernel/fs/hpfs/
H A Dnamei.c49 if (!(mode & 0222)) dee.read_only = 1; in hpfs_mkdir()
72 if (dee.read_only) in hpfs_mkdir()
95 if (!(mode & 0222)) de->read_only = 1; in hpfs_mkdir()
150 if (!(mode & 0222)) dee.read_only = 1; in hpfs_create()
173 if (dee.read_only) in hpfs_create()
237 if (!(mode & 0222)) dee.read_only = 1; in hpfs_mknod()
H A Dhpfs.h331 u8 read_only: 1; /* dos attrib */ member
347 u8 read_only: 1; /* dos attrib */ member
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/mtdutils/
H A Dmtdutils.h32 const char *filesystem, int read_only);
H A Dmtdutils.c194 const char *filesystem, int read_only) in mtd_mount_partition() argument
201 if (!read_only) { in mtd_mount_partition()
204 if (read_only || rv < 0) { in mtd_mount_partition()
/OK3568_Linux_fs/kernel/drivers/usb/storage/
H A Dsddr55.c94 int read_only; /* non zero if card is write protected */ member
172 info->read_only = (status[0] & 0x20); in sddr55_status()
327 if (info->read_only || info->force_read_only) { in sddr55_write_data()
898 ptr[3] = (info->read_only || info->force_read_only) ? 0x80 : 0; in sddr55_transport()
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dv4l2-device.c190 bool read_only) in __v4l2_device_register_subdev_nodes() argument
219 if (read_only) in __v4l2_device_register_subdev_nodes()
/OK3568_Linux_fs/external/recovery/mtdutils/
H A Dmtdutils.h39 const char *filesystem, int read_only);
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Dzynqmp_nvmem.c41 .read_only = true,
H A Duniphier-efuse.c51 econfig.read_only = true; in uniphier_efuse_probe()
/OK3568_Linux_fs/kernel/include/linux/
H A Dnvmem-provider.h70 bool read_only; member

12345