| /illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
| H A D | pk11tokens.c | 502 kmf_select_token(KMF_HANDLE_T handle, char *label, int readonly) argument 535 if (!readonly)
|
| /illumos-gate/usr/src/cmd/hal/hald/ |
| H A D | property.c | 49 gboolean readonly; member in struct:_HalProperty 346 prop->readonly = val; 365 return prop->readonly;
|
| /illumos-gate/usr/src/cmd/zhack/ |
| H A D | zhack.c | 124 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 D | elfcertlib.c | 689 boolean_t readonly; local 693 readonly = B_TRUE; 701 KMF_READONLY_ATTR, &readonly, sizeof (readonly));
|
| /illumos-gate/usr/src/lib/libfsmgt/common/ |
| H A D | fs_mounts.c | 388 boolean_t readonly; local 400 readonly = stvfs.f_flag & ST_RDONLY; 406 return (readonly);
|
| /illumos-gate/usr/src/lib/libpkg/common/ |
| H A D | pkgserv.c | 247 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 D | init.c | 125 int readonly; /* Will be unable to rewrite file */ variable
|
| /illumos-gate/usr/src/cmd/sh/ |
| H A D | msg.c | 189 const char readonly[] = "readonly"; variable 224 { "readonly", SYSRDONLY },
|
| /illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
| H A D | ocfile.c | 375 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 D | gnttab.c | 255 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 D | dit_access_utils.c | 250 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 D | elfsign.c | 766 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 D | common.c | 718 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 D | xnf.c | 2385 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 D | main.c | 1165 int readonly; local 1170 readonly = 1180 pri->sys_valid && !readonly) {
|
| /illumos-gate/usr/src/uts/common/fs/zfs/ |
| H A D | dmu_objset.c | 546 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 D | zfs_vfsops.c | 411 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 D | zvol.c | 123 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 D | spa.c | 1713 * 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 D | lofi.c | 2120 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 D | pkcs11_spi.c | 173 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 D | wificonfig.c | 203 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 D | nfs4_srv.c | 3036 * (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 D | vplat.c | 473 * Allow readonly mounts of /etc/ files; this 3805 char readonly[] = "ro"; local 3826 (void) zonecfg_add_fs_option(&lower_fstab, readonly);
|