Home
last modified time | relevance | path

Searched refs:writable (Results 1 – 25 of 159) sorted by relevance

1234567

/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/chattr/
H A Dchattr_002_neg.ksh47 set -A files writable immutable append
64 log_must user_run $QUSER1 touch $TESTDIR/writable
68 log_must chattr -i $TESTDIR/writable
72 log_must user_run $QUSER1 chattr -i $TESTDIR/writable
73 log_must user_run $QUSER1 chattr -a $TESTDIR/writable
77 log_mustnot user_run $QUSER1 chattr +i $TESTDIR/writable
78 log_mustnot user_run $QUSER1 chattr +a $TESTDIR/writable
H A Dchattr_001_pos.ksh47 set -A files writable immutable append
70 log_must touch $TESTDIR/writable
75 log_must chflags noschg $TESTDIR/writable
79 log_must chattr -i $TESTDIR/writable
/src/tests/sys/fifo/
H A Dfifo_io.c862 poll_status(int fd, int *readable, int *writable, int *exception, in poll_status() argument
876 *writable = (fds[0].revents & POLLOUT) ? 1 : 0; in poll_status()
882 select_status(int fd, int *readable, int *writable, int *exception, in select_status() argument
901 *writable = FD_ISSET(fd, &writefds) ? 1 : 0; in select_status()
951 kqueue_status(int kqueue_fd, int fd, int *readable, int *writable, in kqueue_status() argument
968 *readable = *writable = *exception = 0; in kqueue_status()
976 *writable = 1; in kqueue_status()
1012 int readable, writable, exception; in assert_status() local
1014 if (poll_status(fd, &readable, &writable, &exception, testname) < 0) in assert_status()
1017 if (readable != assert_readable || writable != assert_writable || in assert_status()
[all …]
/src/sys/kern/
H A Duipc_mbuf2.c97 int writable; in m_pulldown() local
151 writable = 0; in m_pulldown()
154 writable = 1; in m_pulldown()
208 && writable) { in m_pulldown()
215 && writable && n->m_next->m_len >= tlen) { in m_pulldown()
/src/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyUtil.h270 bool writable() const { return Data && Data->NumRefs == 1; } in writable() function
321 assert(writable() && "Vector is not writable!"); in clear()
327 assert(writable() && "Vector is not writable!"); in push_back()
334 assert(writable() && "Vector is not writable!"); in elem()
340 assert(writable() && "Vector is not writable!"); in downsize()
/src/sys/dev/virtio/
H A Dvirtqueue.c667 int readable, int writable) in virtqueue_enqueue() argument
673 needed = readable + writable; in virtqueue_enqueue()
689 vq_ring_enqueue_indirect(vq, cookie, sg, readable, writable); in virtqueue_enqueue()
704 sg, readable, writable); in virtqueue_enqueue()
855 uint16_t head_idx, struct sglist *sg, int readable, int writable) in vq_ring_enqueue_segments() argument
863 sg, readable, writable); in vq_ring_enqueue_segments()
865 needed = readable + writable; in vq_ring_enqueue_segments()
906 struct sglist *sg, int readable, int writable) in vq_ring_enqueue_indirect() argument
913 needed = readable + writable; in vq_ring_enqueue_indirect()
932 sg, readable, writable); in vq_ring_enqueue_indirect()
/src/crypto/krb5/src/util/profile/
H A Dprof_init.c379 profile_is_writable(profile_t profile, int *writable) in profile_is_writable() argument
384 if (!writable) in profile_is_writable()
386 *writable = 0; in profile_is_writable()
389 if (profile->vt->writable) in profile_is_writable()
390 return profile->vt->writable(profile->cbdata, writable); in profile_is_writable()
396 *writable = profile_file_is_writable(profile->first_file); in profile_is_writable()
H A Dprofile.hin67 (profile_t profile, int *writable);
197 * Optional: Determine if a profile is writable. If not implemented, the
198 * profile is never writable.
201 (*profile_writable_fn)(void *cbdata, int *writable);
262 /* Methods for writable profiles. */
263 profile_writable_fn writable;
H A Dtest_vtable.c158 full_writable(void *cbdata, int *writable) in full_writable() argument
161 *writable = 12; in full_writable()
/src/contrib/bmake/
H A Dmain.c726 Main_SetObjdir(bool writable, const char *fmt, ...) in Main_SetObjdir() argument
749 if ((writable && access(path, W_OK) != 0) || chdir(path) != 0) { in Main_SetObjdir()
770 SetVarObjdir(bool writable, const char *var, const char *suffix) in SetVarObjdir() argument
781 (void)Main_SetObjdir(writable, "%s%s", path.str, suffix); in SetVarObjdir()
1064 bool writable; in InitObjdir() local
1067 writable = GetBooleanExpr("${MAKE_OBJDIR_CHECK_WRITABLE}", true); in InitObjdir()
1070 if (!SetVarObjdir(writable, "MAKEOBJDIRPREFIX", curdir) && in InitObjdir()
1071 !SetVarObjdir(writable, "MAKEOBJDIR", "") && in InitObjdir()
1072 !Main_SetObjdir(writable, "%s.%s-%s", _PATH_OBJDIR, machine, machine_arch) && in InitObjdir()
1073 !Main_SetObjdir(writable, "%s.%s", _PATH_OBJDIR, machine) && in InitObjdir()
[all …]
/src/usr.bin/finger/
H A Dsprint.c96 if (w->info == LOGGEDIN && !w->writable) in sflag_print()
105 (void)putchar(w->info == LOGGEDIN && !w->writable ? in sflag_print()
H A Dfinger.h57 short writable; /* tty is writable */ member
/src/tests/sys/common/
H A Dnet_receiver.py69 readable, writable, exceptional = select.select(inputs, [], inputs)
98 readable, writable, exceptional = select.select(inputs, [], inputs)
/src/tools/tools/kdrv/
H A DKernelDriver269 if {![file writable $kpath$p]} {
281 if {![file writable $kpath$p]} {
293 if {![file writable $kpath$f]} {
793 if {![file writable $kpath$f]} {
804 if {![file writable $kpath$p]} {
816 if {![file writable $kpath$p]} {
/src/lib/libc/isc/
H A Dev_streams.c46 static void writable(evContext opaqueCtx, void *uap, int fd, int evmask);
74 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) in evWrite()
265 writable(evContext opaqueCtx, void *uap, int fd, int evmask) { in writable() function
/src/sys/dev/virtio/p9fs/
H A Dvirtio_p9fs.c145 int readable, writable; in vt9p_request() local
174 writable = sg->sg_nseg - readable; in vt9p_request()
176 error = virtqueue_enqueue(vq, req, sg, readable, writable); in vt9p_request()
/src/tools/build/options/
H A DWITHOUT_AUTO_OBJ2 This is enabled by default if the wanted OBJDIR is writable by the current user.
/src/contrib/sendmail/src/
H A DSECURITY39 avoid problems with a world-writable directory. It is however
40 sufficient to have a set-group-ID program and a group-writable
53 gid: 25) program to allow for queueing mail in a group-writable
69 smmsp with group smmsp and is group writable. The client mail
70 queue directory must be writable by smmsp, but it must not be
/src/contrib/nvi/files/
H A Dpathnames.h.in16 /* On linux _PATH_PRESERVE is only writable by root */
/src/sys/tools/
H A Dembed_mfs.sh41 echo $1 not writable
/src/sys/ofed/drivers/infiniband/core/
H A Dib_umem.c134 umem->writable = !!(access & in ib_umem_get()
174 if (!umem->writable) in ib_umem_get()
/src/sys/ofed/include/rdma/
H A Dib_umem.h50 int writable; member
/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.h837 void addAddressRange(uptr beg, uptr end, bool executable, bool writable,
854 bool writable; member
857 AddressRange(uptr beg, uptr end, bool executable, bool writable, in AddressRange()
863 writable(writable) { in AddressRange()
H A Dsanitizer_common.cpp197 bool writable, const char *name) { in addAddressRange() argument
200 new(mem) AddressRange(beg, end, executable, writable, name); in addAddressRange()
/src/usr.sbin/ppp/
H A Dipcp.h79 unsigned writable : 1; /* Can write resolv.conf ? */ member

1234567