/kernel/linux/linux-5.10/scripts/ |
H A D | jobserver-exec | 27 reader, writer = [int(x) for x in fds.split(",", 1)] 44 os.write(writer, jobs) 64 os.write(writer, jobs)
|
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
H A D | regression4.c | 60 pthread_t reader, writer; in regression4_test() local 68 pthread_create(&writer, NULL, writer_fn, NULL)) { in regression4_test() 73 if (pthread_join(reader, NULL) || pthread_join(writer, NULL)) { in regression4_test()
|
/kernel/linux/linux-6.6/tools/testing/radix-tree/ |
H A D | regression4.c | 60 pthread_t reader, writer; in regression4_test() local 68 pthread_create(&writer, NULL, writer_fn, NULL)) { in regression4_test() 73 if (pthread_join(reader, NULL) || pthread_join(writer, NULL)) { in regression4_test()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | data-convert-bt.c | 14 #include <babeltrace/ctf-writer/writer.h> 15 #include <babeltrace/ctf-writer/clock.h> 16 #include <babeltrace/ctf-writer/stream.h> 17 #include <babeltrace/ctf-writer/event.h> 18 #include <babeltrace/ctf-writer/event-types.h> 19 #include <babeltrace/ctf-writer/event-fields.h> 59 /* writer primitives */ 60 struct bt_ctf_writer *writer; member 88 struct ctf_writer writer; member 1367 struct bt_ctf_writer *writer = cw->writer; ctf_writer__setup_env() local 1505 struct bt_ctf_writer *writer; ctf_writer__init() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | data-convert-bt.c | 14 #include <babeltrace/ctf-writer/writer.h> 15 #include <babeltrace/ctf-writer/clock.h> 16 #include <babeltrace/ctf-writer/stream.h> 17 #include <babeltrace/ctf-writer/event.h> 18 #include <babeltrace/ctf-writer/event-types.h> 19 #include <babeltrace/ctf-writer/event-fields.h> 63 /* writer primitives */ 64 struct bt_ctf_writer *writer; member 92 struct ctf_writer writer; member 1373 struct bt_ctf_writer *writer = cw->writer; ctf_writer__setup_env() local 1511 struct bt_ctf_writer *writer; ctf_writer__init() local [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | percpu-rwsem.h | 15 struct rcuwait writer; member 34 .writer = __RCUWAIT_INITIALIZER(name.writer), \ 55 * We are in an RCU-sched read-side critical section, so the writer in percpu_down_read() 58 * the writer won't be checking until we're past the preempt_enable() in percpu_down_read() 59 * and that once the synchronize_rcu() is done, the writer will see in percpu_down_read() 110 * writer. in percpu_up_read() 119 rcuwait_wake_up(&sem->writer); in percpu_up_read()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | percpu-rwsem.h | 15 struct rcuwait writer; member 34 .writer = __RCUWAIT_INITIALIZER(name.writer), \ 55 * We are in an RCU-sched read-side critical section, so the writer in percpu_down_read() 58 * the writer won't be checking until we're past the preempt_enable() in percpu_down_read() 59 * and that once the synchronize_rcu() is done, the writer will see in percpu_down_read() 110 * writer. in percpu_up_read() 119 rcuwait_wake_up(&sem->writer); in percpu_up_read()
|
/kernel/linux/linux-5.10/tools/build/feature/ |
H A D | test-libbabeltrace.c | 3 #include <babeltrace/ctf-writer/writer.h>
|
/kernel/linux/linux-6.6/tools/build/feature/ |
H A D | test-libbabeltrace.c | 3 #include <babeltrace/ctf-writer/writer.h>
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr_default_test.c | 41 pthread_t writer; in dscr_default_lockstep_test() local 50 FAIL_IF(sem_init(writer_sem, 0, 1)); /* writer starts first */ in dscr_default_lockstep_test() 52 FAIL_IF(pthread_create(&writer, NULL, dscr_default_lockstep_writer, (void *)rw_semaphores)); in dscr_default_lockstep_test() 65 FAIL_IF(pthread_join(writer, NULL)); in dscr_default_lockstep_test()
|
/kernel/linux/linux-5.10/lib/ |
H A D | decompress_unlzma.c | 277 struct writer { struct 292 static inline size_t INIT get_pos(struct writer *wr) in get_pos() 298 static inline uint8_t INIT peek_old_byte(struct writer *wr, in peek_old_byte() 316 static inline int INIT write_byte(struct writer *wr, uint8_t byte) in write_byte() 330 static inline int INIT copy_byte(struct writer *wr, uint32_t offs) in copy_byte() 335 static inline int INIT copy_bytes(struct writer *wr, in copy_bytes() 347 static inline int INIT process_bit0(struct writer *wr, struct rc *rc, in process_bit0() 391 static inline int INIT process_bit1(struct writer *wr, struct rc *rc, in process_bit1() 553 struct writer wr; in unlzma()
|
/kernel/linux/linux-6.6/lib/ |
H A D | decompress_unlzma.c | 277 struct writer { struct 292 static inline size_t INIT get_pos(struct writer *wr) in get_pos() 298 static inline uint8_t INIT peek_old_byte(struct writer *wr, in peek_old_byte() 316 static inline int INIT write_byte(struct writer *wr, uint8_t byte) in write_byte() 330 static inline int INIT copy_byte(struct writer *wr, uint32_t offs) in copy_byte() 335 static inline int INIT copy_bytes(struct writer *wr, in copy_bytes() 347 static inline int INIT process_bit0(struct writer *wr, struct rc *rc, in process_bit0() 391 static inline int INIT process_bit1(struct writer *wr, struct rc *rc, in process_bit1() 553 struct writer wr; in unlzma()
|
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | percpu-rwsem.c | 20 rcuwait_init(&sem->writer); in __percpu_init_rwsem() 55 * If the reader misses the writer's assignment of sem->block, then the in __percpu_down_read_trylock() 56 * writer is guaranteed to see the reader's increment. in __percpu_down_read_trylock() 59 * the writer looks are guaranteed to see the sem->block value, which in __percpu_down_read_trylock() 61 * their sem->read_count, so that it doesn't matter that the writer in __percpu_down_read_trylock() 76 /* Prod writer to re-evaluate readers_active_check() */ in __percpu_down_read_trylock() 77 rcuwait_wake_up(&sem->writer); in __percpu_down_read_trylock() 114 * Specifically, we wake readers until we've woken a single writer, or until a 136 return !reader; /* wake (readers until) 1 writer */ in percpu_rwsem_wake_function() 223 * Try set sem->block; this provides writer in percpu_down_write() [all...] |
/kernel/linux/linux-6.6/kernel/locking/ |
H A D | percpu-rwsem.c | 22 rcuwait_init(&sem->writer); in __percpu_init_rwsem() 57 * If the reader misses the writer's assignment of sem->block, then the in __percpu_down_read_trylock() 58 * writer is guaranteed to see the reader's increment. in __percpu_down_read_trylock() 61 * the writer looks are guaranteed to see the sem->block value, which in __percpu_down_read_trylock() 63 * their sem->read_count, so that it doesn't matter that the writer in __percpu_down_read_trylock() 78 /* Prod writer to re-evaluate readers_active_check() */ in __percpu_down_read_trylock() 79 rcuwait_wake_up(&sem->writer); in __percpu_down_read_trylock() 116 * Specifically, we wake readers until we've woken a single writer, or until a 138 return !reader; /* wake (readers until) 1 writer */ in percpu_rwsem_wake_function() 234 * Try set sem->block; this provides writer in percpu_down_write() [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | jitterentropy-testing.c | 130 u32 writer = (u32)atomic_read(&data->rb_writer); in jent_testing_reader() local 134 /* We have no data or reached the writer. */ in jent_testing_reader() 135 if (!writer || (writer == data->rb_reader)) { in jent_testing_reader()
|
/kernel/linux/linux-5.10/drivers/char/ |
H A D | apm-emulation.c | 107 unsigned int writer: 1; member 264 if (!as->suser || !as->writer) in apm_ioctl() 367 as->writer = (filp->f_mode & FMODE_WRITE) == FMODE_WRITE; in apm_open() 527 * Queue an event to all "writer" users that we want in apm_suspend_notifier() 535 as->writer && as->suser) { in apm_suspend_notifier()
|
/kernel/linux/linux-5.10/drivers/misc/ibmasm/ |
H A D | remote.c | 173 unsigned long writer; in ibmasm_handle_mouse_interrupt() local 177 writer = get_queue_writer(sp); in ibmasm_handle_mouse_interrupt() 179 while (reader != writer) { in ibmasm_handle_mouse_interrupt() 192 writer = get_queue_writer(sp); in ibmasm_handle_mouse_interrupt()
|
/kernel/linux/linux-6.6/drivers/misc/ibmasm/ |
H A D | remote.c | 173 unsigned long writer; in ibmasm_handle_mouse_interrupt() local 177 writer = get_queue_writer(sp); in ibmasm_handle_mouse_interrupt() 179 while (reader != writer) { in ibmasm_handle_mouse_interrupt() 192 writer = get_queue_writer(sp); in ibmasm_handle_mouse_interrupt()
|
/kernel/linux/linux-6.6/drivers/char/ |
H A D | apm-emulation.c | 107 unsigned int writer: 1; member 264 if (!as->suser || !as->writer) in apm_ioctl() 367 as->writer = (filp->f_mode & FMODE_WRITE) == FMODE_WRITE; in apm_open() 527 * Queue an event to all "writer" users that we want in apm_suspend_notifier() 535 as->writer && as->suser) { in apm_suspend_notifier()
|
/kernel/linux/linux-5.10/drivers/tty/hvc/ |
H A D | hvsi.c | 60 struct delayed_work writer; member 751 /* 'writer' could still be pending if it didn't see n_outbuf = 0 yet */ in hvsi_flush_output() 752 cancel_delayed_work_sync(&hp->writer); in hvsi_flush_output() 852 container_of(work, struct hvsi_struct, writer.work); in hvsi_write_worker() 872 schedule_delayed_work(&hp->writer, HZ); in hvsi_write_worker() 878 schedule_delayed_work(&hp->writer, 10); in hvsi_write_worker() 949 schedule_delayed_work(&hp->writer, 10); in hvsi_write() 1198 INIT_DELAYED_WORK(&hp->writer, hvsi_write_worker); in hvsi_console_init()
|
/kernel/linux/linux-6.6/drivers/tty/hvc/ |
H A D | hvsi.c | 60 struct delayed_work writer; member 751 /* 'writer' could still be pending if it didn't see n_outbuf = 0 yet */ in hvsi_flush_output() 752 cancel_delayed_work_sync(&hp->writer); in hvsi_flush_output() 852 container_of(work, struct hvsi_struct, writer.work); in hvsi_write_worker() 872 schedule_delayed_work(&hp->writer, HZ); in hvsi_write_worker() 878 schedule_delayed_work(&hp->writer, 10); in hvsi_write_worker() 948 schedule_delayed_work(&hp->writer, 10); in hvsi_write() 1199 INIT_DELAYED_WORK(&hp->writer, hvsi_write_worker); in hvsi_console_init()
|
/kernel/linux/linux-5.10/drivers/staging/greybus/tools/ |
H A D | lbtest | 108 row = csv.writer(csvf, delimiter=",", quotechar="'",
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | apm_32.c | 329 unsigned int writer: 1; member 1192 if (!as->suser || !as->writer) in queue_event() 1520 if (!as->suser || !as->writer) in do_ioctl() 1618 as->writer = (filp->f_mode & FMODE_WRITE) == FMODE_WRITE; in do_open()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | apm_32.c | 330 unsigned int writer: 1; member 1199 if (!as->suser || !as->writer) in queue_event() 1527 if (!as->suser || !as->writer) in do_ioctl() 1625 as->writer = (filp->f_mode & FMODE_WRITE) == FMODE_WRITE; in do_open()
|
/kernel/linux/linux-5.10/sound/core/ |
H A D | pcm_lib.c | 2124 pcm_copy_f writer; in __snd_pcm_lib_xfer() local 2139 writer = interleaved_copy; in __snd_pcm_lib_xfer() 2143 writer = noninterleaved_copy; in __snd_pcm_lib_xfer() 2229 err = writer(substream, appl_ofs, data, offset, frames, in __snd_pcm_lib_xfer()
|