| /kernel/linux/linux-5.10/drivers/mfd/ |
| H A D | ab8500-debugfs.c | 107 * @first: the first address of the range 112 u8 first; member 164 .first = 0x00, 168 .first = 0x42, 172 .first = 0x80, 181 .first = 0x00, 185 .first = 0x0F, 189 .first = 0x30, 193 .first [all...] |
| /kernel/linux/linux-5.10/ipc/ |
| H A D | syscall.c | 20 int ksys_ipc(unsigned int call, int first, unsigned long second, in ksys_ipc() argument 30 return ksys_semtimedop(first, (struct sembuf __user *)ptr, in ksys_ipc() 34 return ksys_semtimedop(first, ptr, second, in ksys_ipc() 37 return compat_ksys_semtimedop(first, ptr, second, in ksys_ipc() 43 return ksys_semget(first, second, third); in ksys_ipc() 50 return ksys_old_semctl(first, second, third, arg); in ksys_ipc() 54 return ksys_msgsnd(first, (struct msgbuf __user *) ptr, in ksys_ipc() 67 return ksys_msgrcv(first, tmp.msgp, second, in ksys_ipc() 71 return ksys_msgrcv(first, in ksys_ipc() 76 return ksys_msgget((key_t) first, secon in ksys_ipc() 130 compat_ksys_ipc(u32 call, int first, int second, u32 third, compat_uptr_t ptr, u32 fifth) compat_ksys_ipc() argument [all...] |
| /kernel/linux/linux-6.6/ipc/ |
| H A D | syscall.c | 20 int ksys_ipc(unsigned int call, int first, unsigned long second, in ksys_ipc() argument 30 return ksys_semtimedop(first, (struct sembuf __user *)ptr, in ksys_ipc() 34 return ksys_semtimedop(first, ptr, second, in ksys_ipc() 37 return compat_ksys_semtimedop(first, ptr, second, in ksys_ipc() 43 return ksys_semget(first, second, third); in ksys_ipc() 50 return ksys_old_semctl(first, second, third, arg); in ksys_ipc() 54 return ksys_msgsnd(first, (struct msgbuf __user *) ptr, in ksys_ipc() 67 return ksys_msgrcv(first, tmp.msgp, second, in ksys_ipc() 71 return ksys_msgrcv(first, in ksys_ipc() 76 return ksys_msgget((key_t) first, secon in ksys_ipc() 130 compat_ksys_ipc(u32 call, int first, int second, u32 third, compat_uptr_t ptr, u32 fifth) compat_ksys_ipc() argument [all...] |
| /kernel/linux/linux-5.10/tools/power/cpupower/lib/ |
| H A D | cpufreq.c | 264 struct cpufreq_available_governors *first = NULL; in cpufreq_get_available_governors() local 286 first = malloc(sizeof(*first)); in cpufreq_get_available_governors() 287 if (!first) in cpufreq_get_available_governors() 289 current = first; in cpufreq_get_available_governors() 291 current->first = first; in cpufreq_get_available_governors() 304 return first; in cpufreq_get_available_governors() 307 while (first) { in cpufreq_get_available_governors() 308 current = first in cpufreq_get_available_governors() 338 struct cpufreq_available_frequencies *first = NULL; cpufreq_get_available_frequencies() local 394 struct cpufreq_available_frequencies *first = NULL; cpufreq_get_boost_frequencies() local 470 struct cpufreq_affected_cpus *first = NULL; sysfs_get_cpu_list() local 701 struct cpufreq_stats *first = NULL; cpufreq_get_stats() local [all...] |
| H A D | cpufreq.h | 20 struct cpufreq_available_governors *first; member 26 struct cpufreq_available_frequencies *first; member 33 struct cpufreq_affected_cpus *first; member 40 struct cpufreq_stats *first; member 117 struct cpufreq_available_governors *first); 131 struct cpufreq_available_frequencies *first); 137 struct cpufreq_available_frequencies *first); 149 void cpufreq_put_affected_cpus(struct cpufreq_affected_cpus *first); 161 void cpufreq_put_related_cpus(struct cpufreq_affected_cpus *first);
|
| /kernel/linux/linux-6.6/tools/power/cpupower/lib/ |
| H A D | cpufreq.c | 273 struct cpufreq_available_governors *first = NULL; in cpufreq_get_available_governors() local 295 first = malloc(sizeof(*first)); in cpufreq_get_available_governors() 296 if (!first) in cpufreq_get_available_governors() 298 current = first; in cpufreq_get_available_governors() 300 current->first = first; in cpufreq_get_available_governors() 313 return first; in cpufreq_get_available_governors() 316 while (first) { in cpufreq_get_available_governors() 317 current = first in cpufreq_get_available_governors() 347 struct cpufreq_available_frequencies *first = NULL; cpufreq_get_available_frequencies() local 403 struct cpufreq_available_frequencies *first = NULL; cpufreq_get_boost_frequencies() local 479 struct cpufreq_affected_cpus *first = NULL; sysfs_get_cpu_list() local 710 struct cpufreq_stats *first = NULL; cpufreq_get_stats() local [all...] |
| H A D | cpufreq.h | 20 struct cpufreq_available_governors *first; member 26 struct cpufreq_available_frequencies *first; member 33 struct cpufreq_affected_cpus *first; member 40 struct cpufreq_stats *first; member 117 struct cpufreq_available_governors *first); 131 struct cpufreq_available_frequencies *first); 137 struct cpufreq_available_frequencies *first); 149 void cpufreq_put_affected_cpus(struct cpufreq_affected_cpus *first); 161 void cpufreq_put_related_cpus(struct cpufreq_affected_cpus *first);
|
| /kernel/linux/linux-5.10/lib/ |
| H A D | siphash.c | 114 * @first: first u64 117 u64 siphash_1u64(const u64 first, const siphash_key_t *key) in siphash_1u64() argument 120 v3 ^= first; in siphash_1u64() 123 v0 ^= first; in siphash_1u64() 130 * @first: first u64 134 u64 siphash_2u64(const u64 first, const u64 second, const siphash_key_t *key) in siphash_2u64() argument 137 v3 ^= first; in siphash_2u64() 140 v0 ^= first; in siphash_2u64() 156 siphash_3u64(const u64 first, const u64 second, const u64 third, const siphash_key_t *key) siphash_3u64() argument 184 siphash_4u64(const u64 first, const u64 second, const u64 third, const u64 forth, const siphash_key_t *key) siphash_4u64() argument 208 siphash_1u32(const u32 first, const siphash_key_t *key) siphash_1u32() argument 216 siphash_3u32(const u32 first, const u32 second, const u32 third, const siphash_key_t *key) siphash_3u32() argument 317 hsiphash_1u32(const u32 first, const hsiphash_key_t *key) hsiphash_1u32() argument 331 hsiphash_2u32(const u32 first, const u32 second, const hsiphash_key_t *key) hsiphash_2u32() argument 349 hsiphash_3u32(const u32 first, const u32 second, const u32 third, const hsiphash_key_t *key) hsiphash_3u32() argument 370 hsiphash_4u32(const u32 first, const u32 second, const u32 third, const u32 forth, const hsiphash_key_t *key) hsiphash_4u32() argument 459 hsiphash_1u32(const u32 first, const hsiphash_key_t *key) hsiphash_1u32() argument 475 hsiphash_2u32(const u32 first, const u32 second, const hsiphash_key_t *key) hsiphash_2u32() argument 495 hsiphash_3u32(const u32 first, const u32 second, const u32 third, const hsiphash_key_t *key) hsiphash_3u32() argument 520 hsiphash_4u32(const u32 first, const u32 second, const u32 third, const u32 forth, const hsiphash_key_t *key) hsiphash_4u32() argument [all...] |
| H A D | llist.c | 20 * @new_first: first entry in batch to be added 29 struct llist_node *first; in llist_add_batch() local 32 new_last->next = first = READ_ONCE(head->first); in llist_add_batch() 33 } while (cmpxchg(&head->first, first, new_first) != first); in llist_add_batch() 35 return !first; in llist_add_batch() 40 * llist_del_first - delete the first entry of lock-less list 43 * If list is empty, return NULL, otherwise, return the first entr [all...] |
| /kernel/linux/linux-6.6/lib/ |
| H A D | siphash.c | 113 * @first: first u64 116 u64 siphash_1u64(const u64 first, const siphash_key_t *key) in siphash_1u64() argument 119 v3 ^= first; in siphash_1u64() 122 v0 ^= first; in siphash_1u64() 129 * @first: first u64 133 u64 siphash_2u64(const u64 first, const u64 second, const siphash_key_t *key) in siphash_2u64() argument 136 v3 ^= first; in siphash_2u64() 139 v0 ^= first; in siphash_2u64() 155 siphash_3u64(const u64 first, const u64 second, const u64 third, const siphash_key_t *key) siphash_3u64() argument 183 siphash_4u64(const u64 first, const u64 second, const u64 third, const u64 forth, const siphash_key_t *key) siphash_4u64() argument 207 siphash_1u32(const u32 first, const siphash_key_t *key) siphash_1u32() argument 215 siphash_3u32(const u32 first, const u32 second, const u32 third, const siphash_key_t *key) siphash_3u32() argument 316 hsiphash_1u32(const u32 first, const hsiphash_key_t *key) hsiphash_1u32() argument 330 hsiphash_2u32(const u32 first, const u32 second, const hsiphash_key_t *key) hsiphash_2u32() argument 348 hsiphash_3u32(const u32 first, const u32 second, const u32 third, const hsiphash_key_t *key) hsiphash_3u32() argument 369 hsiphash_4u32(const u32 first, const u32 second, const u32 third, const u32 forth, const hsiphash_key_t *key) hsiphash_4u32() argument 458 hsiphash_1u32(const u32 first, const hsiphash_key_t *key) hsiphash_1u32() argument 474 hsiphash_2u32(const u32 first, const u32 second, const hsiphash_key_t *key) hsiphash_2u32() argument 494 hsiphash_3u32(const u32 first, const u32 second, const u32 third, const hsiphash_key_t *key) hsiphash_3u32() argument 519 hsiphash_4u32(const u32 first, const u32 second, const u32 third, const u32 forth, const hsiphash_key_t *key) hsiphash_4u32() argument [all...] |
| H A D | llist.c | 20 * @new_first: first entry in batch to be added 29 struct llist_node *first = READ_ONCE(head->first); in llist_add_batch() local 32 new_last->next = first; in llist_add_batch() 33 } while (!try_cmpxchg(&head->first, &first, new_first)); in llist_add_batch() 35 return !first; in llist_add_batch() 40 * llist_del_first - delete the first entry of lock-less list 43 * If list is empty, return NULL, otherwise, return the first entry 49 * llist_add) sequence in another user may change @head->first [all...] |
| /kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
| H A D | sysfillrect.c | 28 unsigned long first, last; in bitfill_aligned() local 33 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_aligned() 39 first &= last; in bitfill_aligned() 40 *dst = comp(pat, *dst, first); in bitfill_aligned() 45 if (first!= ~0UL) { in bitfill_aligned() 46 *dst = comp(pat, *dst, first); in bitfill_aligned() 84 unsigned long first, last; in bitfill_unaligned() local 89 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned() 95 first &= last; in bitfill_unaligned() 96 *dst = comp(pat, *dst, first); in bitfill_unaligned() 139 unsigned long first, last; bitfill_aligned_rev() local 195 unsigned long first, last; bitfill_unaligned_rev() local [all...] |
| H A D | syscopyarea.c | 31 unsigned long first, last; in bitcpy() local 35 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitcpy() 43 first &= last; in bitcpy() 44 *dst = comp(*src, *dst, first); in bitcpy() 48 if (first != ~0UL) { in bitcpy() 49 *dst = comp(*src, *dst, first); in bitcpy() 86 first &= last; in bitcpy() 89 *dst = comp(*src << left, *dst, first); in bitcpy() 92 *dst = comp(*src >> right, *dst, first); in bitcpy() 98 first); in bitcpy() 174 unsigned long first, last; bitcpy_rev() local [all...] |
| /kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
| H A D | sysfillrect.c | 28 unsigned long first, last; in bitfill_aligned() local 33 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_aligned() 39 first &= last; in bitfill_aligned() 40 *dst = comp(pat, *dst, first); in bitfill_aligned() 45 if (first!= ~0UL) { in bitfill_aligned() 46 *dst = comp(pat, *dst, first); in bitfill_aligned() 74 unsigned long first, last; in bitfill_unaligned() local 79 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned() 85 first &= last; in bitfill_unaligned() 86 *dst = comp(pat, *dst, first); in bitfill_unaligned() 129 unsigned long first, last; bitfill_aligned_rev() local 185 unsigned long first, last; bitfill_unaligned_rev() local [all...] |
| H A D | syscopyarea.c | 31 unsigned long first, last; in bitcpy() local 35 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitcpy() 43 first &= last; in bitcpy() 44 *dst = comp(*src, *dst, first); in bitcpy() 48 if (first != ~0UL) { in bitcpy() 49 *dst = comp(*src, *dst, first); in bitcpy() 86 first &= last; in bitcpy() 89 *dst = comp(*src << left, *dst, first); in bitcpy() 92 *dst = comp(*src >> right, *dst, first); in bitcpy() 98 first); in bitcpy() 174 unsigned long first, last; bitcpy_rev() local [all...] |
| /kernel/linux/linux-5.10/include/linux/ |
| H A D | rculist_bl.h | 15 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first_rcu() 17 rcu_assign_pointer(h->first, in hlist_bl_set_first_rcu() 24 ((unsigned long)rcu_dereference_check(h->first, hlist_bl_is_locked(h)) & ~LIST_BL_LOCKMASK); in hlist_bl_first_rcu() 74 struct hlist_bl_node *first; in hlist_bl_add_head_rcu() local 77 first = hlist_bl_first(h); in hlist_bl_add_head_rcu() 79 n->next = first; in hlist_bl_add_head_rcu() 80 if (first) in hlist_bl_add_head_rcu() 81 first->pprev = &n->next; in hlist_bl_add_head_rcu() 82 n->pprev = &h->first; in hlist_bl_add_head_rcu()
|
| H A D | list_nulls.h | 22 struct hlist_nulls_node *first; member 30 ((ptr)->first = (struct hlist_nulls_node *) NULLS_MARKER(nulls)) 88 return is_a_nulls(READ_ONCE(h->first)); in hlist_nulls_empty() 94 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head() local 96 n->next = first; in hlist_nulls_add_head() 97 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head() 98 h->first = n; in hlist_nulls_add_head() 99 if (!is_a_nulls(first)) in hlist_nulls_add_head() 100 WRITE_ONCE(first in hlist_nulls_add_head() [all...] |
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | rculist_bl.h | 15 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first_rcu() 17 rcu_assign_pointer(h->first, in hlist_bl_set_first_rcu() 24 ((unsigned long)rcu_dereference_check(h->first, hlist_bl_is_locked(h)) & ~LIST_BL_LOCKMASK); in hlist_bl_first_rcu() 74 struct hlist_bl_node *first; in hlist_bl_add_head_rcu() local 77 first = hlist_bl_first(h); in hlist_bl_add_head_rcu() 79 n->next = first; in hlist_bl_add_head_rcu() 80 if (first) in hlist_bl_add_head_rcu() 81 first->pprev = &n->next; in hlist_bl_add_head_rcu() 82 n->pprev = &h->first; in hlist_bl_add_head_rcu()
|
| H A D | list_nulls.h | 22 struct hlist_nulls_node *first; member 30 ((ptr)->first = (struct hlist_nulls_node *) NULLS_MARKER(nulls)) 88 return is_a_nulls(READ_ONCE(h->first)); in hlist_nulls_empty() 94 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head() local 96 n->next = first; in hlist_nulls_add_head() 97 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head() 98 h->first = n; in hlist_nulls_add_head() 99 if (!is_a_nulls(first)) in hlist_nulls_add_head() 100 WRITE_ONCE(first in hlist_nulls_add_head() [all...] |
| /kernel/linux/linux-5.10/arch/alpha/lib/ |
| H A D | csum_partial_copy.c | 128 unsigned long first; in csum_partial_cfu_dest_aligned() local 133 if (__get_word(ldq_u, first,src)) in csum_partial_cfu_dest_aligned() 141 extql(first, soff, word); in csum_partial_cfu_dest_aligned() 144 extqh(second, soff, first); in csum_partial_cfu_dest_aligned() 146 word |= first; in csum_partial_cfu_dest_aligned() 147 first = second; in csum_partial_cfu_dest_aligned() 161 extql(first, soff, word); in csum_partial_cfu_dest_aligned() 162 extqh(second, soff, first); in csum_partial_cfu_dest_aligned() 163 word |= first; in csum_partial_cfu_dest_aligned() 242 unsigned long first; in csum_partial_cfu_unaligned() local [all...] |
| /kernel/linux/linux-6.6/arch/alpha/lib/ |
| H A D | csum_partial_copy.c | 129 unsigned long first; in csum_partial_cfu_dest_aligned() local 134 if (__get_word(ldq_u, first,src)) in csum_partial_cfu_dest_aligned() 142 extql(first, soff, word); in csum_partial_cfu_dest_aligned() 145 extqh(second, soff, first); in csum_partial_cfu_dest_aligned() 147 word |= first; in csum_partial_cfu_dest_aligned() 148 first = second; in csum_partial_cfu_dest_aligned() 162 extql(first, soff, word); in csum_partial_cfu_dest_aligned() 163 extqh(second, soff, first); in csum_partial_cfu_dest_aligned() 164 word |= first; in csum_partial_cfu_dest_aligned() 243 unsigned long first; in csum_partial_cfu_unaligned() local [all...] |
| /kernel/linux/linux-6.6/kernel/bpf/ |
| H A D | percpu_freelist.c | 18 head->first = NULL; in pcpu_freelist_init() 21 s->extralist.first = NULL; in pcpu_freelist_init() 33 node->next = head->first; in pcpu_freelist_push_node() 34 WRITE_ONCE(head->first, node); in pcpu_freelist_push_node() 129 if (!READ_ONCE(head->first)) in ___pcpu_freelist_pop() 132 node = head->first; in ___pcpu_freelist_pop() 134 WRITE_ONCE(head->first, node->next); in ___pcpu_freelist_pop() 142 if (!READ_ONCE(s->extralist.first)) in ___pcpu_freelist_pop() 145 node = s->extralist.first; in ___pcpu_freelist_pop() 147 WRITE_ONCE(s->extralist.first, nod in ___pcpu_freelist_pop() [all...] |
| /kernel/linux/linux-6.6/kernel/trace/ |
| H A D | rethook.c | 62 * call this first and wait RCU, and call rethook_free(). 222 node = tsk->rethooks.first; in __rethook_find_ret_addr() 250 * first call, but '@cur' itself must NOT NULL. 292 struct llist_node *first, *node = NULL; in rethook_trampoline_handler() local 315 first = current->rethooks.first; in rethook_trampoline_handler() 316 while (first) { in rethook_trampoline_handler() 317 rhn = container_of(first, struct rethook_node, llist); in rethook_trampoline_handler() 325 if (first == node) in rethook_trampoline_handler() 327 first in rethook_trampoline_handler() [all...] |
| /kernel/linux/linux-5.10/fs/ |
| H A D | binfmt_script.c | 19 static inline const char *next_non_spacetab(const char *first, const char *last) in next_non_spacetab() argument 21 for (; first <= last; first++) in next_non_spacetab() 22 if (!spacetab(*first)) in next_non_spacetab() 23 return first; in next_non_spacetab() 26 static inline const char *next_terminator(const char *first, const char *last) in next_terminator() argument 28 for (; first <= last; first++) in next_terminator() 29 if (spacetab(*first) || !*first) in next_terminator() [all...] |
| /kernel/linux/linux-6.6/fs/ |
| H A D | binfmt_script.c | 19 static inline const char *next_non_spacetab(const char *first, const char *last) in next_non_spacetab() argument 21 for (; first <= last; first++) in next_non_spacetab() 22 if (!spacetab(*first)) in next_non_spacetab() 23 return first; in next_non_spacetab() 26 static inline const char *next_terminator(const char *first, const char *last) in next_terminator() argument 28 for (; first <= last; first++) in next_terminator() 29 if (spacetab(*first) || !*first) in next_terminator() [all...] |