/kernel/linux/linux-6.6/drivers/media/platform/ti/cal/ |
H A D | cal-video.c | 652 list_add_tail(&buf->list, &ctx->dma.queue); in cal_buffer_queue() 664 list_for_each_entry_safe(buf, tmp, &ctx->dma.queue, list) { in cal_release_buffers() 665 list_del(&buf->list); in cal_release_buffers() 751 buf = list_first_entry(&ctx->dma.queue, struct cal_buffer, list); in cal_start_streaming() 753 list_del(&buf->list); in cal_start_streaming()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | sm501.c | 15 #include <linux/list.h> 31 struct list_head list; member 749 list_add_tail(&smdev->list, &sm->devices); in sm501_register_device() 1642 list_del(&smdev->list); in sm501_remove_sub() 1650 list_for_each_entry_safe(smdev, tmp, &sm->devices, list) in sm501_dev_remove()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc_flower.c | 32 struct list_head list; /* for insertion in the list of templates */ member 1063 list_for_each_entry(ftp, &port->tc_templates, list) { in sparx5_tc_flower_use_template() 1418 list_add_tail(&ftp->list, &port->tc_templates); in sparx5_tc_flower_template_create() 1438 list_for_each_entry_safe(ftp, tmp, &port->tc_templates, list) { in sparx5_tc_flower_template_destroy() 1446 list_del(&ftp->list); in sparx5_tc_flower_template_destroy()
|
/kernel/linux/linux-6.6/drivers/base/ |
H A D | bus.c | 52 * the external struct bus_type pointer. This function walks the list of 70 if (list_empty(&bus_kset->list)) in bus_to_subsys() 73 list_for_each_entry(kobj, &bus_kset->list, entry) { in bus_to_subsys() 342 * Iterate over @bus's list of devices, and call @fn for each, 435 * of the list. 470 * - Add the device to its bus's list of devices. 548 * - Delete device from bus's list. 718 * it from its bus's list of drivers. Finally, we drop the reference 1010 * holding the lock for the list, so objects can't otherwise be 1013 static void device_insertion_sort_klist(struct device *a, struct list_head *list, in device_insertion_sort_klist() argument [all...] |
/kernel/linux/linux-6.6/drivers/auxdisplay/ |
H A D | panel.c | 28 * - make the inputs list smp-safe 53 #include <linux/list.h> 141 struct list_head list; member 164 static LIST_HEAD(logical_inputs); /* list of all defined logical inputs */ 1302 list_for_each_entry(input, &logical_inputs, list) { in panel_process_inputs() 1456 list_add(&key->list, &logical_inputs); in panel_bind_key() 1492 list_add(&callback->list, &logical_inputs);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | acpi.h | 29 #include <linux/list.h> 495 void acpi_dev_free_resource_list(struct list_head *list); 496 int acpi_dev_get_resources(struct acpi_device *adev, struct list_head *list, 500 struct list_head *list); 501 int acpi_dev_get_memory_resources(struct acpi_device *adev, struct list_head *list); 539 struct acpi_buffer cap; /* list of DWORD capabilities */
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | quota_global.c | 701 struct llist_node *list; in ocfs2_drop_dquot_refs() local 704 list = llist_del_all(&osb->dquot_drop_list); in ocfs2_drop_dquot_refs() 705 llist_for_each_entry_safe(odquot, next_odquot, list, list) { in ocfs2_drop_dquot_refs() 741 /* First entry on list -> queue work */ in ocfs2_release_dquot() 742 if (llist_add(&OCFS2_DQUOT(dquot)->list, &osb->dquot_drop_list)) in ocfs2_release_dquot()
|
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | grant-table.c | 78 * Free grants are in a simple list anchored in gnttab_free_head. They are 85 * the free list. 121 * Mapping a list of frames for storing grant entries. Frames parameter 128 * Release a list of frames which are mapped in map_frames for grant 224 /* Rebuilds the free grant list and tries to find count consecutive entries. */ 249 * Recreate the free list in order to have it properly sorted. in get_free_seq() 492 struct list_head list; member 518 struct deferred_entry, list); in gnttab_handle_deferred() 522 list_del(&entry->list); in gnttab_handle_deferred() 543 list_add_tail(&entry->list, in gnttab_handle_deferred() [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_client.c | 937 char *list, size_t o_size, ssize_t *ret) in hmdfs_update_listxattr_ret() 948 memcpy(list, resp->list, size); in hmdfs_update_listxattr_ret() 954 char *list, size_t size) in hmdfs_send_listxattr() 980 hmdfs_update_listxattr_ret(sm.out_buf, list, size, &ret); in hmdfs_send_listxattr() 936 hmdfs_update_listxattr_ret(struct listxattr_response *resp, char *list, size_t o_size, ssize_t *ret) hmdfs_update_listxattr_ret() argument 953 hmdfs_send_listxattr(struct hmdfs_peer *con, const char *send_buf, char *list, size_t size) hmdfs_send_listxattr() argument
|
/kernel/linux/linux-6.6/include/net/ |
H A D | devlink.h | 13 #include <linux/list.h> 102 struct list_head list; member 123 struct list_head list; member 183 * @types_get: callback to get next type in list 346 struct list_head list; member 492 struct list_head list; member
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_icache.c | 365 * trouble. Try to re-add it to the reclaim list. 448 if (!llist_empty(&gc->list)) { in xfs_inodegc_queue_all() 1846 struct llist_node *node = llist_del_all(&gc->list); in xfs_inodegc_worker() 2078 llist_add(&ip->i_gclist, &gc->list); in xfs_inodegc_queue() 2084 * Ensure the list add is always seen by anyone who finds the cpumask in xfs_inodegc_queue() 2178 if (!llist_empty(&gc->list)) in xfs_inodegc_shrinker_count() 2203 if (!llist_empty(&gc->list)) { in xfs_inodegc_shrinker_scan()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | vmw_pvscsi.c | 60 struct list_head list; member 175 ctx = list_first_entry(&adapter->cmd_pool, struct pvscsi_ctx, list); in pvscsi_acquire_context() 177 list_del(&ctx->list); in pvscsi_acquire_context() 187 list_add(&ctx->list, &adapter->cmd_pool); in pvscsi_release_context() 345 * setup the scatter/gather list if needed. 387 * In case there is no S/G list, scsi_sglist points in pvscsi_map_buffers() 1263 * just use a statically allocated scatter list. 1491 list_add(&ctx->list, &adapter->cmd_pool); in pvscsi_probe()
|
/kernel/linux/linux-6.6/drivers/scsi/cxlflash/ |
H A D | vlun.c | 725 * on the error recovery list. 842 list_for_each_entry_safe(lli, temp, &cfg->lluns, list) { in cxlflash_restore_luntable() 1246 /* Clone LUN access list */ in cxlflash_disk_clone() 1247 list_for_each_entry(lun_access_src, &ctxi_src->luns, list) { in cxlflash_disk_clone() 1249 list_for_each_entry(lun_access_dst, &ctxi_dst->luns, list) in cxlflash_disk_clone() 1266 list_add(&lun_access_dst->list, &sidecar); in cxlflash_disk_clone() 1334 list_for_each_entry_safe(lun_access_src, lun_access_dst, &sidecar, list) in cxlflash_disk_clone()
|
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_tmpl.c | 827 typeof(*qla27xx_fwdt_entry_call) *list = qla27xx_fwdt_entry_call; in qla27xx_find_entry() 829 while (list->type < type) in qla27xx_find_entry() 830 list++; in qla27xx_find_entry() 832 if (list->type == type) in qla27xx_find_entry() 833 return list->call; in qla27xx_find_entry()
|
/kernel/linux/linux-6.6/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 155 list_for_each_entry_safe(node, tmp, head, list) { in cros_typec_unregister_altmodes() 156 list_del(&node->list); in cros_typec_unregister_altmodes() 422 list_for_each_entry(node, head, list) { in cros_typec_get_cable_vdo() 747 list_add_tail(&node->list, &port->partner_mode_list); in cros_typec_register_altmodes() 749 list_add_tail(&node->list, &port->plug_mode_list); in cros_typec_register_altmodes()
|
/kernel/linux/linux-6.6/drivers/vdpa/ |
H A D | vdpa.c | 342 INIT_LIST_HEAD(&mdev->list); in vdpa_mgmtdev_register() 344 list_add_tail(&mdev->list, &mdev_head); in vdpa_mgmtdev_register() 364 list_del(&mdev->list); in vdpa_mgmtdev_unregister() 451 list_for_each_entry(mdev, &mdev_head, list) { in vdpa_mgmtdev_get_from_attr() 564 list_for_each_entry(mdev, &mdev_head, list) { in vdpa_nl_cmd_mgmtdev_get_dumpit()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | btrtl.c | 442 subsec = list_entry(pos, struct rtl_subsection, list); in btrtl_insert_ordered_subsec() 446 __list_add(&node->list, pos->prev, pos); in btrtl_insert_ordered_subsec() 600 list_for_each_entry_safe(entry, tmp, &btrtl_dev->patch_subsecs, list) { in rtlbt_parse_firmware_v2() 1028 list_for_each_entry_safe(entry, tmp, &btrtl_dev->patch_subsecs, list) { in btrtl_free() 1029 list_del(&entry->list); in btrtl_free()
|
H A D | hci_bcm.c | 71 * @list: bcm_device_list node 115 struct list_head list; member 240 struct bcm_device *dev = list_entry(p, struct bcm_device, list); in bcm_device_exists() 471 struct bcm_device *dev = list_entry(p, struct bcm_device, list); in bcm_open() 1284 /* Place this instance on the device list */ in bcm_probe() 1286 list_add_tail(&dev->list, &bcm_device_list); in bcm_probe() 1301 list_del(&dev->list); in bcm_remove()
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | pcm.h | 282 const unsigned int *list; member 469 struct list_head link_list; /* linked list member */ 516 struct list_head list; member 555 struct list_head list; member 1038 const unsigned int *list, unsigned int mask); 1040 const struct snd_interval *list, unsigned int mask);
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | mpc512x_dma.c | 251 * b) mchan->active list is empty, 252 * c) mchan->queued list contains at least one entry. 269 * within the same 'active' list. in mpc_dma_execute() 383 LIST_HEAD(list); in mpc_dma_process_completed() 392 list_splice_tail_init(&mchan->completed, &list); in mpc_dma_process_completed() 395 if (list_empty(&list)) in mpc_dma_process_completed() 399 list_for_each_entry(mdesc, &list, node) { in mpc_dma_process_completed() 410 list_splice_tail_init(&list, &mchan->free); in mpc_dma_process_completed() 666 /* Place descriptor in prepared list */ in mpc_dma_prep_memcpy() 793 /* Place descriptor in prepared list */ in mpc_dma_prep_slave_sg() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | omap-des.c | 128 struct list_head list; member 311 list_for_each_entry(tmp, &dev_list, list) { in omap_des_find_dev() 1021 INIT_LIST_HEAD(&dd->list); in omap_des_probe() 1023 list_add_tail(&dd->list, &dev_list); in omap_des_probe() 1081 list_del(&dd->list); in omap_des_remove()
|
/kernel/linux/linux-6.6/drivers/firewire/ |
H A D | core-transaction.c | 19 #include <linux/list.h> 379 * the list while holding the card spinlock. in __fw_send_request() 527 struct list_head *list, unsigned long long offset, size_t length) in lookup_overlapping_address_handler() 531 list_for_each_entry_rcu(handler, list, link) { in lookup_overlapping_address_handler() 548 struct list_head *list, unsigned long long offset, size_t length) in lookup_enclosing_address_handler() 552 list_for_each_entry_rcu(handler, list, link) { in lookup_enclosing_address_handler() 526 lookup_overlapping_address_handler( struct list_head *list, unsigned long long offset, size_t length) lookup_overlapping_address_handler() argument 547 lookup_enclosing_address_handler( struct list_head *list, unsigned long long offset, size_t length) lookup_enclosing_address_handler() argument
|
H A D | sbp2.c | 30 #include <linux/list.h> 517 struct list_head list; in sbp2_cancel_orbs() local 520 INIT_LIST_HEAD(&list); in sbp2_cancel_orbs() 522 list_splice_init(&lu->orb_list, &list); in sbp2_cancel_orbs() 525 list_for_each_entry_safe(orb, next, &list, link) { in sbp2_cancel_orbs() 1395 * the scatter list by converting it to an immediate block in sbp2_map_scatterlist()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_device.c | 1031 INIT_LIST_HEAD(&oct->dispatch.dlist[i].list); in octeon_init_dispatch_list() 1055 dispatch = &oct->dispatch.dlist[i].list; in octeon_delete_dispatch_list() 1102 &octeon_dev->dispatch.dlist[idx].list) { in octeon_get_dispatch() 1166 "Adding opcode to dispatch list linked list\n"); in octeon_register_dispatch_fn() 1175 /* Add dispatch function to linked list of fn ptrs in octeon_register_dispatch_fn() 1179 list_add(&dispatch->list, &oct->dispatch.dlist[idx].list); in octeon_register_dispatch_fn()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mlx4.h | 19 * copyright notice, this list of conditions and the following 23 * copyright notice, this list of conditions and the following 386 struct list_head list; member 389 /* lock on completion tasklet list */ 463 struct list_head list; member 468 struct list_head list; member 473 struct list_head list; member 741 struct list_head list; member
|