| /linux/include/linux/ |
| H A D | list.h | 772 #define list_entry_is_head(pos, head, member) \ macro 783 !list_entry_is_head(pos, head, member); \ 794 !list_entry_is_head(pos, head, member); \ 819 !list_entry_is_head(pos, head, member); \ 833 !list_entry_is_head(pos, head, member); \ 845 for (; !list_entry_is_head(pos, head, member); \ 858 for (; !list_entry_is_head(pos, head, member); \ 871 !list_entry_is_head(pos, head, member); \ 887 !list_entry_is_head(pos, head, member); \ 902 !list_entry_is_head(pos, head, member); \ [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | mptcp_bpf.h | 23 #define list_entry_is_head(pos, head, member) \ macro 29 !list_entry_is_head(pos, head, member) && can_loop; \
|
| /linux/scripts/include/ |
| H A D | list.h | 275 #define list_entry_is_head(pos, head, member) \ macro 286 !list_entry_is_head(pos, head, member); \ 297 !list_entry_is_head(pos, head, member); \ 310 !list_entry_is_head(pos, head, member); \
|
| /linux/kernel/locking/ |
| H A D | ww_mutex.h | 14 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_first() 24 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_next() 34 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_prev() 46 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_last()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | devcom.c | 317 if (list_entry_is_head(pos, &comp->comp_dev_list_head, list)) in mlx5_devcom_send_event() 385 if (list_entry_is_head(tmp, &comp->comp_dev_list_head, list)) in mlx5_devcom_get_next_peer_data() 414 if (list_entry_is_head(tmp, &comp->comp_dev_list_head, list)) in mlx5_devcom_get_next_peer_data_rcu()
|
| /linux/fs/xfs/ |
| H A D | xfs_extent_busy.c | 583 } while (!list_entry_is_head(busyp, list, list) && in xfs_extent_busy_clear() 592 } while (!list_entry_is_head(busyp, list, list)); in xfs_extent_busy_clear()
|
| /linux/scripts/coccinelle/iterators/ |
| H A D | use_after_iter.cocci | 126 list_entry_is_head(c,...)
|
| /linux/mm/ |
| H A D | page_reporting.c | 251 if (!list_entry_is_head(next, list, lru) && !list_is_first(&next->lru, list)) in page_reporting_cycle()
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_context.c | 451 while (!list_entry_is_head(ctx, &pvr_file->contexts, file_link)) { in pvr_destroy_contexts_for_file()
|
| /linux/drivers/acpi/riscv/ |
| H A D | irq.c | 162 if (!list_entry_is_head(prev, &ext_intc_list, list)) { in riscv_acpi_register_ext_intc()
|
| /linux/lib/tests/ |
| H A D | list-test.c | 571 list_entry_is_head((&test_struct1), &test_struct1.list, list), in list_test_list_entry_is_head() 574 list_entry_is_head((&test_struct2), &test_struct1.list, list), in list_test_list_entry_is_head() 577 list_entry_is_head((&test_struct3), &test_struct1.list, list), in list_test_list_entry_is_head()
|
| /linux/kernel/debug/kdb/ |
| H A D | kdb_main.c | 768 if (list_entry_is_head(kp, &kdb_cmds_head, list_node)) { in kdb_exec_defcmd() 1004 if (list_entry_is_head(tp, &kdb_cmds_head, list_node)) { in kdb_parse() 1011 if (!list_entry_is_head(tp, &kdb_cmds_head, list_node)) { in kdb_parse()
|
| /linux/net/9p/ |
| H A D | trans_xen.c | 130 if (list_entry_is_head(priv, &xen_9pfs_devs, list)) in p9_xen_request()
|
| /linux/security/apparmor/ |
| H A D | apparmorfs.c | 2114 if (!list_entry_is_head(next, &parent->sub_ns, base.list)) { in __next_ns() 2173 if (!list_entry_is_head(p, &parent->base.profiles, base.list)) in __next_profile() 2182 if (!list_entry_is_head(p, &ns->base.profiles, base.list)) in __next_profile()
|
| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-fileops.c | 374 if (list_entry_is_head(mdl->curr_buf, &mdl->buf_list, list)) { in cx18_copy_mdl_to_user()
|
| H A D | cx18-ioctl.c | 775 if (list_entry_is_head(mdl->curr_buf, &mdl->buf_list, list)) { in cx18_process_idx_data()
|
| /linux/sound/soc/sprd/ |
| H A D | sprd-mcdt.c | 880 if (list_entry_is_head(temp, &sprd_mcdt_chan_list, list)) in sprd_mcdt_request_chan()
|
| /linux/fs/smb/client/ |
| H A D | sess.c | 251 if (list_entry_is_head(iface, &ses->iface_list, iface_head)) { in cifs_try_adding_channels() 401 if (list_entry_is_head(iface, &ses->iface_list, iface_head)) { in cifs_chan_update_iface()
|
| /linux/sound/soc/intel/avs/ |
| H A D | pcm.c | 818 if (list_entry_is_head(pos, &bus->stream_list, list) && in avs_hda_stream_start() 854 if (list_entry_is_head(pos, &bus->stream_list, list) && in avs_hda_stream_stop()
|
| /linux/net/ipv4/ |
| H A D | udp_tunnel_nic.c | 878 if (list_entry_is_head(node, &info->shared->devices, list)) { in udp_tunnel_nic_unregister()
|
| /linux/drivers/power/supply/ |
| H A D | cpcap-battery.c | 884 if (list_entry_is_head(d, &ddata->irq_list, node)) in cpcap_battery_irq_thread()
|
| /linux/sound/soc/intel/catpt/ |
| H A D | pcm.c | 362 if (list_entry_is_head(pos, &component->card->snd_card->controls, list)) in catpt_dai_apply_usettings()
|
| /linux/net/tipc/ |
| H A D | name_table.c | 970 if (list_entry_is_head(p, &sr->all_publ, all_publ)) in __tipc_nl_add_nametable_publ()
|
| /linux/fs/btrfs/ |
| H A D | tree-log.c | 6519 while (!list_entry_is_head(curr, delayed_ins_list, log_list)) { in log_delayed_insertion_items() 6570 while (!list_entry_is_head(curr, delayed_del_list, log_list)) { in log_delayed_deletions_full() 6582 while (!list_entry_is_head(next, delayed_del_list, log_list)) { in log_delayed_deletions_full() 6618 !list_entry_is_head(next, delayed_del_list, log_list)) { in batch_delete_dir_index_items() 6653 while (!list_entry_is_head(curr, delayed_del_list, log_list)) { in log_delayed_deletions_incremental()
|
| /linux/fs/ |
| H A D | super.c | 913 !list_entry_is_head(sb, &super_blocks, s_list); in __iterate_supers()
|