HomeSort by: relevance | last modified time | path
    Searched defs:readonly (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/usr.sbin/mscdlabel/
main.c 132 int readonly = 0; local
143 readonly = 1;
162 readonly = 1;
194 readonly = 1;
196 if (!readonly) {
  /src/external/bsd/iscsi/dist/include/
conffile.h 49 int readonly; /* nonzero if file is readonly */ member in struct:conffile_t
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_vma_manager.h 58 bool readonly:1; member in struct:drm_vma_offset_node
  /src/sys/external/bsd/drm2/include/drm/
drm_vma_manager.h 67 bool readonly; member in struct:drm_vma_offset_node
  /src/usr.sbin/quotaon/
quotaon.c 74 static int readonly(struct fstab *, const char *);
222 if (strcmp(fs->fs_file, "/") && readonly(fs, fsspec)) {
252 * Verify file system is mounted and not readonly.
255 readonly(struct fstab *fs, const char *fsspec) function
  /src/crypto/external/bsd/openssh/dist/
sshbuf.c 49 int readonly; /* Refers to external, const data */ member in struct:sshbuf
59 (!buf->readonly && buf->d != buf->cd) ||
81 if (buf->off == 0 || buf->readonly || buf->refcount > 1)
101 ret->readonly = 0;
120 ret->readonly = 1;
190 if (!buf->readonly)
200 if (buf->readonly || buf->refcount > 1) {
254 if (buf->readonly || buf->refcount > 1)
291 if (sshbuf_check_sanity(buf) != 0 || buf->readonly || buf->refcount > 1)
307 if (sshbuf_check_sanity(buf) != 0 || buf->readonly || buf->refcount > 1
    [all...]
sftp-server.c 79 static int readonly; variable
130 int does_write; /* if nonzero, banned for readonly mode */
134 /* NB. SSH2_FXP_OPEN does the readonly check in the handler itself */
193 if (readonly && h->does_write) {
755 if (readonly &&
1907 readonly = 1;
  /src/external/bsd/nvi/dist/common/
main.c 74 int ch, flagchk, lflag, secure, startup, readonly, rval, silent; local
92 readonly = 0;
96 /* Nview, view are readonly. */
99 readonly = 1;
172 case 'R': /* Readonly. */
173 readonly = 1;
263 if (readonly)
exf.c 134 int fd, exists, open_err, readonly; local
137 open_err = readonly = 0;
334 * message, let alone make the file readonly. At some future time,
348 readonly = 1;
358 * Historically, the readonly edit option was set per edit buffer in
362 * So, the persistant readonly state has to be stored in the screen
364 * the edit buffer. If the persistant readonly flag is set, set the
365 * readonly edit option.
367 * Otherwise, try and figure out if a file is readonly. This is a
371 * mounted readonly (access catches this one on a few systems), o
    [all...]
  /src/external/bsd/tmux/dist/
key-bindings.c 680 int readonly, flags = 0; local
683 readonly = 1;
685 readonly = cmd_list_all_have(bd->cmdlist, CMD_READONLY);
686 if (!readonly)
  /src/lib/libc/gen/
utmpx.c 58 static int readonly = 0; variable
112 readonly = 0;
129 readonly = 1;
253 if (fp != NULL && readonly)
256 if (fp == NULL || readonly)
266 if (fp == NULL || readonly)
  /src/usr.bin/mail/
glob.h 52 EXTERN int readonly; /* Will be unable to rewrite file */ variable
  /src/usr.sbin/vnconfig/
vnconfig.c 100 static int readonly = 0; variable
142 readonly = 1;
158 readonly = 1;
322 if (readonly)
353 ffd = open(file, readonly ? O_RDONLY : O_RDWR);
  /src/external/mpl/bind/dist/lib/dns/include/dns/
name.h 106 bool readonly : 1; /*%< Used by name.c */ member in struct:dns_name::dns_name_attrs
136 (!name->attributes.readonly && !name->attributes.dynamic)
177 .attributes = { .readonly = true }, \
189 .attributes = { .readonly = true, .absolute = true }, \
  /src/sys/fs/v7fs/
v7fs.h 109 int8_t readonly; member in struct:v7fs_superblock
  /src/sys/uvm/
uvm_fault.c 1371 vaddr_t currva, struct vm_page *pg, bool readonly)
1406 readonly ? (flt->enter_prot & ~VM_PROT_WRITE) :
2058 const bool readonly = uvm_pagereadonly_p(pg) || pg->loan_count > 0; local
2098 readonly ? (flt->enter_prot & ~VM_PROT_WRITE) :
2325 /* read fault: cap the protection at readonly */
2464 const bool readonly = uvm_pagereadonly_p(pg); local
2502 KASSERTMSG((flt->access_type & VM_PROT_WRITE) == 0 || !readonly,
2508 KASSERT((flt->access_type & VM_PROT_WRITE) == 0 || !readonly);
2511 readonly ? flt->enter_prot & ~VM_PROT_WRITE : flt->enter_prot,
  /src/usr.sbin/sunlabel/
sunlabel.c 169 static int readonly; /* true iff it's open RO */ variable
244 warnx("No write access, label is readonly");
245 readonly = ro;
606 if (readonly) {
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
FileSystem.h 1249 readonly, ///< May only access map via const_data as read only. enumerator in enum:llvm::sys::fs::mapped_file_region::mapmode
1261 mapmode Mode = readonly;
  /src/external/mpl/bind/dist/bin/named/
controlconf.c 104 bool readonly; member in struct:controllistener
400 conn->request, conn->listener->readonly, &conn->text);
1032 const cfg_obj_t *readonly = NULL; local
1034 readonly = cfg_tuple_get(control, "read-only");
1035 if (!cfg_obj_isvoid(readonly)) {
1036 listener->readonly = cfg_obj_asboolean(readonly);
1095 const cfg_obj_t *readonly = NULL; local
1101 readonly = cfg_tuple_get(control, "read-only");
1102 if (!cfg_obj_isvoid(readonly)) {
    [all...]
  /src/sys/fs/hfs/
libhfs.h 467 int readonly; /* 0 if mounted r/w, 1 if mounted r/o */ member in struct:__anon6765
  /src/sys/fs/nfs/server/
nfs_nfsdstate.c 2251 int error = 0, haslock = 0, ret, readonly = 0, getfhret = 0; local
2254 readonly = 1;
2459 if ((readonly && stp->ls_clp != clp &&
2461 (!readonly && (stp->ls_clp != clp ||
2505 int readonly = 0, cbret = 1, getfhret = 0; local
2508 readonly = 1;
2753 if ((readonly && stp->ls_clp != clp &&
2755 (!readonly && (stp->ls_clp != clp ||
3003 NFSVNO_EXRDONLY(exp) || (readonly != 0 &&
3064 if (delegate == 0 || (writedeleg == 0 && readonly == 0) |
    [all...]
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
zfs_vfsops.c 706 boolean_t readonly = B_FALSE; local
742 readonly = B_TRUE;
745 readonly = B_FALSE;
851 readonly_changed_cb(zfsvfs, readonly);
1302 * We claim to always be readonly so we can open snapshots;
1357 boolean_t readonly; local
1363 readonly = zfsvfs->z_vfs->vfs_flag & VFS_RDONLY;
1364 if (readonly != 0)
1374 * doesn't use readonly mounts, where
1406 zfsvfs->z_vfs->vfs_flag |= readonly; /* restore readonly bit *
    [all...]
zvol.c 184 uint8_t zv_flags; /* readonly, dumpified, etc. */
1001 uint64_t readonly; local
1035 VERIFY(dsl_prop_get_integer(zv->zv_name, "readonly", &readonly,
1037 if (readonly || dmu_objset_is_snapshot(os) ||
1244 uint64_t readonly; local
1248 zfs_prop_to_name(ZFS_PROP_READONLY), &readonly, NULL);
1251 if (readonly)
spa.c 1774 * XXX - once we have 'readonly' pool
1777 * the pool to readonly.
4340 uint64_t readonly = B_FALSE; local
4361 zpool_prop_to_name(ZPOOL_PROP_READONLY), &readonly);
4362 if (readonly)
6673 * 'readonly' and 'cachefile' are also non-persisitent
  /src/usr.sbin/sysinst/
partman.c 105 int readonly; member in struct:vnd_desc
153 int readonly; member in struct:lv_t
1000 dev_ptr->readonly?
1075 dev_ptr->readonly = !dev_ptr->readonly;
1130 .readonly = 0,
1215 strcpy(r_o, vnds[i].readonly?"-r":"");
1818 dev_ptr->readonly? msg_string(MSG_Yes) : msg_string(MSG_No));
1902 dev_ptr->readonly = !dev_ptr->readonly;
    [all...]

Completed in 78 milliseconds

1 2