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

12

/freebsd-10.1-release/contrib/ntp/sntp/
H A Dkod_management.h15 void kod_init_kod_db(const char *db_file, int readonly);
H A Dkod_management.c181 int readonly
299 if (!readonly && write_kod_db())
/freebsd-10.1-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.1-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.1-release/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzfeature_common.c131 const char *desc, boolean_t readonly, boolean_t mos,
139 ASSERT(!readonly || !mos);
150 feature->fi_can_readonly = readonly;
130 zfeature_register(spa_feature_t fid, const char *guid, const char *name, const char *desc, boolean_t readonly, boolean_t mos, boolean_t activate_on_enable, const spa_feature_t *deps) argument
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/zhack/
H A Dzhack.c125 import_pool(const char *target, boolean_t readonly) argument
136 kernel_init(readonly ? FREAD : (FREAD | FWRITE));
142 g_readonly = readonly;
145 * If we only want readonly access, it's OK if we find
149 if (readonly && spa_open(target, &spa, FTAG) == 0) {
155 g_importargs.can_be_active = readonly;
182 if (readonly) {
200 zhack_spa_open(const char *target, boolean_t readonly, void *tag, spa_t **spa) argument
204 import_pool(target, readonly);
/freebsd-10.1-release/libexec/ftpd/
H A Dextern.h93 extern int readonly;
/freebsd-10.1-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.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddmu_objset.h139 boolean_t readonly, void *tag, objset_t **osp);
/freebsd-10.1-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.1-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.1-release/sys/arm/ti/
H A Dti_sdhci.c354 unsigned int readonly = 0; local
358 GPIO_PIN_GET(sc->gpio_dev, sc->wp_gpio_pin, &readonly);
361 return (readonly);
H A Dti_mmchs.c836 unsigned int readonly = 0; local
841 if (GPIO_PIN_GET(sc->sc_gpio_dev, sc->sc_wp_gpio_pin, &readonly) != 0)
842 readonly = 0;
844 readonly = (readonly == 0) ? 0 : 1;
849 return (readonly);
/freebsd-10.1-release/crypto/openssh/
H A Dsshconnect.c822 * is not valid. user_hostfile[0] will not be updated if 'readonly' is true.
829 Key *host_key, int readonly,
929 if (readonly || want_cert)
963 if (readonly || want_cert)
1077 if (readonly == ROQUIET)
828 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
H A Dsftp-server.c78 static int readonly; variable
123 int does_write; /* if nonzero, banned for readonly mode */
127 /* NB. SSH2_FXP_OPEN does the readonly check in the handler itself */
165 if (readonly && h->does_write) {
680 if (readonly &&
1472 readonly = 1;
/freebsd-10.1-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.c143 uint8_t zv_flags; /* readonly, dumpified, etc. */
749 uint64_t readonly; local
773 VERIFY(dsl_prop_get_integer(zv->zv_name, "readonly", &readonly,
775 if (readonly || dmu_objset_is_snapshot(os) ||
904 uint64_t readonly; local
918 VERIFY(dsl_prop_get_integer(name, "readonly", &readonly,
920 if (readonly) {
/freebsd-10.1-release/contrib/llvm/lib/Support/
H A DMemoryBuffer.cpp201 : MFR(FD, false, sys::fs::mapped_file_region::readonly,
/freebsd-10.1-release/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c2143 int error = 0, haslock = 0, ret, readonly = 0, getfhret = 0; local
2146 readonly = 1;
2351 if ((readonly && stp->ls_clp != clp &&
2353 (!readonly && (stp->ls_clp != clp ||
2397 int readonly = 0, cbret = 1, getfhret = 0; local
2400 readonly = 1;
2645 if ((readonly && stp->ls_clp != clp &&
2647 (!readonly && (stp->ls_clp != clp ||
2895 NFSVNO_EXRDONLY(exp) || (readonly != 0 &&
2956 if (delegate == 0 || (writedeleg == 0 && readonly
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/Support/
H A DFileSystem.h686 readonly, ///< May only access map via const_data as read only. enumerator in enum:llvm::sys::fs::mapped_file_region::mapmode

Completed in 311 milliseconds

12