Searched refs:num_readers (Results 1 – 4 of 4) sorted by relevance
32 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()
61 u32 num_readers; member
104 uint64_t num_readers, in uffd_setup_demand_paging() argument122 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()
28 uint64_t num_readers; member37 uint64_t num_readers,