Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 25 of 33) sorted by relevance

12

/f-stack/freebsd/contrib/ck/include/
H A Dck_rwlock.h36 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 Dck_brlock.h58 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 Drte_swx_port_ethdev.c166 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 Drcu_lib.rst24 #. 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 Dhash_lib.rst86 * 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 Dwriting_efficient_code.rst224 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 Dpacket_framework.rst1123 #. **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 Dperfmon.c298 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 Drm_lnkcnt_zero_file.c99 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 Dldump.c20 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 Dluac.c147 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 Dlua.h207 LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data);
H A Dlstrlib.c140 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 Dlapi.c875 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 Dngx_connection.h207 c->log->writer = l->writer; \
H A Dngx_log.c167 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 Dngx_log.h61 ngx_log_writer_pt writer; member
/f-stack/freebsd/contrib/device-tree/Bindings/soc/qcom/
H A Dqcom,smp2p.txt4 a single 32-bit value between two processors. Each value has a single writer
/f-stack/dpdk/app/test/
H A Dautotest_runner.py221 self.csvwriter = csv.writer(csvfile)
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_upstream.h330 ngx_chain_writer_ctx_t writer; member
/f-stack/dpdk/doc/guides/rel_notes/
H A Drelease_16_07.rst170 * **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 Drelease_18_11.rst276 * **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 Dlstrlib.c178 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 Dlua.h265 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 Dngx_process_cycle.c885 ngx_exit_log.writer = NULL; in ngx_master_process_exit()
1280 ngx_exit_log.writer = NULL; in ngx_worker_process_exit()

12