Lines Matching full:users
33 …by_io_buffer - Check whether the list element is used by /sys/kernel/security/tomoyo/ users or not.
37 * Returns true if @element is used by /sys/kernel/security/tomoyo/ users,
47 head->users++; in tomoyo_struct_used_by_io_buffer()
55 head->users--; in tomoyo_struct_used_by_io_buffer()
64 …_used_by_io_buffer - Check whether the string is used by /sys/kernel/security/tomoyo/ users or not.
68 * Returns true if @string is used by /sys/kernel/security/tomoyo/ users,
81 head->users++; in tomoyo_name_used_by_io_buffer()
94 head->users--; in tomoyo_name_used_by_io_buffer()
393 * list element became no longer referenced by syscall users. in tomoyo_try_to_gc()
399 * However, there are two users which may still be using the list in tomoyo_try_to_gc()
400 * element. We need to defer until both users forget this element. in tomoyo_try_to_gc()
453 list)->users)) in tomoyo_try_to_gc()
538 if (!domain->is_deleted || atomic_read(&domain->users)) in tomoyo_collect_entry()
555 if (atomic_read(&ptr->users) > 0) in tomoyo_collect_entry()
557 atomic_set(&ptr->users, TOMOYO_GC_IN_PROGRESS); in tomoyo_collect_entry()
581 atomic_read(&group->head.users) > 0) in tomoyo_collect_entry()
583 atomic_set(&group->head.users, in tomoyo_collect_entry()
596 if (atomic_read(&ptr->users) > 0) in tomoyo_collect_entry()
598 atomic_set(&ptr->users, TOMOYO_GC_IN_PROGRESS); in tomoyo_collect_entry()
627 if (head->users) in tomoyo_gc_thread()
643 * tomoyo_notify_gc - Register/unregister /sys/kernel/security/tomoyo/ users.
656 head->users = 1; in tomoyo_notify_gc()
660 if (!--head->users) { in tomoyo_notify_gc()