Searched refs:blocking (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DWindowsMMap.c116 int lock(HANDLE handle, DWORD lockType, BOOL blocking) { argument
118 if (!blocking)
128 // In non-blocking mode, return an error if the file is locked.
129 if (!blocking && dw == ERROR_LOCK_VIOLATION)
151 BOOL blocking = (operation & LOCK_NB) == 0;
156 return lock(handle, LOCKFILE_EXCLUSIVE_LOCK, blocking);
159 return lock(handle, 0, blocking);
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dpipe.c68 thepipe->blocking = BLK_ON;
104 thepipe->blocking = BLK_OFF;
113 if (thepipe->blocking != BLK_OFF) { /* blocking or unknown state */
118 if (thepipe->blocking != BLK_ON) { /* non-blocking or unknown state */
147 (*file)->blocking = BLK_UNKNOWN; /* app needs to make a timeout call */
194 (*in)->blocking = BLK_ON;
210 (*out)->blocking = BLK_ON;
226 static void file_pipe_block(apr_file_t **in, apr_file_t **out, apr_int32_t blocking) argument
[all...]
H A Dfiledup.c93 (*new_file)->blocking = old_file->blocking;
H A Dopen.c215 (*new)->blocking = BLK_ON;
294 (*file)->blocking = BLK_UNKNOWN; /* in case it is a pipe */
/freebsd-11-stable/share/dtrace/
H A DMakefile9 SCRIPTS= blocking \
H A Dblocking34 * usage: blocking <execname>
48 printf("\n%s(%d) is blocking...\n", execname, pid);
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Dentropy.h66 void *arg, isc_boolean_t blocking);
68 void *arg, isc_boolean_t blocking);
96 * this is a special purpose application where blocking a task is
164 * The file will be put into non-blocking mode, so it may be a device file,
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dentropy.c84 fillpool(isc_entropy_t *ent, unsigned int desired, isc_boolean_t blocking) { argument
112 * Note that if we are in a blocking mode, we will only try to
117 REQUIRE(!blocking);
190 if (blocking && remaining != 0) {
206 got = get_from_callback(source, remaining, blocking);
/freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_ioctl.h80 int blocking; member in struct:__anon8888
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dentropy.c479 isc_boolean_t blocking)
494 result = cbs->startfunc(source, cbs->arg, blocking);
503 result = cbs->getfunc(source, cbs->arg, blocking);
538 isc_boolean_t goodonly, partial, blocking; local
546 blocking = ISC_TF((flags & ISC_ENTROPY_BLOCKING) != 0);
579 fillpool(ent, fillcount, blocking);
597 fillpool(ent, THRESHOLD_BITS, blocking);
1155 kbdstart(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) { argument
1165 if (! blocking)
1192 kbdget(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) { argument
478 get_from_callback(isc_entropysource_t *source, unsigned int desired, isc_boolean_t blocking) argument
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dentropy.c250 fillpool(isc_entropy_t *ent, unsigned int desired, isc_boolean_t blocking) { argument
277 * Note that if we are in a blocking mode, we will only try to
282 REQUIRE(!blocking);
352 if (blocking && remaining != 0) {
371 got = get_from_callback(source, remaining, blocking);
454 * Make a fd non-blocking
/freebsd-11-stable/contrib/apr/include/arch/unix/
H A Dapr_arch_file_io.h102 enum {BLK_UNKNOWN, BLK_OFF, BLK_ON } blocking; member in struct:apr_file_t
/freebsd-11-stable/sys/contrib/vchiq/interface/vchi/message_drivers/
H A Dmessage.h101 struct semaphore *blocking; member in struct:rx_bulk_slotinfo_t
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsockopt.c23 /* BeOS uses setsockopt at present for non blocking... */
35 #error Please teach APR how to make sockets blocking on your platform.
61 #error Please teach APR how to make sockets non-blocking on your platform.
80 * negative, then we need to ensure that we are non-blocking.
82 * non-negative timeout, we must make sure our socket is blocking.
/freebsd-11-stable/contrib/apr/include/
H A Dapr_file_io.h89 * non blocking file io */
241 * non blocking file io
699 * @bug Some platforms cannot toggle between blocking and nonblocking,
701 * does not expect it, a non-blocking stream will fluxor the client app.
712 * @param blocking one of these values defined in apr_thread_proc.h;
721 * @remark Some platforms cannot toggle between blocking and nonblocking,
723 * does not expect it, a non-blocking stream will fluxor the client app.
725 * where one or both ends require non-blocking semantics.
730 apr_int32_t blocking,
738 * @param blocking on
[all...]
/freebsd-11-stable/usr.sbin/rpc.lockd/
H A Dlockd_lock.c86 int blocking; /* blocking lock or not */ member in struct:file_lock
172 const int state, const int status, const int flags, const int blocking);
446 const int state, const int status, const int flags, const int blocking)
458 fl->blocking = blocking;
954 exist_lock->status, exist_lock->flags, exist_lock->blocking);
971 exist_lock->status, exist_lock->flags, exist_lock->blocking);
1206 * Is this lock request already on the blocking list?
1233 * A blocking loc
443 fill_file_lock(struct file_lock *fl, const fhandle_t *fh, const bool_t exclusive, const int32_t svid, const u_int64_t offset, const u_int64_t len, const int state, const int status, const int flags, const int blocking) argument
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Devent-internal.h311 /** Number of threads blocking on current_event_cond. */
422 int event_del_nolock_(struct event *ev, int blocking);
H A Devent.c145 static int event_del_(struct event *ev, int blocking);
2672 event_del_(struct event *ev, int blocking) argument
2683 res = event_del_nolock_(ev, blocking);
2710 * "blocking" must be one of the EVENT_DEL_{BLOCK, NOBLOCK, AUTOBLOCK,
2714 event_del_nolock_(struct event *ev, int blocking) argument
2728 if (blocking != EVENT_DEL_EVEN_IF_FINALIZING) {
2742 if (blocking != EVENT_DEL_NOBLOCK &&
2745 (blocking == EVENT_DEL_BLOCK || !(ev->ev_events & EV_FINALIZE))) {
/freebsd-11-stable/tests/sys/kern/
H A Dunix_seqpacket_test.c168 test_sendrecv_symmetric_buffers(int bufsize, int blocking) { argument
177 if (blocking)
875 * buffer, with blocking sockets
1024 * Simulate the behavior of a blocking pipe. The sender will send until his
1055 * Test blocking I/O by passing data between two threads. The total amount of
1056 * data will be >> buffer size to force blocking. Repeat the test with multiple
1085 * Test single-packet I/O with and without blocking, with symmetric buffers of
1187 /* Threaded I/O tests with blocking sockets */
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntpd.c1683 int blocking
1689 if (cpid == waitpid(cpid, &wstatus, (blocking ? 0 : WNOHANG))) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc366 // Non-blocking wait.
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_fuchsia.cpp491 bool GetRandom(void *buffer, uptr length, bool blocking) { argument
H A Dsanitizer_linux.cpp2110 bool GetRandom(void *buffer, uptr length, bool blocking) { argument
2127 blocking ? 0 : GRND_NONBLOCK);
2136 // blocking is moot here, O_NONBLOCK has no effect when opening /dev/urandom.
H A Dsanitizer_mac.cpp1205 bool GetRandom(void *buffer, uptr length, bool blocking) { argument
/freebsd-11-stable/contrib/bsnmp/lib/
H A Dsnmpclient.c1388 * 0 and this would result in a blocking receive.
1497 snmp_receive(int blocking) argument
1512 if ((ret = snmp_receive_packet(resp, blocking ? NULL : &tv)) <= 0) {

Completed in 426 milliseconds

12