/src/sbin/fsck_msdos/ |
main.c | 51 int rdonly; /* device is opened read only (supersedes above) */ variable in typeref:typename:int 155 if (rdonly) 165 if (alwaysyes || rdonly) { 166 printf("%s? %s\n", prompt, rdonly ? "no" : "yes"); 167 return !rdonly;
|
main.c | 51 int rdonly; /* device is opened read only (supersedes above) */ variable in typeref:typename:int 155 if (rdonly) 165 if (alwaysyes || rdonly) { 166 printf("%s? %s\n", prompt, rdonly ? "no" : "yes"); 167 return !rdonly;
|
/src/usr.sbin/puffs/rump_nqmfs/ |
rump_nqmfs.c | 74 int ch, fd, rdonly, shared; local in function:main 106 rdonly = mntflags & MNT_RDONLY; 113 fd = open(mntfile, rdonly ? O_RDONLY: O_RDWR); 117 membase = mmap(NULL, sb.st_size, PROT_READ | (rdonly ? 0 : PROT_WRITE),
|
rump_nqmfs.c | 74 int ch, fd, rdonly, shared; local in function:main 106 rdonly = mntflags & MNT_RDONLY; 113 fd = open(mntfile, rdonly ? O_RDONLY: O_RDWR); 117 membase = mmap(NULL, sb.st_size, PROT_READ | (rdonly ? 0 : PROT_WRITE),
|
/src/sys/nfs/ |
nfs_srvsubs.c | 125 int error, rdonly; local in function:nfs_namei 178 nam, &rdonly, kerbflag, pubflag); 187 if (rdonly) 188 cnp->cn_flags |= RDONLY;
|
nfs_srvsubs.c | 125 int error, rdonly; local in function:nfs_namei 178 nam, &rdonly, kerbflag, pubflag); 187 if (rdonly) 188 cnp->cn_flags |= RDONLY;
|
nfs_serv.c | 174 int error = 0, rdonly, cache = 0, getret; local in function:nfsrv3_access 183 error = nfsrv_fhtovp(&nsfh, 1, &vp, cred, slp, nam, &rdonly, 193 nfsrv_access(vp, VREAD, cred, rdonly, lwp, 0) == 0) 198 nfsrv_access(vp, VWRITE, cred, rdonly, lwp, 0) == 0) 201 nfsrv_access(vp, VEXEC, cred, rdonly, lwp, 0) == 0) 207 nfsrv_access(vp, VWRITE, cred, rdonly, lwp, 0) == 0) 210 nfsrv_access(vp, VEXEC, cred, rdonly, lwp, 0) == 0) 239 int error = 0, rdonly, cache = 0; local in function:nfsrv_getattr 245 error = nfsrv_fhtovp(&nsfh, 1, &vp, cred, slp, nam, &rdonly, 280 int error = 0, rdonly, cache = 0, preat_ret = 1, postat_ret = 1 local in function:nfsrv_setattr 536 int error = 0, rdonly, cache = 0, i, padlen, getret; local in function:nfsrv_readlink 634 int error = 0, rdonly, cache = 0, getret; local in function:nfsrv_read 861 int error = 0, rdonly, cache = 0, len, forat_ret = 1; local in function:nfsrv_write 1076 int error = 0, rdonly, cache = 0, len = 0, forat_ret = 1; local in function:nfsrv_writegather 2177 int error = 0, rdonly, cache = 0, len, dirfor_ret = 1, diraft_ret = 1; local in function:nfsrv_link 2689 int siz, cnt, fullsiz, eofflag, rdonly, cache = 0, ncookies; local in function:nfsrv_readdir 2954 int siz, cnt, fullsiz, eofflag, rdonly, cache = 0, dirlen, ncookies; local in function:nfsrv_readdirplus 3274 int error = 0, rdonly, for_ret = 1, aft_ret = 1, cache = 0; local in function:nfsrv_commit 3331 int error = 0, rdonly, cache = 0, getret = 1; local in function:nfsrv_statfs 3400 int error = 0, rdonly, cache = 0, getret = 1; local in function:nfsrv_fsinfo 3470 int error = 0, rdonly, cache = 0, getret = 1; local in function:nfsrv_pathconf [all...] |
nfs_serv.c | 174 int error = 0, rdonly, cache = 0, getret; local in function:nfsrv3_access 183 error = nfsrv_fhtovp(&nsfh, 1, &vp, cred, slp, nam, &rdonly, 193 nfsrv_access(vp, VREAD, cred, rdonly, lwp, 0) == 0) 198 nfsrv_access(vp, VWRITE, cred, rdonly, lwp, 0) == 0) 201 nfsrv_access(vp, VEXEC, cred, rdonly, lwp, 0) == 0) 207 nfsrv_access(vp, VWRITE, cred, rdonly, lwp, 0) == 0) 210 nfsrv_access(vp, VEXEC, cred, rdonly, lwp, 0) == 0) 239 int error = 0, rdonly, cache = 0; local in function:nfsrv_getattr 245 error = nfsrv_fhtovp(&nsfh, 1, &vp, cred, slp, nam, &rdonly, 280 int error = 0, rdonly, cache = 0, preat_ret = 1, postat_ret = 1 local in function:nfsrv_setattr 536 int error = 0, rdonly, cache = 0, i, padlen, getret; local in function:nfsrv_readlink 634 int error = 0, rdonly, cache = 0, getret; local in function:nfsrv_read 861 int error = 0, rdonly, cache = 0, len, forat_ret = 1; local in function:nfsrv_write 1076 int error = 0, rdonly, cache = 0, len = 0, forat_ret = 1; local in function:nfsrv_writegather 2177 int error = 0, rdonly, cache = 0, len, dirfor_ret = 1, diraft_ret = 1; local in function:nfsrv_link 2689 int siz, cnt, fullsiz, eofflag, rdonly, cache = 0, ncookies; local in function:nfsrv_readdir 2954 int siz, cnt, fullsiz, eofflag, rdonly, cache = 0, dirlen, ncookies; local in function:nfsrv_readdirplus 3274 int error = 0, rdonly, for_ret = 1, aft_ret = 1, cache = 0; local in function:nfsrv_commit 3331 int error = 0, rdonly, cache = 0, getret = 1; local in function:nfsrv_statfs 3400 int error = 0, rdonly, cache = 0, getret = 1; local in function:nfsrv_fsinfo 3470 int error = 0, rdonly, cache = 0, getret = 1; local in function:nfsrv_pathconf [all...] |
/src/sys/uvm/ |
uvm_bio.c | 244 bool rdonly; local in function:ubc_fault_page 287 rdonly = uvm_pagereadonly_p(pg); 288 mask = rdonly ? ~VM_PROT_WRITE : VM_PROT_ALL;
|
uvm_bio.c | 244 bool rdonly; local in function:ubc_fault_page 287 rdonly = uvm_pagereadonly_p(pg); 288 mask = rdonly ? ~VM_PROT_WRITE : VM_PROT_ALL;
|
/src/sys/kern/ |
vfs_lookup.c | 462 int rdonly; /* lookup read-only flag bit */ member in struct:namei_state 482 state->rdonly = 0; 1219 if (state->rdonly) { 1521 state->rdonly = cnp->cn_flags & RDONLY; 1835 if (state->rdonly && 2038 state->rdonly = cnp->cn_flags & RDONLY; 2147 int rdonly; /* lookup read-only flag bit */ local in function:relookup 2159 rdonly = cnp->cn_flags & RDONLY [all...] |
vfs_lookup.c | 462 int rdonly; /* lookup read-only flag bit */ member in struct:namei_state 482 state->rdonly = 0; 1219 if (state->rdonly) { 1521 state->rdonly = cnp->cn_flags & RDONLY; 1835 if (state->rdonly && 2038 state->rdonly = cnp->cn_flags & RDONLY; 2147 int rdonly; /* lookup read-only flag bit */ local in function:relookup 2159 rdonly = cnp->cn_flags & RDONLY [all...] |
/src/sbin/fsck_udf/ |
main.c | 194 int rdonly = 0; /* open device/image read-only */ variable in typeref:typename:int 1194 if (!rdonly) 2872 rdonly = 1; 2873 if (rdonly) 2932 rdonly = 1; 2942 rdonly = 1; 4208 rdonly = rdonly_flag; 4213 open_flags = rdonly ? O_RDONLY : O_RDWR; 4240 rdonly = 1; 4302 if ((!rdonly) && ask(0, "Write out modifications made until now") [all...] |
main.c | 194 int rdonly = 0; /* open device/image read-only */ variable in typeref:typename:int 1194 if (!rdonly) 2872 rdonly = 1; 2873 if (rdonly) 2932 rdonly = 1; 2942 rdonly = 1; 4208 rdonly = rdonly_flag; 4213 open_flags = rdonly ? O_RDONLY : O_RDWR; 4240 rdonly = 1; 4302 if ((!rdonly) && ask(0, "Write out modifications made until now") [all...] |