Home
last modified time | relevance | path

Searched full:readers (Results 1 – 25 of 220) sorted by relevance

123456789

/freebsd/contrib/tzcode/
H A Dtzfile.5244 Readers that understand only Version 1 must ignore
261 This guideline helps obsolescent version 1 readers
262 agree with current readers about timestamps within the
265 supporting obsolescent readers use a
271 time, TZif readers should either refuse to process
284 When reading a version 2 or higher file, readers
288 Readers should calculate the total lengths of the
292 When a positive leap second occurs, readers should append an extra
302 older readers.
307 pitfalls in older or buggy TZif readers,
[all...]
/freebsd/sys/contrib/ck/include/
H A Dck_bytelock.h48 uint8_t readers[CK_MD_CACHELINE - sizeof(unsigned int) * 2] CK_CC_ALIGN(8); member
62 for (i = 0; i < sizeof bytelock->readers; i++) in ck_bytelock_init()
63 bytelock->readers[i] = false; in ck_bytelock_init()
84 CK_BYTELOCK_TYPE *readers = (void *)bytelock->readers; in ck_bytelock_write_lock() local
92 if (slot <= sizeof bytelock->readers) in ck_bytelock_write_lock()
93 ck_pr_store_8(&bytelock->readers[slot - 1], false); in ck_bytelock_write_lock()
96 * Wait for slotted readers to drain out. This also provides the in ck_bytelock_write_lock()
101 for (i = 0; i < sizeof(bytelock->readers) / CK_BYTELOCK_LENGTH; i++) { in ck_bytelock_write_lock()
102 while (CK_BYTELOCK_LOAD(&readers[i]) != false) in ck_bytelock_write_lock()
106 /* Wait for unslotted readers to drain out. */ in ck_bytelock_write_lock()
[all …]
H A Dck_brlock.h57 struct ck_brlock_reader *readers; member
68 br->readers = NULL; in ck_brlock_init()
89 for (cursor = br->readers; cursor != NULL; cursor = cursor->next) { in ck_brlock_write_lock()
126 for (cursor = br->readers; cursor != NULL; cursor = cursor->next) { in ck_brlock_write_trylock()
151 reader->next = ck_pr_load_ptr(&br->readers); in ck_brlock_read_register()
154 ck_pr_store_ptr(&br->readers, reader); in ck_brlock_read_register()
172 br->readers = reader->next; in ck_brlock_read_unregister()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/
H A DLVReaderHandler.cpp16 #include "llvm/DebugInfo/LogicalView/Readers/LVCodeViewReader.h"
17 #include "llvm/DebugInfo/LogicalView/Readers/LVDWARFReader.h"
40 Error LVReaderHandler::createReader(StringRef Filename, LVReaders &Readers, in createReader() argument
70 Readers.emplace_back(std::move(ReaderObj)); in createReader()
74 Error LVReaderHandler::handleArchive(LVReaders &Readers, StringRef Filename, in handleArchive() argument
87 if (Error Err = handleBuffer(Readers, Name, BuffOrErr.get())) in handleArchive()
137 Error LVReaderHandler::handleBuffer(LVReaders &Readers, StringRef Filename, in handleBuffer() argument
144 return handleObject(Readers, Filename, Buffer.getBuffer(), ExePath); in handleBuffer()
155 if (Error Err = handleObject(Readers, Filename, Buffer.getBuffer(), in handleBuffer()
168 if (Error Err = handleFile(Readers, ObjectImage)) { in handleBuffer()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/
H A DLVReaderHandler.h51 Error handleArchive(LVReaders &Readers, StringRef Filename,
53 Error handleBuffer(LVReaders &Readers, StringRef Filename,
55 Error handleFile(LVReaders &Readers, StringRef Filename,
57 Error handleMach(LVReaders &Readers, StringRef Filename,
59 Error handleObject(LVReaders &Readers, StringRef Filename,
61 Error handleObject(LVReaders &Readers, StringRef Filename, StringRef Buffer,
64 Error createReader(StringRef Filename, LVReaders &Readers, PdbOrObj &Input,
77 Error createReader(StringRef Filename, LVReaders &Readers) { in createReader() argument
78 return handleFile(Readers, Filename); in createReader()
83 LVReaders Readers; in createReader() local
[all …]
/freebsd/share/man/man9/
H A Dsmr.990 SMR allows readers and writers to access the data structure concurrently.
91 Readers can always enter a read section immediately
108 readers and writers.
115 structure are not freed and recycled while readers are accessing them in
119 the structure, preventing any new readers from observing the item.
120 Then, the writer waits until some mechanism guarantees that no existing readers
123 SMR provides this mechanism: readers may access a lock-free data structure in
138 Readers load global state and modify per-CPU state, while writers must scan all
139 per-CPU states to detect active readers.
142 .Ss Readers
[all …]
H A Dseqc.949 allows zero or more readers and zero or one writer to concurrently access
50 an object, providing a consistent snapshot of the object for readers.
51 No mutual exclusion between readers and writers is required,
52 but readers may be starved indefinitely by writers.
58 are used to create a transaction for writer, and notify the readers that the
128 There is no guarantee of progress for readers.
H A Drmlock.9100 .Em readers
120 read-mostly locks propagate priority to both readers and writers.
127 Readers can recurse if the lock is initialized with the
139 They do not propagate priority to writers, but they do propagate priority to readers.
140 Note that readers are not permitted to sleep regardless of the flag.
144 allow sleeping for both readers and writers, but don't do priority propagation
203 readers cannot sleep.
/freebsd/contrib/wpa/src/utils/
H A Deloop_win.c50 struct eloop_sock *readers; member
133 tmp = os_realloc_array(eloop.readers, eloop.reader_count + 1, in eloop_register_read_sock()
147 eloop.readers = tmp; in eloop_register_read_sock()
160 if (eloop.readers == NULL || eloop.reader_count == 0) in eloop_unregister_read_sock()
164 if (eloop.readers[i].sock == sock) in eloop_unregister_read_sock()
170 WSAEventSelect(eloop.readers[i].sock, eloop.readers[i].event, 0); in eloop_unregister_read_sock()
171 WSACloseEvent(eloop.readers[i].event); in eloop_unregister_read_sock()
174 os_memmove(&eloop.readers[i], &eloop.readers[i + 1], in eloop_unregister_read_sock()
557 eloop.handles[count++] = eloop.readers[i].event; in eloop_run()
627 if (WSAEnumNetworkEvents(eloop.readers[i].sock, in eloop_run()
[all …]
H A Deloop.c101 struct eloop_sock_table readers; member
184 eloop.readers.type = EVENT_TYPE_READ; in eloop_init()
443 static int eloop_sock_table_set_fds(struct eloop_sock_table *readers, in eloop_sock_table_set_fds() argument
458 if (readers && readers->table) { in eloop_sock_table_set_fds()
459 for (i = 0; i < readers->count; i++) { in eloop_sock_table_set_fds()
460 fd = readers->table[i].sock; in eloop_sock_table_set_fds()
552 static void eloop_sock_table_dispatch(struct eloop_sock_table *readers, in eloop_sock_table_dispatch() argument
558 if (eloop_sock_table_dispatch_table(readers, pollfds_map, in eloop_sock_table_dispatch()
627 if (eloop.readers.changed || in eloop_sock_table_dispatch()
649 if (eloop.readers.changed || in eloop_sock_table_dispatch()
[all …]
H A Dpcsc_funcs.c523 TCHAR *readers = NULL; in scard_init() local
525 char *readers = NULL; in scard_init() local
557 readers = os_malloc(len); in scard_init()
558 if (readers == NULL) { in scard_init()
563 ret = SCardListReaders(scard->ctx, NULL, readers, &len); in scard_init()
570 wpa_printf(MSG_WARNING, "SCARD: No smart card readers " in scard_init()
574 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: Readers", (u8 *) readers, len); in scard_init()
576 * readers is a list of available readers. The last entry is terminated in scard_init()
585 os_strncmp(&readers[pos], reader, os_strlen(reader)) == 0) in scard_init()
587 while (pos < len && readers[pos]) in scard_init()
[all …]
/freebsd/sys/kern/
H A Dkern_rmlock.c378 * We allow readers to acquire a lock even if a writer is blocked if in _rm_rlock_hard()
845 db_printf(" per-CPU readers:\n"); in db_show_rm()
853 db_printf(" active readers:\n"); in db_show_rm()
865 * These primitives allow both readers and writers to sleep. However, neither
866 * readers nor writers are tracked and subsequently there is no priority
891 int readers; member
938 KASSERT(old >= 0, ("%s: bad readers count %d\n", __func__, old)); in rms_int_debug_readers_inc()
947 KASSERT(old > 0, ("%s: bad readers count %d\n", __func__, old)); in rms_int_debug_readers_dec()
967 pcpu->readers++; in rms_int_readers_inc()
976 pcpu->readers--; in rms_int_readers_dec()
[all …]
H A Dsubr_smr.c60 * Readers record the most recent write sequence number they have
63 * write older than this value has been observed by all readers
65 * readers by storing an invalid sequence number in the per-cpu
70 * handed clock with readers always advancing towards writers. GUS
71 * maintains the invariant that all readers can safely access memory
74 * advanced as far towards the write sequence as active readers allow.
77 * meet and no deferred memory is outstanding. Readers never advance
319 * This function may busy loop if the readers are roughly 1 billion
323 * at 1khz and 60 hours at 10khz. Readers can block for no longer
463 * Poll to determine whether all readers have observed the 'goal' write
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp57 // Free the API notes readers. in ~APINotesManager()
58 for (const auto &Entry : Readers) { in ~APINotesManager()
129 assert(!Readers.contains(HeaderDir)); in loadAPINotes()
131 Readers[HeaderDir] = Reader.release(); in loadAPINotes()
135 Readers[HeaderDir] = nullptr; in loadAPINotes()
335 // If there are readers for the current module, return them. in findAPINotes()
370 auto Known = Readers.find(*Dir); in findAPINotes()
373 if (Known != Readers.end()) { in findAPINotes()
405 Readers[*Dir] = nullptr; in findAPINotes()
421 if (auto Reader = Readers[*Dir].dyn_cast<APINotesReader *>()) in findAPINotes()
[all …]
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfconvert.c85 static reader_f readers[] = { in file_read() local
113 for (i = 0; readers[i] != NULL; i++) { in file_read()
114 if ((rc = readers[i](td, elf, filename)) == 0) in file_read()
120 if (readers[i] == NULL) { in file_read()
122 * None of the readers found compatible type data. in file_read()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DRWMutex.h71 /// lock is held by any readers, this method will wait until it can
105 unsigned readers = 0; variable
117 ++readers; in lock_shared()
129 assert(readers > 0 && "Reader lock not acquired before release!"); in unlock_shared()
130 --readers; in unlock_shared()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h279 // We've incremented waiting readers, so now block. in ReadLock()
332 // - number of readers holding the lock,
334 // - number of waiting readers,
346 // Both writers and readers use active spinning before blocking.
347 // But readers are more aggressive and always take the mutex
348 // if there are any other readers.
349 // After wake up both writers and readers compete to lock the
/freebsd/sys/sys/
H A Dsmr.h39 * Readers synchronize with smr_enter()/exit() and writers may either
223 * required to ensure that all modifications are visible to readers.
240 * Blocking wait for all readers to observe 'goal'.
251 * readers have observed it.
255 * be less chance of busy looping while waiting for readers.
/freebsd/sys/contrib/openzfs/include/sys/
H A Drrwlock.h52 * - rr_cv: cv for waking up readers or waiting writers
54 * - rr_anon_rount: number of active anonymous readers
55 * - rr_linked_rcount: total number of non-anonymous active readers
/freebsd/sys/contrib/openzfs/module/zfs/
H A Drrwlock.c60 * is needed. Once a writer attempts to grab the lock, readers then
61 * keep tsd data and bump the linked readers count (rr_linked_rcount).
63 * If there are waiting writers and there are anonymous readers, then a
66 * waiting writers are active, readers no longer bump the anonymous count,
67 * the anonymous readers will eventually flush themselves out. At this point,
68 * readers will be able to tell if they are a re-entrant lock (have a
/freebsd/contrib/libpcap/
H A Dpcap-savefile.manfile.in84 be ignored by pcap file readers. This value was documented by some older
89 be ignored by pcap file readers. This value was documented by some older
130 interpreted by pcap readers; a reader SHOULD treat a non-zero value as
140 interpreted by pcap readers; a reader SHOULD treat a non-zero value as
/freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A DREADME.md13 ### Use a **lit test** instead of a **unit test** for the **logical readers**.
18 use ``lit`` tests to validate the **logical readers**.
149 The DWARF and CodeView readers use the public names information to create
152 (``S_PUB32``), the readers should collect the needed information while processing
/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesManager.h58 /// API notes readers for the current module.
71 llvm::DenseMap<const DirectoryEntry *, ReaderEntry> Readers; variable
158 /// Retrieve the set of API notes readers for the current module.
168 /// Find the API notes readers that correspond to the given source location.
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DPCHContainerOperations.h89 llvm::StringMap<PCHContainerReader *> Readers; variable
103 Readers[Fmt] = Reader.get(); in registerReader()
110 return Readers[Format]; in getReaderOrNull()
/freebsd/contrib/libfido2/src/
H A Dpcsc.c33 #define READERS 8 /* maximum number of readers */ macro
84 n > READERS - 1) { in get_reader()
208 if (idx == READERS) { in fido_pcsc_manifest()
209 fido_log_debug("%s: stopping at %zu readers", __func__, in fido_pcsc_manifest()

123456789