Home
last modified time | relevance | path

Searched refs:num_readers (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/acpi/acpica/
Dutlock.c32 lock->num_readers = 0; in acpi_ut_create_rw_lock()
48 lock->num_readers = 0; in acpi_ut_delete_rw_lock()
82 lock->num_readers++; in acpi_ut_acquire_read_lock()
83 if (lock->num_readers == 1) { in acpi_ut_acquire_read_lock()
104 lock->num_readers--; in acpi_ut_release_read_lock()
105 if (lock->num_readers == 0) { in acpi_ut_release_read_lock()
Daclocal.h61 u32 num_readers; member
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Duserfaultfd_util.c104 uint64_t num_readers, in uffd_setup_demand_paging() argument
122 uffd_desc->pipefds = calloc(sizeof(int), num_readers); in uffd_setup_demand_paging()
125 uffd_desc->readers = calloc(sizeof(pthread_t), num_readers); in uffd_setup_demand_paging()
128 uffd_desc->reader_args = calloc(sizeof(struct uffd_reader_args), num_readers); in uffd_setup_demand_paging()
131 uffd_desc->num_readers = num_readers; in uffd_setup_demand_paging()
155 for (i = 0; i < uffd_desc->num_readers; ++i) { in uffd_setup_demand_paging()
185 for (i = 0; i < uffd->num_readers; ++i) in uffd_stop_demand_paging()
189 for (i = 0; i < uffd->num_readers; ++i) in uffd_stop_demand_paging()
195 for (i = 0; i < uffd->num_readers; ++i) { in uffd_stop_demand_paging()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Duserfaultfd_util.h28 uint64_t num_readers; member
37 uint64_t num_readers,