/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | debug-monitors.c | 163 static void register_debug_hook(struct list_head *node, struct list_head *list) in register_debug_hook() argument 166 list_add_rcu(node, list); in register_debug_hook() 208 struct list_head *list; in call_step_hook() local 211 list = user_mode(regs) ? &user_step_hook : &kernel_step_hook; in call_step_hook() 215 * entirely not preemptible, and we can use rcu list safely here. in call_step_hook() 217 list_for_each_entry_rcu(hook, list, node) { in call_step_hook() 305 struct list_head *list; in call_break_hook() local 308 list = user_mode(regs) ? &user_break_hook : &kernel_break_hook; in call_break_hook() 312 * entirely not preemptible, and we can use rcu list safely here. in call_break_hook() 314 list_for_each_entry_rcu(hook, list, nod in call_break_hook() [all...] |
/kernel/linux/linux-6.6/arch/arm/mm/ |
H A D | cache-uniphier.c | 72 * @list: list node to include this level in the whole cache hierarchy 83 struct list_head list; member 87 * List of the whole outer cache hierarchy. This list is only modified during 88 * the early boot stage, so no mutex is taken for the access to the list. 243 list_for_each_entry(data, &uniphier_cache_list, list) in uniphier_cache_maint_range() 251 list_for_each_entry(data, &uniphier_cache_list, list) in uniphier_cache_maint_all() 284 list_for_each_entry_reverse(data, &uniphier_cache_list, list) in uniphier_cache_disable() 296 list_for_each_entry(data, &uniphier_cache_list, list) { in uniphier_cache_enable() 306 list_for_each_entry(data, &uniphier_cache_list, list) in uniphier_cache_sync() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_rtas.c | 131 struct list_head list; member 148 list_for_each_entry_safe(d, tmp, &kvm->arch.rtas_tokens, list) { in rtas_token_undefine() 150 list_del(&d->list); in rtas_token_undefine() 169 list_for_each_entry(d, &kvm->arch.rtas_tokens, list) { in rtas_token_define() 193 list_add_tail(&d->list, &kvm->arch.rtas_tokens); in rtas_token_define() 261 list_for_each_entry(d, &vcpu->kvm->arch.rtas_tokens, list) { in kvmppc_rtas_hcall() 303 list_for_each_entry_safe(d, tmp, &kvm->arch.rtas_tokens, list) { in kvmppc_rtas_tokens_free() 304 list_del(&d->list); in kvmppc_rtas_tokens_free()
|
/kernel/linux/linux-6.6/arch/s390/mm/ |
H A D | cmm.c | 63 struct cmm_page_array **list) in cmm_alloc_pages() 73 pa = *list; in cmm_alloc_pages() 75 /* Need a new page for the page list. */ in cmm_alloc_pages() 84 pa = *list; in cmm_alloc_pages() 89 *list = pa; in cmm_alloc_pages() 102 static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list) in cmm_free_pages() argument 108 pa = *list; in cmm_free_pages() 115 free_page((unsigned long) *list); in cmm_free_pages() 116 *list = pa; in cmm_free_pages() 62 cmm_alloc_pages(long nr, long *counter, struct cmm_page_array **list) cmm_alloc_pages() argument
|
/kernel/linux/linux-6.6/arch/um/os-Linux/ |
H A D | start_up.c | 75 va_list list; in fatal() local 77 va_start(list, fmt); in fatal() 78 vfprintf(stderr, fmt, list); in fatal() 79 va_end(list); in fatal() 86 va_list list; in non_fatal() local 88 va_start(list, fmt); in non_fatal() 89 vfprintf(stderr, fmt, list); in non_fatal() 90 va_end(list); in non_fatal()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-service-time.c | 31 struct list_head list; member 66 list_for_each_entry_safe(pi, next, paths, list) { in free_paths() 67 list_del(&pi->list); in free_paths() 167 list_add_tail(&pi->list, &s->valid_paths); in st_add_path() 180 list_move(&pi->list, &s->failed_paths); in st_fail_path() 191 list_move_tail(&pi->list, &s->valid_paths); in st_reinstate_path() 285 list_for_each_entry(pi, &s->valid_paths, list) in st_select_path() 293 list_move_tail(&best->list, &s->valid_paths); in st_select_path()
|
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_ldsem.c | 28 #include <linux/list.h> 50 struct list_head list; member 81 * Try to grant read locks to all readers on the read wait list. in __ldsem_wake_readers() 94 list_for_each_entry_safe(waiter, next, &sem->read_wait, list) { in __ldsem_wake_readers() 123 waiter = list_entry(sem->write_wait.next, struct ldsem_waiter, list); in __ldsem_wake_writer() 133 * - woken process blocks are discarded from the list after having task zeroed 180 list_add_tail(&waiter.list, &sem->read_wait); in down_read_failed() 215 list_del(&waiter.list); in down_read_failed() 253 list_add_tail(&waiter.list, &sem->write_wait); in down_write_failed() 272 list_del(&waiter.list); in down_write_failed() [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_set_bitmap.c | 9 #include <linux/list.h> 46 struct list_head list; member 95 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_elem_find() 113 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_get() 141 list_add_tail_rcu(&new->head, &priv->list); in nft_bitmap_insert() 222 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_walk() 267 INIT_LIST_HEAD(&priv->list); in nft_bitmap_init() 279 list_for_each_entry_safe(be, n, &priv->list, head) in nft_bitmap_destroy()
|
H A D | nft_connlimit.c | 17 struct nf_conncount_list list; member 46 if (nf_conncount_add(nft_net(pkt), &priv->list, tuple_ptr, zone)) { in nft_connlimit_do_eval() 51 count = priv->list.count; in nft_connlimit_do_eval() 79 nf_conncount_list_init(&priv->list); in nft_connlimit_do_init() 90 nf_conncount_cache_free(&priv->list); in nft_connlimit_do_destroy() 203 nf_conncount_list_init(&priv_dst->list); in nft_connlimit_clone() 215 nf_conncount_cache_free(&priv->list); in nft_connlimit_destroy_clone() 224 ret = nf_conncount_gc_list(net, &priv->list); in nft_connlimit_gc()
|
H A D | xt_quota2.c | 14 #include <linux/list.h> 38 struct list_head list; member 136 size = anon ? offsetof(typeof(*e), list) : sizeof(*e); in q2_new_counter() 144 INIT_LIST_HEAD(&e->list); in q2_new_counter() 166 list_for_each_entry(e, "a2_net->counter_list, list) in q2_get_counter() 186 list_add_tail(&e->list, "a2_net->counter_list); in q2_get_counter() 235 list_del(&e->list); in quota_mt2_destroy() 320 e = list_entry(pos, struct xt_quota_counter, list); in quota2_net_exit()
|
/kernel/linux/linux-5.10/net/xfrm/ |
H A D | xfrm_ipcomp.c | 16 #include <linux/list.h> 28 struct list_head list; member 249 list_for_each_entry(pos, &ipcomp_tfms_list, list) { in ipcomp_free_tfms() 254 WARN_ON(list_entry_is_head(pos, &ipcomp_tfms_list, list)); in ipcomp_free_tfms() 259 list_del(&pos->list); in ipcomp_free_tfms() 279 list_for_each_entry(pos, &ipcomp_tfms_list, list) { in ipcomp_alloc_tfms() 296 INIT_LIST_HEAD(&pos->list); in ipcomp_alloc_tfms() 297 list_add(&pos->list, &ipcomp_tfms_list); in ipcomp_alloc_tfms()
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_bind.c | 26 const struct hda_device_id *list; in hda_codec_match() local 31 for (list = driver->id; list->vendor_id; list++) { in hda_codec_match() 32 if (list->vendor_id == id && in hda_codec_match() 33 (!list->rev_id || list->rev_id == rev_id)) { in hda_codec_match() 34 codec->preset = list; in hda_codec_match()
|
/kernel/linux/linux-5.10/security/smack/ |
H A D | smack.h | 20 #include <linux/list.h> 49 * is imported (e.g. xattrset on a file) the list is checked 67 struct list_head list; member 138 struct list_head list; member 148 struct list_head list; member 159 struct list_head list; member 170 struct list_head list; member 180 struct list_head list; member 300 void smk_destroy_label_list(struct list_head *list);
|
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | xattr.c | 90 static int fuse_verify_xattr_list(char *list, size_t size) in fuse_verify_xattr_list() argument 95 size_t thislen = strnlen(list, size); in fuse_verify_xattr_list() 101 list += thislen + 1; in fuse_verify_xattr_list() 107 ssize_t fuse_listxattr(struct dentry *entry, char *list, size_t size) in fuse_listxattr() argument 137 args.out_args[0].value = list; in fuse_listxattr() 146 ret = fuse_verify_xattr_list(list, ret); in fuse_listxattr() 245 .list = no_xattr_list, 253 .list = no_xattr_list,
|
/kernel/linux/linux-5.10/kernel/ |
H A D | fail_function.c | 27 struct list_head list; member 70 INIT_LIST_HEAD(&attr->list); in fei_attr_new() 87 list_for_each_entry(attr, &fei_attr_list, list) { in fei_attr_lookup() 99 list_for_each_entry(attr, &fei_attr_list, list) { in fei_attr_is_valid() 201 struct fei_attr *attr = list_entry(v, struct fei_attr, list); in fei_seq_show() 223 list_del(&attr->list); in fei_attr_remove() 231 list_for_each_entry_safe(attr, n, &fei_attr_list, list) { in fei_attr_remove_all() 303 list_add_tail(&attr->list, &fei_attr_list); in fei_write() 330 /* injectable attribute is just a symlink of error_inject/list */ in fei_debugfs_init() 331 debugfs_create_symlink("injectable", dir, "../error_injection/list"); in fei_debugfs_init() [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | tty_ldsem.c | 28 #include <linux/list.h> 50 struct list_head list; member 81 * Try to grant read locks to all readers on the read wait list. in __ldsem_wake_readers() 94 list_for_each_entry_safe(waiter, next, &sem->read_wait, list) { in __ldsem_wake_readers() 123 waiter = list_entry(sem->write_wait.next, struct ldsem_waiter, list); in __ldsem_wake_writer() 133 * - woken process blocks are discarded from the list after having task zeroed 180 list_add_tail(&waiter.list, &sem->read_wait); in down_read_failed() 215 list_del(&waiter.list); in down_read_failed() 253 list_add_tail(&waiter.list, &sem->write_wait); in down_write_failed() 272 list_del(&waiter.list); in down_write_failed() [all...] |
/kernel/linux/linux-6.6/drivers/clk/visconti/ |
H A D | pll.c | 297 const struct visconti_pll_info *list, in visconti_register_plls() 303 for (idx = 0; idx < nr_plls; idx++, list++) { in visconti_register_plls() 307 list->name, in visconti_register_plls() 308 list->parent, in visconti_register_plls() 309 list->base_reg, in visconti_register_plls() 310 list->rate_table, in visconti_register_plls() 313 pr_err("failed to register clock %s\n", list->name); in visconti_register_plls() 317 visconti_pll_add_lookup(ctx, clk, list->id); in visconti_register_plls() 296 visconti_register_plls(struct visconti_pll_provider *ctx, const struct visconti_pll_info *list, unsigned int nr_plls, spinlock_t *lock) visconti_register_plls() argument
|
/kernel/linux/linux-6.6/kernel/ |
H A D | fail_function.c | 27 struct list_head list; member 70 INIT_LIST_HEAD(&attr->list); in fei_attr_new() 87 list_for_each_entry(attr, &fei_attr_list, list) { in fei_attr_lookup() 99 list_for_each_entry(attr, &fei_attr_list, list) { in fei_attr_is_valid() 201 struct fei_attr *attr = list_entry(v, struct fei_attr, list); in fei_seq_show() 223 list_del(&attr->list); in fei_attr_remove() 231 list_for_each_entry_safe(attr, n, &fei_attr_list, list) { in fei_attr_remove_all() 299 list_add_tail(&attr->list, &fei_attr_list); in fei_write() 324 /* injectable attribute is just a symlink of error_inject/list */ in fei_debugfs_init() 325 debugfs_create_symlink("injectable", dir, "../error_injection/list"); in fei_debugfs_init() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_panel.c | 60 INIT_LIST_HEAD(&panel->list); in drm_panel_init() 79 list_add_tail(&panel->list, &panel_list); in drm_panel_add() 93 list_del_init(&panel->list); in drm_panel_remove() 130 list_for_each_entry(follower, &panel->followers, list) { in drm_panel_prepare() 171 list_for_each_entry(follower, &panel->followers, list) { in drm_panel_unprepare() 319 list_for_each_entry(panel, &panel_list, list) { in of_drm_find_panel() 438 list_add_tail(&follower->list, &panel->followers); in drm_panel_add_follower() 474 list_del_init(&follower->list); in drm_panel_remove_follower()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_so.c | 51 * @srf_head: List head for the surface-to-view list. 52 * @cotable_head: List head for the cotable-to_view list. 308 * @list: Caller's list of staged command buffer resource actions. 317 struct list_head *list) in vmw_view_add() 369 res, list); in vmw_view_add() 389 * @list: Caller's list of staged command buffer resource actions. 396 struct list_head *list, in vmw_view_remove() 406 list, res_ in vmw_view_remove() 310 vmw_view_add(struct vmw_cmdbuf_res_manager *man, struct vmw_resource *ctx, struct vmw_resource *srf, enum vmw_view_type view_type, u32 user_key, const void *cmd, size_t cmd_size, struct list_head *list) vmw_view_add() argument 394 vmw_view_remove(struct vmw_cmdbuf_res_manager *man, u32 user_key, enum vmw_view_type view_type, struct list_head *list, struct vmw_resource **res_p) vmw_view_remove() argument 421 vmw_view_cotable_list_destroy(struct vmw_private *dev_priv, struct list_head *list, bool readback) vmw_view_cotable_list_destroy() argument 442 vmw_view_surface_list_destroy(struct vmw_private *dev_priv, struct list_head *list) vmw_view_surface_list_destroy() argument [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-ps-service-time.c | 32 struct list_head list; member 67 list_for_each_entry_safe(pi, next, paths, list) { in free_paths() 68 list_del(&pi->list); in free_paths() 170 list_add_tail(&pi->list, &s->valid_paths); in st_add_path() 183 list_move(&pi->list, &s->failed_paths); in st_fail_path() 194 list_move_tail(&pi->list, &s->valid_paths); in st_reinstate_path() 288 list_for_each_entry(pi, &s->valid_paths, list) in st_select_path() 296 list_move_tail(&best->list, &s->valid_paths); in st_select_path()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nft_set_bitmap.c | 9 #include <linux/list.h> 46 struct list_head list; member 96 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_elem_find() 114 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_get() 142 list_add_tail_rcu(&new->head, &priv->list); in nft_bitmap_insert() 223 list_for_each_entry_rcu(be, &priv->list, head) { in nft_bitmap_walk() 268 INIT_LIST_HEAD(&priv->list); in nft_bitmap_init() 280 list_for_each_entry_safe(be, n, &priv->list, head) in nft_bitmap_destroy()
|
/kernel/linux/linux-6.6/security/smack/ |
H A D | smack.h | 20 #include <linux/list.h> 49 * is imported (e.g. xattrset on a file) the list is checked 67 struct list_head list; member 138 struct list_head list; member 148 struct list_head list; member 159 struct list_head list; member 170 struct list_head list; member 180 struct list_head list; member 291 void smk_destroy_label_list(struct list_head *list);
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_bind.c | 26 const struct hda_device_id *list; in hda_codec_match() local 31 for (list = driver->id; list->vendor_id; list++) { in hda_codec_match() 32 if (list->vendor_id == id && in hda_codec_match() 33 (!list->rev_id || list->rev_id == rev_id)) { in hda_codec_match() 34 codec->preset = list; in hda_codec_match()
|
/kernel/linux/linux-6.6/net/xfrm/ |
H A D | xfrm_ipcomp.c | 16 #include <linux/list.h> 28 struct list_head list; member 237 list_for_each_entry(pos, &ipcomp_tfms_list, list) { in ipcomp_free_tfms() 242 WARN_ON(list_entry_is_head(pos, &ipcomp_tfms_list, list)); in ipcomp_free_tfms() 247 list_del(&pos->list); in ipcomp_free_tfms() 267 list_for_each_entry(pos, &ipcomp_tfms_list, list) { in ipcomp_alloc_tfms() 284 INIT_LIST_HEAD(&pos->list); in ipcomp_alloc_tfms() 285 list_add(&pos->list, &ipcomp_tfms_list); in ipcomp_alloc_tfms()
|