| /f-stack/freebsd/contrib/ck/include/ |
| H A D | ck_rwlock.h | 36 unsigned int writer; member 47 rw->writer = 0; in ck_rwlock_init() 58 ck_pr_store_uint(&rw->writer, 0); in ck_rwlock_write_unlock() 67 r = ck_pr_load_uint(&rw->writer); in ck_rwlock_locked_writer() 87 ck_pr_load_uint(&rw->writer); in ck_rwlock_locked() 96 if (ck_pr_fas_uint(&rw->writer, 1) != 0) in ck_rwlock_write_trylock() 137 if (ck_pr_load_uint(&rw->writer) != 0) in CK_ELIDE_PROTOTYPE() 224 o = ck_pr_load_uint(&rw->rw.writer); in ck_rwlock_recursive_write_lock() 247 o = ck_pr_load_uint(&rw->rw.writer); in ck_rwlock_recursive_write_trylock() 257 ck_pr_store_uint(&rw->rw.writer, 0); in ck_rwlock_recursive_write_trylock() [all …]
|
| H A D | ck_brlock.h | 58 unsigned int writer; member 69 br->writer = false; in ck_brlock_init() 83 while (ck_pr_fas_uint(&br->writer, true) == true) in ck_brlock_write_lock() 103 ck_pr_store_uint(&br->writer, false); in ck_brlock_write_unlock() 113 while (ck_pr_fas_uint(&br->writer, true) == true) { in ck_brlock_write_trylock() 188 while (ck_pr_load_uint(&br->writer) == true) in ck_brlock_read_lock() 209 if (ck_pr_load_uint(&br->writer) == false) in ck_brlock_read_lock() 232 while (ck_pr_load_uint(&br->writer) == true) { in ck_brlock_read_trylock() 257 if (ck_pr_load_uint(&br->writer) == false) in ck_brlock_read_trylock()
|
| /f-stack/dpdk/lib/librte_port/ |
| H A D | rte_swx_port_ethdev.c | 166 struct writer { struct 183 struct writer *p; in writer_create() argument 200 p = calloc(1, sizeof(struct writer)); in writer_create() 218 __writer_flush(struct writer *p) in __writer_flush() 243 struct writer *p = port; in writer_pkt_tx() 270 struct writer *p = port; in writer_flush() 279 struct writer *p = port; in writer_free() 292 struct writer *p = port; in writer_stats_read()
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | rcu_lib.rst | 24 #. Delete: in this step, the writer removes the reference to the element from 29 #. Free (Reclaim): in this step, the writer returns the memory to the 33 This library helps the writer determine when it is safe to free the 54 element from D1, the writer cannot free the memory associated with that 55 element immediately. The writer can return the memory to the allocator only 59 Similarly, since reader thread 2 is also accessing D1, the writer has to 62 However, the writer does not need to wait for reader thread 3 to enter 82 The writer has to poll the readers to identify the end of grace period. 173 does not allow the writer to do useful work while waiting and introduces 197 the application. When a writer deletes an entry from a data structure, the writer: [all …]
|
| H A D | hash_lib.rst | 86 * If the multi-writer flag (RTE_HASH_EXTRA_FLAGS_MULTI_WRITER_ADD) is set, multiple threads writin… 87 …Key add, delete, and table reset are protected from other writer threads. With only this flag set,… 91 The library uses a reader-writer lock to provide the concurrency. 94 …the reader-writer lock will use hardware transactional memory (e.g., Intel® TSX) if supported to g… 98 …AGS_RW_CONCURRENCY_LF) is set, read/write concurrency is provided without using reader-writer lock.
|
| H A D | writing_efficient_code.rst | 224 Lock-free reader-writer concurrency is one of the common use cases in DPDK. 226 The payload or the data that the writer wants to communicate to the reader, 232 with ACQUIRE memory order. The payload or the data the writer communicated,
|
| H A D | packet_framework.rst | 1123 #. **Multiple writer threads.** 1128 #. **Multiple writer threads, with single thread performing table lookup operations and multiple t… 1132 #. **Single writer thread performing table entry add/delete operations and multiple reader threads… 1133 The reader threads use the main table copy while the writer is updating the mirror copy. 1134 …Once the writer update is done, the writer can signal to the readers and busy wait until all reade…
|
| /f-stack/freebsd/i386/i386/ |
| H A D | perfmon.c | 298 static int writer; variable 308 if (writer) { in perfmon_open() 311 writer = 1; in perfmon_open() 328 writer = 0; in perfmon_close()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/rm_lnkcnt_zero_file/ |
| H A D | rm_lnkcnt_zero_file.c | 99 writer(void *a) in writer() function 143 (void) pthread_create(&tid, NULL, writer, (void *) &fd); in main()
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | ldump.c | 20 lua_Writer writer; member 34 D->status=(*D->writer)(D->L,b,size,D->data); in DumpBlock() 157 D.writer=w; in luaU_dump()
|
| H A D | luac.c | 147 static int writer(lua_State* L, const void* p, size_t size, void* u) in writer() function 178 luaU_dump(L,f,writer,D,stripping); in pmain()
|
| H A D | lua.h | 207 LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data);
|
| H A D | lstrlib.c | 140 static int writer (lua_State *L, const void* b, size_t size, void* B) { in writer() function 152 if (lua_dump(L, writer, &b) != 0) in str_dump()
|
| H A D | lapi.c | 875 LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) { in lua_dump() argument 882 status = luaU_dump(L, clvalue(o)->l.p, writer, data, 0); in lua_dump()
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_connection.h | 207 c->log->writer = l->writer; \
|
| H A D | ngx_log.c | 167 if (log->writer) { in ngx_log_error_core() 168 log->writer(log, level, errstr, p - errstr); in ngx_log_error_core() 638 new_log->writer = ngx_log_memory_writer; 657 new_log->writer = ngx_syslog_writer;
|
| H A D | ngx_log.h | 61 ngx_log_writer_pt writer; member
|
| /f-stack/freebsd/contrib/device-tree/Bindings/soc/qcom/ |
| H A D | qcom,smp2p.txt | 4 a single 32-bit value between two processors. Each value has a single writer
|
| /f-stack/dpdk/app/test/ |
| H A D | autotest_runner.py | 221 self.csvwriter = csv.writer(csvfile)
|
| /f-stack/app/nginx-1.16.1/src/http/ |
| H A D | ngx_http_upstream.h | 330 ngx_chain_writer_ctx_t writer; member
|
| /f-stack/dpdk/doc/guides/rel_notes/ |
| H A D | release_16_07.rst | 170 * **Added multi-writer support for RTE Hash with Intel TSX.** 178 multi-writer routines and split Cuckoo Hash Search and Move operations in 180 * Added a hash multi-writer test case to the test app.
|
| H A D | release_18_11.rst | 276 * **Added lock free reader/writer concurrency to hash library (rte_hash).** 278 Lock free reader/writer concurrency prevents the readers from getting 279 blocked due to a preempted writer thread. This allows the hash library 280 to be used in scenarios where the writer thread runs on the control plane.
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lstrlib.c | 178 static int writer (lua_State *L, const void* b, size_t size, void* B) { in writer() function 190 if (lua_dump(L, writer, &b) != 0) in str_dump()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/lua/ |
| H A D | lua.h | 265 LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data);
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_process_cycle.c | 885 ngx_exit_log.writer = NULL; in ngx_master_process_exit() 1280 ngx_exit_log.writer = NULL; in ngx_worker_process_exit()
|