/linux-6.15/drivers/power/sequencing/ |
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/list.h> 22 #include <linux/radix-tree.h> 27 * Power-sequencing framework for linux. 30 * that consumers may request and power-up/down. 34 * Unit - a unit is a discreet chunk of a power sequence. For instance one unit 39 * Target - a target is a set of units (composed of the "final" unit and its 45 * Descriptor - a handle passed by the pwrseq core to every consumer that 51 * This allows creating abstraction layers on top of regular device-tree 59 * Protects the device list on the pwrseq bus from concurrent modifications [all …]
|
/linux-6.15/drivers/net/wireless/ath/ath6kl/ |
D | htc_pipe.c | 2 * Copyright (c) 2007-2011 Atheros Communications Inc. 19 #include "hif-ops.h" 31 if (packet->info.tx.flags & HTC_FLAGS_TX_FIXUP_NETBUF) { in restore_tx_packet() 32 skb_pull(packet->skb, sizeof(struct htc_frame_hdr)); in restore_tx_packet() 33 packet->info.tx.flags &= ~HTC_FLAGS_TX_FIXUP_NETBUF; in restore_tx_packet() 47 if (ep->ep_cb.tx_comp_multi != NULL) { in do_send_completion() 50 __func__, ep->eid, in do_send_completion() 56 ep->ep_cb.tx_comp_multi(ep->target, queue_to_indicate); in do_send_completion() 66 struct htc_packet, list); in do_send_completion() 68 list_del(&packet->list); in do_send_completion() [all …]
|
D | htc_mbox.c | 2 * Copyright (c) 2007-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 21 #include "hif-ops.h" 26 #define CALC_TXRX_PADDED_LEN(dev, len) (__ALIGN_MASK((len), (dev)->block_mask)) 28 static void ath6kl_htc_mbox_cleanup(struct htc_target *target); 29 static void ath6kl_htc_mbox_stop(struct htc_target *target); 30 static int ath6kl_htc_mbox_add_rxbuf_multiple(struct htc_target *target, 32 static void ath6kl_htc_set_credit_dist(struct htc_target *target, 36 /* threshold to re-enable Tx bundling for an AC*/ 45 ep_dist->endpoint, credits); in ath6kl_credit_deposit() [all …]
|
/linux-6.15/Documentation/power/ |
D | pm_qos_interface.rst | 11 * The per-device PM QoS framework provides the API to manage the 12 per-device latency constraints and PM QoS flags. 20 A global list of CPU latency QoS requests is maintained along with an aggregated 21 (effective) target value. The aggregated target value is updated with changes 22 to the request list or elements of the list. For CPU latency QoS, the 23 aggregated target value is simply the min of the request values held in the list 26 Note: the aggregated target value is implemented as an atomic variable so that 32 Will insert an element into the CPU latency QoS list with the target value. 33 Upon change to this list the new target is recomputed and any registered 34 notifiers are called only if the target value is now different. [all …]
|
/linux-6.15/Documentation/ABI/stable/ |
D | sysfs-driver-ib_srp | 1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target 4 Contact: linux-rdma@vger.kernel.org 5 Description: Interface for making ib_srp connect to a new target. 6 One can request ib_srp to connect to a new target by writing 7 a comma-separated list of login parameters to this sysfs 10 * id_ext, a 16-digit hexadecimal number specifying the eight 11 byte identifier extension in the 16-byte SRP target port 12 identifier. The target port identifier is sent by ib_srp 13 to the target in the SRP_LOGIN_REQ request. 14 * ioc_guid, a 16-digit hexadecimal number specifying the eight [all …]
|
/linux-6.15/drivers/scsi/arm/ |
D | queue.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1997-2000 Russell King 8 * 15-Sep-1997 RMK Created. 9 * 11-Oct-1997 RMK Corrected problem with queue_remove_exclude 10 * not updating internal linked list properly 12 * 30-Aug-2000 RMK Use Linux list handling and spinlocks 20 #include <linux/list.h> 32 struct list_head list; member 43 #define SET_MAGIC(q,m) ((q)->magic = (m)) 44 #define BAD_MAGIC(q,m) ((q)->magic != (m)) [all …]
|
/linux-6.15/drivers/char/agp/ |
D | isoch.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/list.h> 17 struct list_head list; member 25 struct agp_3_5_dev *cur, *n = list_entry(new, struct agp_3_5_dev, list); in agp_3_5_dev_list_insert() 29 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_dev_list_insert() 30 if (cur->maxbw > n->maxbw) in agp_3_5_dev_list_insert() 36 static void agp_3_5_dev_list_sort(struct agp_3_5_dev *list, unsigned int ndevs) in agp_3_5_dev_list_sort() argument 40 struct list_head *pos, *tmp, *head = &list->list, *start = head->next; in agp_3_5_dev_list_sort() 46 cur = list_entry(pos, struct agp_3_5_dev, list); in agp_3_5_dev_list_sort() 47 dev = cur->dev; in agp_3_5_dev_list_sort() [all …]
|
/linux-6.15/fs/ocfs2/dlm/ |
D | dlmthread.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 /* will exit holding res->spinlock, but may drop in function */ 41 /* waits until flags are cleared on res->state */ 46 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags() 48 add_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() 51 if (res->state & flags) { in __dlm_wait_on_lockres_flags() 52 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags() 54 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags() 57 remove_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() 63 if (list_empty(&res->granted) && in __dlm_lockres_has_locks() [all …]
|
/linux-6.15/include/linux/ |
D | damon.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 /* Max priority score for DAMON-based operation schemes */ 25 return l + get_random_u32_below(r - l); in damon_rand() 29 * struct damon_addr_range - Represents an address region of [@start, @end). 39 * struct damon_size_range - Represents size for filter to operate on [@min, @max]. 49 * struct damon_region - Represents a monitoring target region. 55 * @list: List head for siblings. 58 * @nr_accesses is reset to zero for every &damon_attrs->aggr_interval and be 59 * increased for every &damon_attrs->sample_interval if an access to the region 65 * (1 in 10,000) that updated for every &damon_attrs->sample_interval in a [all …]
|
D | virtio_vsock.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 #define VIRTIO_VSOCK_SKB_CB(skb) ((struct virtio_vsock_skb_cb *)((skb)->cb)) 22 return (struct virtio_vsock_hdr *)skb->head; in virtio_vsock_hdr() 27 return VIRTIO_VSOCK_SKB_CB(skb)->reply; in virtio_vsock_skb_reply() 32 VIRTIO_VSOCK_SKB_CB(skb)->reply = true; in virtio_vsock_skb_set_reply() 37 return VIRTIO_VSOCK_SKB_CB(skb)->tap_delivered; in virtio_vsock_skb_tap_delivered() 42 VIRTIO_VSOCK_SKB_CB(skb)->tap_delivered = true; in virtio_vsock_skb_set_tap_delivered() 47 VIRTIO_VSOCK_SKB_CB(skb)->tap_delivered = false; in virtio_vsock_skb_clear_tap_delivered() 54 len = le32_to_cpu(virtio_vsock_hdr(skb)->len); in virtio_vsock_skb_rx_put() 76 virtio_vsock_skb_queue_head(struct sk_buff_head *list, struct sk_buff *skb) in virtio_vsock_skb_queue_head() argument [all …]
|
/linux-6.15/drivers/acpi/acpica/ |
D | rsdump.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: rsdump - AML debugger support for resource structures. 56 * PARAMETERS: resource_list - Pointer to a resource descriptor list 77 /* Walk list and dump all resource descriptors (END_TAG terminates) */ in acpi_rs_dump_resource_list() 85 type = resource_list->type; in acpi_rs_dump_resource_list() 88 ("Invalid descriptor type (%X) in resource list\n", in acpi_rs_dump_resource_list() 89 resource_list->type); in acpi_rs_dump_resource_list() 91 } else if (!resource_list->type) { in acpi_rs_dump_resource_list() 98 if (!resource_list->length) { in acpi_rs_dump_resource_list() 100 ("Invalid zero length descriptor in resource list\n"); in acpi_rs_dump_resource_list() [all …]
|
/linux-6.15/drivers/scsi/megaraid/ |
D | mega_common.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright (c) 2003-2004 LSI Logic Corporation. 10 * Libaray of common routine used by all low-level megaraid drivers 24 #include <linux/list.h> 26 #include <linux/dma-mapping.h> 44 * scb_t - scsi command control block 46 * @list : list of control blocks 52 * @dma_type : transfer with sg list, buffer, or no data transfer 54 * @dev_target : actual target on the device 62 * target on the controller. [all …]
|
/linux-6.15/include/linux/netfilter_bridge/ |
D | ebtables.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 struct list_head list; member 38 struct list_head list; member 40 unsigned int (*target)(struct sk_buff *skb, member 42 unsigned int hook_num, const struct xt_target *target, 45 const struct xt_target *target, void *targinfo, 47 void (*destroy)(const struct xt_target *target, void *targinfo); 55 struct list_head list; member 58 unsigned int (*target)(struct sk_buff *skb, member 60 unsigned int hook_num, const struct xt_target *target, [all …]
|
/linux-6.15/net/netfilter/ |
D | x_tables.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * x_tables core - Backend for {ip,ip6,arp}_tables 5 * Copyright (C) 2006-2006 Harald Welte <laforge@netfilter.org> 6 * Copyright (C) 2006-2012 Patrick McHardy <kaber@trash.net> 10 * Copyright (C) 2000-2005 Netfilter Core Team <coreteam@netfilter.org> 43 struct list_head list; member 68 struct list_head target; member 89 int xt_register_target(struct xt_target *target) in xt_register_target() argument 91 u_int8_t af = target->family; in xt_register_target() 94 list_add(&target->list, &xt[af].target); in xt_register_target() [all …]
|
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | ftm-initiator.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2015-2017 Intel Deutschland GmbH 4 * Copyright (C) 2018-2025 Intel Corporation 10 #include "iwl-io.h" 11 #include "iwl-prph.h" 15 struct list_head list; member 22 struct list_head list; member 33 struct list_head list; member 53 mvm->ftm_initiator.req = NULL; in iwl_mvm_ftm_reset() 54 mvm->ftm_initiator.req_wdev = NULL; in iwl_mvm_ftm_reset() [all …]
|
/linux-6.15/tools/perf/bench/ |
D | evlist-open-close.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include "../util/parse-events.h" 20 #include <subcmd/parse-options.h> 30 return tv->tv_sec * USEC_PER_SEC + tv->tv_usec; in timeval2usec() 39 .target = { 45 .ctl_fd = -1, 46 .ctl_fd_ack = -1, 50 …OPT_STRING('e', "event", &event_string, "event", "event selector. use 'perf list' to list availabl… 51 OPT_INTEGER('n', "nr-events", &nr_events, 52 …"number of dummy events to create (default 1). If used with -e, it clones those events n times (1 … [all …]
|
/linux-6.15/mm/ |
D | memory-tiers.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/memory-tiers.h> 15 struct list_head list; member 16 /* list of all memory types part of this tier */ 41 * The list is used to store all memory types that are not created 56 * folio_use_access_time - check if a folio reuses cpupid for page access time 88 * memory_tiers0 = 0-1 89 * memory_tiers1 = 2-3 98 * Node 0 & 1 are CPU + DRAM nodes, node 2 is memory-only DRAM node. 106 * memory_tiers0 = 0-2 [all …]
|
/linux-6.15/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 14 * - Redistributions of source code must retain the above 15 * copyright notice, this list of conditions and the following 18 * - Redistributions in binary form must reproduce the above 19 * copyright notice, this list of conditions and the following 37 #include <linux/list.h> 62 SRP_DEFAULT_CMD_SQ_SIZE = SRP_DEFAULT_QUEUE_SIZE - SRP_RSP_SQ_SIZE - 99 * @dev_list: List of RDMA ports associated with this RDMA adapter (srp_host). 120 * @target_list: List of connected target ports (struct srp_target_port). 129 struct list_head list; member 146 * @max_it_iu_len: Maximum initiator-to-target information unit length. [all …]
|
/linux-6.15/tools/perf/util/ |
D | evlist.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <linux/list.h> 23 struct target; 30 * NOTREADY --(0)--> RUNNING --(1)--> DATA_PENDING --(2)--> EMPTY 120 int evlist__start_sb_thread(struct evlist *evlist, struct target *target); 171 int evlist__prepare_workload(struct evlist *evlist, struct target *target, 203 int evlist__create_maps(struct evlist *evlist, struct target *target); 205 struct target *target); 221 void evlist__splice_list_tail(struct evlist *evlist, struct list_head *list); 225 return list_empty(&evlist->core.entries); in evlist__empty() [all …]
|
/linux-6.15/drivers/pci/pcie/ |
D | aer_inject.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * user space helper tool aer-inject, which can be gotten from: 9 * https://github.com/intel/aer-inject.git 48 struct list_head list; member 65 struct list_head list; member 81 INIT_LIST_HEAD(&err->list); in aer_error_init() 82 err->domain = domain; in aer_error_init() 83 err->bus = bus; in aer_error_init() 84 err->devfn = devfn; in aer_error_init() 85 err->pos_cap_err = pos_cap_err; in aer_error_init() [all …]
|
/linux-6.15/scripts/basic/ |
D | fixdep.c | 2 * "Optimize" a list of dependencies as spit out by gcc -MD 15 * gcc produces a very nice and correct list of dependencies which 18 * To use this list as-is however has the drawback that virtually 21 * If the user re-runs make *config, autoconf.h will be 38 * so most likely only his driver ;-) 47 * The former is handled by using the -MD output, the later by saving 52 * kbuild-devel a long time ago. I don't have a sensibly working 65 * fixdep <depfile> <target> <cmdline> 73 * savedcmd_<target> = <cmdline> 75 * and then basically copies the .<target>.d file to stdout, in the [all …]
|
/linux-6.15/drivers/scsi/fnic/ |
D | fcpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 38 * Target request types 110 * of the tag field will be the target command and target task management 127 tag->u.req_id = id; in fcpio_tag_id_enc() 133 *id = tag->u.req_id; in fcpio_tag_id_dec() 139 tag->u.ex_id.rx_id = rx_id; in fcpio_tag_exid_enc() 140 tag->u.ex_id.ox_id = ox_id; in fcpio_tag_exid_enc() 146 *rx_id = tag->u.ex_id.rx_id; in fcpio_tag_exid_dec() 147 *ox_id = tag->u.ex_id.ox_id; in fcpio_tag_exid_dec() 166 hdr->type = type; in fcpio_header_enc() [all …]
|
/linux-6.15/fs/smb/client/ |
D | dfs_cache.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2018-2019 Paulo Alcantara <palcantara@suse.de> 35 struct list_head list; member 68 * dfs_cache_canonical_path - get a canonical DFS path 83 return ERR_PTR(-EINVAL); in dfs_cache_canonical_path() 85 if (unlikely(strcmp(cp->charset, cache_cp->charset))) { in dfs_cache_canonical_path() 89 return ERR_PTR(-EINVAL); in dfs_cache_canonical_path() 97 return ERR_PTR(-EINVAL); in dfs_cache_canonical_path() 102 return ERR_PTR(-ENOMEM); in dfs_cache_canonical_path() 113 return timespec64_compare(&ts, &ce->etime) >= 0; in cache_entry_expired() [all …]
|
/linux-6.15/drivers/net/ |
D | netconsole.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * This file contains the implementation of an IRQ-safe, crash-safe 13 * 2001-09-17 started by Ingo Molnar. 14 * 2003-08-11 2.6 port by Matt Mackall 17 * works non-modular 18 * 2003-09-07 rewritten with netpoll api 51 #define MAX_EXTRADATA_NAME_LEN (MAX_EXTRADATA_ENTRY_LEN - \ 52 MAX_EXTRADATA_VALUE_LEN - 3) 58 MODULE_PARM_DESC(netconsole, " netconsole=[src-port]@[src-ip]/[dev],[tgt-port]@<tgt-ip>/[tgt-macadd… 75 /* Linked list of all configured targets */ [all …]
|
/linux-6.15/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.h | 2 * Copyright (c) 2006 - 2009 Mellanox Technology Inc. All rights reserved. 3 * Copyright (C) 2009 - 2010 Bart Van Assche <bvanassche@acm.org>. 15 * - Redistributions of source code must retain the above 16 * copyright notice, this list of conditions and the following 19 * - Redistributions in binary form must reproduce the above 20 * copyright notice, this list of conditions and the following 39 #include <linux/list.h> 62 * SRP IOControllerProfile attributes for SRP target ports that have 78 SRP_MTCH_ACTION = 0x03, /* MULTI-CHANNEL ACTION */ 138 * enum srpt_command_state - SCSI command state managed by SRPT [all …]
|