/kernel/linux/linux-5.10/drivers/block/null_blk/ |
H A D | main.c | 1581 list_del_init(&nullb->list); in null_del_dev() 1905 list_add_tail(&nullb->list, &nullb_list); in null_add_dev() 2000 nullb = list_entry(nullb_list.next, struct nullb, list); in null_init() 2026 nullb = list_entry(nullb_list.next, struct nullb, list); in null_exit()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | cpufreq.c | 88 * Two notifier lists: the "policy" list is involved in the 90 * "transition" list for kernel code that needs to handle 1282 /* Remove policy from list */ in cpufreq_policy_free() 1984 * @list: CPUFREQ_TRANSITION_NOTIFIER or CPUFREQ_POLICY_NOTIFIER 1986 * Add a driver to one of two lists: either a list of drivers that 1988 * the transition), or a list of drivers that are notified about 1994 int cpufreq_register_notifier(struct notifier_block *nb, unsigned int list) in cpufreq_register_notifier() argument 2001 switch (list) { in cpufreq_register_notifier() 2031 * @list: CPUFREQ_TRANSITION_NOTIFIER or CPUFREQ_POLICY_NOTIFIER 2033 * Remove a driver from the CPU frequency notifier list 2038 cpufreq_unregister_notifier(struct notifier_block *nb, unsigned int list) cpufreq_unregister_notifier() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdcore.c | 602 * Add a device to the list of MTD devices present in the system, and 723 list_for_each_entry(not, &mtd_notifiers, list) in add_mtd_device() 748 * Remove a device from the list of MTD devices present in the system, 751 * if the requested device does not appear to be present in the list. 768 list_for_each_entry(not, &mtd_notifiers, list) in del_mtd_device() 819 * @types: the list of MTD partition probes to try, see 834 * specified in @types (if @types is %NULL, then the default list of parsers 936 list_add(&new->list, &mtd_notifiers); in register_mtd_user() 951 * Removes a callback function pair from the list of 'users' to be 967 list_del(&old->list); in unregister_mtd_user() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/ |
H A D | 3c515.c | 296 struct list_head list; member 352 { } /* terminate list */ 406 /* A list of all installed Vortex devices, for removing the driver module. */ 461 list_del_init(&vp->list); in cleanup_card() 609 list_add(&vp->list, &root_corkscrew_dev); in corkscrew_setup() 967 pr_debug(" Down list %8.8x vs. %p.\n", inl(ioaddr + DownListPtr), in corkscrew_timeout() 1558 struct corkscrew_private, list); in cleanup_module()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-cache-metadata.c | 105 struct list_head list; member 789 * We keep a little list of ref counted metadata objects to prevent two 800 list_for_each_entry(cmd, &table, list) in lookup() 835 list_add(&cmd->list, &table); in lookup_or_open() 875 list_del(&cmd->list); in dm_cache_metadata_close()
|
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/ |
H A D | hfcsusb.c | 1777 list_del(&hw->list); in release_hw() 1871 list_add(&hw->bch[i].ch.list, &hw->dch.dev.bchannels); in setup_instance() 1898 list_add_tail(&hw->list, &HFClist); in setup_instance() 2132 list_for_each_entry_safe(hw, next, &HFClist, list) in hfcsusb_disconnect()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_context.c | 61 * on the active list waiting for the next context switch to occur. Until this 356 static void contexts_free_all(struct llist_node *list) in contexts_free_all() argument 360 llist_for_each_entry_safe(ctx, cn, list, free_link) in contexts_free_all() 462 * (and onto a new timeline->requests list). in active_engine() 898 INIT_LIST_HEAD(&gc->list); in init_contexts() 944 list_add_tail(&ctx->link, &i915->gem.contexts.list); in gem_context_register()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | ipsec.c | 15 * copyright notice, this list of conditions and the following 19 * copyright notice, this list of conditions and the following 59 struct list_head list; /* Item in pending_cmds */ member 196 list); in mlx5_fpga_ipsec_recv() 198 list_del(&context->list); in mlx5_fpga_ipsec_recv() 248 list_add_tail(&context->list, &fdev->ipsec->pending_cmds); in mlx5_fpga_ipsec_cmd_exec()
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
H A D | phy_device.c | 320 * phy_register_fixup - creates a new phy_fixup and adds it to the list 342 list_add_tail(&fixup->list, &phy_fixup_list); in phy_register_fixup() 366 * phy_unregister_fixup - remove a phy_fixup from the list 381 fixup = list_entry(pos, struct phy_fixup, list); in phy_unregister_fixup() 386 list_del(&fixup->list); in phy_unregister_fixup() 435 list_for_each_entry(fixup, &phy_fixup_list, list) { in phy_scan_fixups() 1021 /* Search the list of PHY devices on the mdio bus for the in phy_connect() 1455 /* Search the list of PHY devices on the mdio bus for the in phy_attach()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 944 /* remove flow_node from the L2 shared flow list */ in bnxt_tc_put_l2_node() 1188 /* remove flow_node from the decap L2 sharing flow list */ in bnxt_tc_put_decap_l2_node() 1873 list_for_each_entry(cb_priv, &bp->tc_indr_block_list, list) in bnxt_tc_indr_block_cb_lookup() 1884 list_del(&priv->list); in bnxt_tc_setup_indr_rel() 1906 list_add(&cb_priv->list, &bp->tc_indr_block_list); in bnxt_tc_setup_indr_block() 1913 list_del(&cb_priv->list); in bnxt_tc_setup_indr_block()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4.h | 17 * copyright notice, this list of conditions and the following 21 * copyright notice, this list of conditions and the following 43 #include <linux/list.h> 406 unsigned int niqflint; /* N ingress Qs/w free list(s) & intr */ 746 unsigned int cntxt_id; /* SGE context id for the free list */ 747 unsigned int size; /* capacity of free list */ 755 /* A packet gather list */ 773 struct sk_buff_head lroq; /* list of aggregated sessions */ 884 struct sk_buff_head sendq; /* list of backpressured packets */ 894 struct sk_buff_head sendq; /* list o 1041 struct list_head list; global() member 1078 struct list_head list; global() member 1090 struct list_head list; global() member [all...] |
/kernel/linux/linux-5.10/drivers/phy/tegra/ |
H A D | xusb-tegra210.c | 889 INIT_LIST_HEAD(&usb2->base.list); in tegra210_usb2_lane_probe() 1354 INIT_LIST_HEAD(&hsic->base.list); in tegra210_hsic_lane_probe() 1613 INIT_LIST_HEAD(&pcie->base.list); in tegra210_pcie_lane_probe() 1784 INIT_LIST_HEAD(&sata->base.list); in tegra210_sata_lane_probe()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | scsi_transport_sas.c | 1420 INIT_LIST_HEAD(&rphy->list); in sas_rphy_initialize() 1530 list_add_tail(&rphy->list, &sas_host->rphy_list); in sas_rphy_add() 1574 list_del(&rphy->list); in sas_rphy_free() 1667 list_for_each_entry(rphy, &sas_host->rphy_list, list) { in sas_user_scan()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_api.c | 24 #include <linux/list.h> 115 /* Protects list of registered TC modules. It is pure SMP lock. */ 124 /* The list of all installed queueing disciplines. */ 507 list_for_each_entry(stab, &qdisc_stab_list, list) { in qdisc_get_stab() 531 list_add_tail(&stab->list, &qdisc_stab_list); in qdisc_get_stab() 542 list_del(&tab->list); in qdisc_put_stab()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | syscalls.h | 76 #include <linux/list.h> 102 * pairs given. Note that this list of pairs (i.e. the arguments 362 asmlinkage long sys_listxattr(const char __user *path, char __user *list, 364 asmlinkage long sys_llistxattr(const char __user *path, char __user *list, 366 asmlinkage long sys_flistxattr(int fd, char __user *list, size_t size);
|
H A D | pci.h | 32 #include <linux/list.h> 71 struct list_head list; /* Node in list of slots */ member 165 /* Remember to update this when the list above changes! */ 312 struct list_head bus_list; /* Node in per-bus list */ 534 struct list_head dma_ranges; /* dma ranges resource list */ 588 * buses below host bridges or subtractive decode bridges) go in the list. 601 struct list_head list; member 609 struct list_head node; /* Node in list of buses */ 765 spinlock_t lock; /* Protects list, inde 766 struct list_head list; /* For IDs added at runtime */ global() member [all...] |
/kernel/linux/linux-5.10/sound/pci/ctxfi/ |
H A D | ctatc.c | 1261 const struct snd_pci_quirk *list; in atc_identify_card() local 1267 list = subsys_20k1_list; in atc_identify_card() 1271 list = subsys_20k2_list; in atc_identify_card() 1283 p = snd_pci_quirk_lookup_id(vendor_id, device_id, list); in atc_identify_card()
|
/kernel/linux/linux-5.10/sound/usb/ |
H A D | quirks.c | 145 INIT_LIST_HEAD(&fp->list); in create_fixed_stream_quirk() 189 list_del(&fp->list); /* unlink for avoiding double-free */ in create_fixed_stream_quirk() 473 INIT_LIST_HEAD(&fp->list); in create_uaxx_quirk() 497 list_del(&fp->list); /* unlink for avoiding double-free */ in create_uaxx_quirk() 1328 /* if more models come, this will go to the quirk list. */ in snd_usb_apply_boot_quirk()
|
/kernel/linux/linux-5.10/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 343 PyObject *obj = NULL, *list = NULL; in get_field_numeric_entry() local 348 list = PyList_New(field->arraylen); in get_field_numeric_entry() 373 PyList_SET_ITEM(list, i, obj); in get_field_numeric_entry() 376 obj = list; in get_field_numeric_entry() 402 Py_FatalError("couldn't create Python list"); in python_process_callchain() 473 Py_FatalError("couldn't create Python list"); in python_process_brstack() 573 Py_FatalError("couldn't create Python list"); in python_process_brstacksym() 661 Py_FatalError("couldn't create Python list"); in set_sample_read_in_dict() 1739 fprintf(ofp, "# See the perf-script-python Documentation for the list " in python_generate_script()
|
/kernel/linux/linux-5.10/fs/ |
H A D | locks.c | 16 * Converted file_lock_table to a linked list from an array, which eliminates 28 * Scrapped free list which is redundant now that we allocate locks 73 * Tidied up block list handling. Added '/proc/locks' interface. 90 * Changed FL_POSIX locks to use the block list in the same way as FL_FLOCK 95 * Made the block list a circular list to minimise searching in the list. 109 * Use generic list implementation from <linux/list.h>. 202 * keep a list o 281 locks_dump_ctx_list(struct list_head *list, char *list_type) locks_dump_ctx_list() argument 308 locks_check_ctx_file_list(struct file *filp, struct list_head *list, char *list_type) locks_check_ctx_file_list() argument [all...] |
H A D | fs-writeback.c | 54 struct list_head list; /* pending work list */ member 109 * inode_io_list_move_locked - move an inode onto a bdi_writeback IO list 114 * Move @inode->i_io_list to @list of @wb and set %WB_has_dirty_io. 135 * inode_io_list_del_locked - remove an inode from its bdi_writeback IO list 188 list_add_tail(&work->list, &wb->work_list); in wb_queue_work() 379 * including IO list manipulations and stat updates. in inode_switch_wbs_work_fn() 422 * Transfer to @new_wb's IO list if necessary. The specific list in inode_switch_wbs_work_fn() 1128 * Remove the inode from the writeback list i [all...] |
/kernel/linux/linux-5.10/drivers/virtio/ |
H A D | virtio_ring.c | 76 u16 num; /* Descriptor list length. */ 77 u16 next; /* The next desc state in a list. */ 78 u16 last; /* The last desc state in a list. */ 108 /* Head of free buffer list. */ 527 /* We're using some buffers from the free list. */ in virtqueue_add_split() 629 /* Put back on free list: unmap first-level descriptors and find end */ in detach_buf_split() 1045 * A driver MUST NOT make the first descriptor in the list in virtqueue_add_indirect_packed() 1047 * the list are made available. in virtqueue_add_indirect_packed() 1053 /* We're using some buffers from the free list. */ in virtqueue_add_indirect_packed() 1196 /* We're using some buffers from the free list in virtqueue_add_packed() [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | hci_sock.c | 663 list_for_each_entry(hdev, &hci_dev_list, list) { in send_monitor_replay() 790 list_for_each_entry(c, &mgmt_chan_list, list) { in __hci_mgmt_chan_find() 820 list_add_tail(&c->list, &mgmt_chan_list); in hci_mgmt_chan_register() 831 list_del(&c->list); in hci_mgmt_chan_unregister()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | sock_map.c | 12 #include <linux/list.h> 142 list_add_tail(&link->list, &psock->link); in sock_map_add_link() 153 list_for_each_entry_safe(link, tmp, &psock->link, list) { in sock_map_del_link() 162 list_del(&link->list); in sock_map_del_link() 1052 /* Add new element to the head of the list, so that in sock_hash_update_common() 1192 * the list is still linked to sockhash. Since link in sock_hash_free()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 271 struct list_head list; member 314 list); in sb_dequeue() 315 list_del(&sb->list); in sb_dequeue() 374 list_add_tail(&sb->list, &ms->sync_queue); in sb_queue_tail()
|