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

/freebsd-10.1-release/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 */
193 (*in)->blocking = BLK_ON;
209 (*out)->blocking = BLK_ON;
227 apr_int32_t blocking,
[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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/contrib/apr/include/
H A Dapr_file_io.h89 * non blocking file io */
241 * non blocking file io
695 * @bug Some platforms cannot toggle between blocking and nonblocking,
697 * does not expect it, a non-blocking stream will fluxor the client app.
708 * @param blocking one of these values defined in apr_thread_proc.h;
717 * @remark Some platforms cannot toggle between blocking and nonblocking,
719 * does not expect it, a non-blocking stream will fluxor the client app.
721 * where one or both ends require non-blocking semantics.
725 apr_int32_t blocking,
739 * Get the timeout value for a pipe or manipulate the blocking stat
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Support/Unix/
H A DProgram.inc354 // Non-blocking wait.
/freebsd-10.1-release/tests/sys/kern/
H A Dunix_seqpacket_test.c163 test_sendrecv_symmetric_buffers(size_t bufsize, int blocking) { argument
172 if (blocking)
787 * buffer, with blocking sockets
930 * Simulate the behavior of a blocking pipe. The sender will send until his
961 * Test blocking I/O by passing data between two threads. The total amount of
962 * data will be >> buffer size to force blocking. Repeat the test with multiple
991 * Test single-packet I/O with and without blocking, with symmetric buffers of
1093 /* Threaded I/O tests with blocking sockets */
/freebsd-10.1-release/contrib/bsnmp/lib/
H A Dsnmpclient.c1383 * 0 and this would result in a blocking receive.
1492 snmp_receive(int blocking) argument
1507 if ((ret = snmp_receive_packet(resp, blocking ? NULL : &tv)) <= 0) {

Completed in 187 milliseconds