Searched defs:readonly (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11tokens.c502 kmf_select_token(KMF_HANDLE_T handle, char *label, int readonly) argument
535 if (!readonly)
/illumos-gate/usr/src/cmd/hal/hald/
H A Dproperty.c49 gboolean readonly; member in struct:_HalProperty
346 prop->readonly = val;
365 return prop->readonly;
/illumos-gate/usr/src/cmd/zhack/
H A Dzhack.c124 import_pool(const char *target, boolean_t readonly) argument
135 kernel_init(readonly ? FREAD : (FREAD | FWRITE));
141 g_readonly = readonly;
144 * If we only want readonly access, it's OK if we find
148 if (readonly && spa_open(target, &spa, FTAG) == 0) {
154 g_importargs.can_be_active = readonly;
181 if (readonly) {
199 zhack_spa_open(const char *target, boolean_t readonly, void *tag, spa_t **spa) argument
203 import_pool(target, readonly);
/illumos-gate/usr/src/lib/libelfsign/common/
H A Delfcertlib.c689 boolean_t readonly; local
693 readonly = B_TRUE;
701 KMF_READONLY_ATTR, &readonly, sizeof (readonly));
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c388 boolean_t readonly; local
400 readonly = stvfs.f_flag & ST_RDONLY;
406 return (readonly);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c247 pkgopenserver_i(const char *root, const char *sadmdir, boolean_t readonly, argument
270 if (readonly) {
291 server->onetime = readonly;
328 if (readonly) {
382 if (readonly)
/illumos-gate/usr/src/cmd/mailx/
H A Dinit.c125 int readonly; /* Will be unable to rewrite file */ variable
/illumos-gate/usr/src/cmd/sh/
H A Dmsg.c189 const char readonly[] = "readonly"; variable
224 { "readonly", SYSRDONLY },
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Docfile.c375 boolean_t readonly = B_FALSE; local
394 readonly = B_TRUE;
397 newserver = pkgopenserver(NULL, pkgadm_dir, readonly);
/illumos-gate/usr/src/uts/common/xen/os/
H A Dgnttab.c255 gnttab_grant_foreign_access(domid_t domid, gnttab_frame_t frame, int readonly) argument
267 shared[ref].flags = GTF_permit_access | (readonly ? GTF_readonly : 0);
274 gnttab_frame_t frame, int readonly)
281 shared[ref].flags = GTF_permit_access | (readonly ? GTF_readonly : 0);
299 gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) argument
317 gnttab_end_foreign_access(grant_ref_t ref, int readonly, gnttab_frame_t page) argument
321 if (gnttab_end_foreign_access_ref(ref, readonly)) {
273 gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, gnttab_frame_t frame, int readonly) argument
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.c250 int *nv, char *domain, bool_t readonly, int *statP) {
282 /* For readonly, add field=value pair for N2LSEARCHKEY */
283 if (readonly == TRUE && i == 0) {
308 if (readonly == TRUE && i == 0) {
249 datumToRuleValue(datum *key, datum *value, __nis_table_mapping_t *t, int *nv, char *domain, bool_t readonly, int *statP) argument
/illumos-gate/usr/src/cmd/cmd-crypto/elfsign/
H A Delfsign.c766 boolean_t readonly; local
778 readonly = B_FALSE;
787 KMF_READONLY_ATTR, &readonly, sizeof (readonly));
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c718 select_token(void *kmfhandle, char *token, int readonly) argument
741 KMF_READONLY_ATTR, &readonly,
742 sizeof (readonly));
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.c2385 xnf_buf_get(xnf_t *xnfp, int flags, boolean_t readonly) argument
2413 bufp->buf_mfn, readonly ? 1 : 0);
2421 xnf_buf_put(xnf_t *xnfp, xnf_buf_t *bufp, boolean_t readonly) argument
2425 bufp->grant_ref, readonly ? 1 : 0);
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c1165 int readonly; local
1170 readonly =
1180 pri->sys_valid && !readonly) {
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_objset.c546 boolean_t readonly, void *tag, objset_t **osp)
556 } else if (!readonly && dsl_dataset_is_snapshot(ds)) {
570 boolean_t readonly, void *tag, objset_t **osp)
584 err = dmu_objset_own_impl(ds, type, readonly, tag, osp);
592 boolean_t readonly, void *tag, objset_t **osp)
601 return (dmu_objset_own_impl(ds, type, readonly, tag, osp));
545 dmu_objset_own_impl(dsl_dataset_t *ds, dmu_objset_type_t type, boolean_t readonly, void *tag, objset_t **osp) argument
569 dmu_objset_own(const char *name, dmu_objset_type_t type, boolean_t readonly, void *tag, objset_t **osp) argument
591 dmu_objset_own_obj(dsl_pool_t *dp, uint64_t obj, dmu_objset_type_t type, boolean_t readonly, void *tag, objset_t **osp) argument
H A Dzfs_vfsops.c411 boolean_t readonly = B_FALSE; local
438 readonly = B_TRUE;
441 readonly = B_FALSE;
549 readonly_changed_cb(zfsvfs, readonly);
979 * We claim to always be readonly so we can open snapshots;
1030 boolean_t readonly; local
1036 readonly = zfsvfs->z_vfs->vfs_flag & VFS_RDONLY;
1037 if (readonly != 0)
1047 * doesn't use readonly mounts, where
1079 zfsvfs->z_vfs->vfs_flag |= readonly; /* restor
[all...]
H A Dzvol.c123 uint8_t zv_flags; /* readonly, dumpified, etc. */
627 uint64_t readonly; local
652 VERIFY(dsl_prop_get_integer(zv->zv_name, "readonly", &readonly,
654 if (readonly || dmu_objset_is_snapshot(os) ||
833 uint64_t readonly; local
837 zfs_prop_to_name(ZFS_PROP_READONLY), &readonly, NULL);
840 if (readonly)
H A Dspa.c1713 * XXX - once we have 'readonly' pool
1716 * the pool to readonly.
4052 uint64_t readonly = B_FALSE; local
4073 zpool_prop_to_name(ZPOOL_PROP_READONLY), &readonly);
4074 if (readonly)
6327 * 'readonly' and 'cachefile' are also non-persisitent
/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c2120 file_to_lofi_nocheck(char *filename, boolean_t readonly, argument
2151 if (readonly)
2183 file_to_lofi(char *filename, boolean_t readonly, struct lofi_state **lspp) argument
2189 if ((err = file_to_lofi_nocheck(filename, readonly, lspp)) != 0)
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c173 boolean_t readonly = B_TRUE; local
180 /* "readonly" is optional. Default is TRUE */
182 (void *)&readonly, NULL);
184 rv = kmf_select_token(handle, label, readonly);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/
H A Dwificonfig.c203 static char *select_profile(int fd, int readonly, int timeout);
1808 * readonly: 1 for startconf
1813 select_profile(int fd, int readonly, int timeout) argument
1842 if (readonly == 0) {
1860 if (readonly == 0) {
4684 int c, iflag = 0, rflag = 0, fileonly = 0, readonly = 0; local
4821 readonly++;
4871 if ((!readonly) && (enter_wifi_lock(&fd) != getpid())) {
4909 if (!readonly)
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv.c3036 * (assuming server fs isn't mounted readonly locally). If
6263 bool_t readonly; local
6279 readonly = rdonly4(req, cs);
6281 if ((access & OPEN4_SHARE_ACCESS_WRITE) && readonly)
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c473 * Allow readonly mounts of /etc/ files; this
3805 char readonly[] = "ro"; local
3826 (void) zonecfg_add_fs_option(&lower_fstab, readonly);

Completed in 292 milliseconds