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

12

/freebsd-10.0-release/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzfeature_common.c129 boolean_t readonly, boolean_t mos, zfeature_info_t **deps)
136 ASSERT(!readonly || !mos);
146 feature->fi_can_readonly = readonly;
128 zfeature_register(int fid, const char *guid, const char *name, const char *desc, boolean_t readonly, boolean_t mos, zfeature_info_t **deps) argument
/freebsd-10.0-release/usr.bin/mail/
H A Dedit.c104 fp = run_editor(setinput(mp), mp->m_size, type, readonly);
136 run_editor(FILE *fp, off_t size, int type, int readonly) argument
151 if (readonly && fchmod(t, 0400) == -1) {
191 if (readonly) {
H A Dglob.h45 int readonly; /* Will be unable to rewrite file */ variable
H A Dlex.c115 readonly = 0;
117 readonly++;
352 if (readonly && com->c_argtype & W) {
662 if (readonly)
H A Dquit.c82 if (readonly)
396 if (readonly)
/freebsd-10.0-release/sys/geom/
H A Dgeom_map.c60 uint8_t readonly[MAP_MAXSLICE]; member in struct:g_map_softc
75 if (dwrite > 0 && sc->readonly[pp->index])
207 int readonly, ret; local
260 /* variable readonly optional, disable write access */
261 if (resource_int_value("map", i, "readonly", &readonly) != 0)
262 readonly = 0;
334 sc->readonly[i] = readonly ? 1 : 0;
H A Dgeom_redboot.c74 uint8_t readonly[REDBOOT_MAXSLICE]; member in struct:g_redboot_softc
102 if (dwrite > 0 && sc->readonly[pp->index])
312 sc->readonly[i] = (strcmp(fd->name, FISDIR_NAME) == 0) ||
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zhack/
H A Dzhack.c120 import_pool(const char *target, boolean_t readonly) argument
131 kernel_init(readonly ? FREAD : (FREAD | FWRITE));
137 g_readonly = readonly;
140 * If we only want readonly access, it's OK if we find
144 if (readonly && spa_open(target, &spa, FTAG) == 0) {
150 g_importargs.can_be_active = readonly;
176 if (readonly) {
193 zhack_spa_open(const char *target, boolean_t readonly, void *tag, spa_t **spa) argument
197 import_pool(target, readonly);
/freebsd-10.0-release/libexec/ftpd/
H A Dextern.h97 extern int readonly;
/freebsd-10.0-release/contrib/nvi/common/
H A Dmain.c65 int ch, flagchk, lflag, secure, startup, readonly, rval, silent; local
92 readonly = 0;
96 /* Nview, view are readonly. */
99 readonly = 1;
163 readonly = 1;
255 if (readonly)
H A Dexf.c134 int fd, exists, open_err, readonly; local
137 open_err = readonly = 0;
332 * message, let alone make the file readonly. At some future time,
342 readonly = 1;
351 * Historically, the readonly edit option was set per edit buffer in
355 * So, the persistant readonly state has to be stored in the screen
357 * the edit buffer. If the persistant readonly flag is set, set the
358 * readonly edit option.
360 * Otherwise, try and figure out if a file is readonly. This is a
364 * mounted readonly (acces
[all...]
/freebsd-10.0-release/crypto/openssh/
H A Dsftp-server.c74 int readonly; variable
562 if (readonly &&
660 else if (readonly)
774 if (readonly) {
828 else if (readonly)
978 if (readonly)
1003 if (readonly)
1024 if (readonly)
1074 if (readonly)
1160 if (readonly)
[all...]
H A Dsshconnect.c739 * is not valid. user_hostfile[0] will not be updated if 'readonly' is true.
746 Key *host_key, int readonly,
846 if (readonly || want_cert)
880 if (readonly || want_cert)
994 if (readonly == ROQUIET)
745 check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port, Key *host_key, int readonly, char **user_hostfiles, u_int num_user_hostfiles, char **system_hostfiles, u_int num_system_hostfiles) argument
/freebsd-10.0-release/sys/arm/ti/
H A Dti_sdhci.c301 unsigned int readonly = 0; local
305 GPIO_PIN_GET(sc->gpio_dev, sc->wp_gpio_pin, &readonly);
308 return (readonly);
H A Dti_mmchs.c837 unsigned int readonly = 0; local
842 if (GPIO_PIN_GET(sc->sc_gpio_dev, sc->sc_wp_gpio_pin, &readonly) != 0)
843 readonly = 0;
845 readonly = (readonly == 0) ? 0 : 1;
850 return (readonly);
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddmu_objset.h138 boolean_t readonly, void *tag, objset_t **osp);
H A Ddmu.h258 boolean_t readonly, void *tag, objset_t **osp);
/freebsd-10.0-release/sys/xen/
H A Dgnttab.c132 gnttab_grant_foreign_access(domid_t domid, unsigned long frame, int readonly, argument
145 shared[ref].flags = GTF_permit_access | (readonly ? GTF_readonly : 0);
155 unsigned long frame, int readonly)
161 shared[ref].flags = GTF_permit_access | (readonly ? GTF_readonly : 0);
154 gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, unsigned long frame, int readonly) argument
/freebsd-10.0-release/sys/geom/eli/
H A Dg_eli_ctl.c60 int *nargs, *detach, *readonly; local
82 readonly = gctl_get_paraml(req, "readonly", sizeof(*readonly));
83 if (readonly == NULL) {
84 gctl_error(req, "No '%s' argument.", "readonly");
133 if (*detach && *readonly) {
140 if (*readonly)
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vfsops.c393 boolean_t readonly = B_FALSE; local
429 readonly = B_TRUE;
432 readonly = B_FALSE;
532 readonly_changed_cb(zfsvfs, readonly);
877 * We claim to always be readonly so we can open snapshots;
1031 boolean_t readonly; local
1037 readonly = zfsvfs->z_vfs->vfs_flag & VFS_RDONLY;
1038 if (readonly != 0)
1048 * doesn't use readonly mounts, where
1080 zfsvfs->z_vfs->vfs_flag |= readonly; /* restor
[all...]
H A Dzvol.c129 uint8_t zv_flags; /* readonly, dumpified, etc. */
656 uint64_t readonly; local
680 VERIFY(dsl_prop_get_integer(zv->zv_name, "readonly", &readonly,
682 if (readonly || dmu_objset_is_snapshot(os) ||
819 uint64_t readonly; local
833 VERIFY(dsl_prop_get_integer(name, "readonly", &readonly,
835 if (readonly) {
H A Ddmu_objset.c483 boolean_t readonly, void *tag, objset_t **osp)
505 } else if (!readonly && dsl_dataset_is_snapshot(ds)) {
482 dmu_objset_own(const char *name, dmu_objset_type_t type, boolean_t readonly, void *tag, objset_t **osp) argument
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DMemoryBuffer.cpp211 : MFR(FD, false, sys::fs::mapped_file_region::readonly,
/freebsd-10.0-release/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c1960 int error = 0, haslock = 0, ret, readonly = 0, getfhret = 0; local
1963 readonly = 1;
2166 if ((readonly && stp->ls_clp != clp &&
2168 (!readonly && (stp->ls_clp != clp ||
2212 int readonly = 0, cbret = 1, getfhret = 0; local
2215 readonly = 1;
2458 if ((readonly && stp->ls_clp != clp &&
2460 (!readonly && (stp->ls_clp != clp ||
2706 (nfsrv_writedelegifpos || !readonly) &&
2760 (writedeleg || readonly)
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/
H A DFileSystem.h589 readonly, ///< May only access map via const_data as read only. enumerator in enum:llvm::sys::fs::mapped_file_region::mapmode

Completed in 152 milliseconds

12