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

12

/illumos-gate/usr/src/uts/common/xen/sys/
H A Dgnttab.h89 int gnttab_grant_foreign_access(domid_t, gnttab_frame_t, int readonly);
96 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly);
104 void gnttab_end_foreign_access(grant_ref_t ref, int readonly,
136 gnttab_frame_t frame, int 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/cmd/mailx/hdr/
H A Dglob.h110 extern int readonly; /* Will be unable to rewrite file */
/illumos-gate/usr/src/cmd/mailx/
H A Dedit.c157 * temporary message file readonly as well.
160 if (readonly)
195 if (readonly) {
H A Dinit.c125 int readonly; /* Will be unable to rewrite file */ variable
H A Dlex.c178 readonly = 0;
180 readonly = Passeren() == -1;
186 if (!readonly)
188 readonly++;
557 if (readonly && com->c_argtype & W) {
919 if (readonly)
H A Dquit.c79 if (readonly)
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_objset.h151 boolean_t readonly, void *tag, objset_t **osp);
153 dmu_objset_type_t type, boolean_t readonly, void *tag, objset_t **osp);
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.h56 char *domain, bool_t readonly, int *statP);
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/sh/
H A Dmsg.c189 const char readonly[] = "readonly"; variable
224 { "readonly", SYSRDONLY },
H A Ddefs.h405 extern const char 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/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/lib/libshell/common/data/
H A Dbuiltins.c67 "export", NV_BLTIN|BLT_ENV|BLT_SPC|BLT_DCL,bltin(readonly),
83 "readonly", NV_BLTIN|BLT_ENV|BLT_SPC|BLT_DCL,bltin(readonly),
1289 "[-1c?\n@(#)$Id: readonly (AT&T Research) 2008-06-16 $\n]"
1291 "[+NAME?readonly - set readonly attribute on variables]"
1292 "[+DESCRIPTION?\breadonly\b sets the readonly attribute on each of "
1296 "is made readonly.]"
1299 "and the value is readonly for each instance.]"
1301 "readonly variable
[all...]
/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/hal/hald/
H A Dproperty.c49 gboolean readonly; member in struct:_HalProperty
346 prop->readonly = val;
365 return prop->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/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/uts/common/fs/zfs/
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 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 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)
/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));

Completed in 130 milliseconds

12