/linux-6.8/drivers/scsi/elx/libefc/ |
D | efc_device.c | 1 // SPDX-License-Identifier: GPL-2.0 19 struct efc *efc = node->efc; in efc_d_send_prli_rsp() 21 node->ls_acc_oxid = ox_id; in efc_d_send_prli_rsp() 22 node->send_ls_acc = EFC_NODE_SEND_LS_ACC_PRLI; in efc_d_send_prli_rsp() 29 if (node->init) { in efc_d_send_prli_rsp() 31 node->display_name, node->wwpn, node->wwnn); in efc_d_send_prli_rsp() 32 if (node->nport->enable_tgt) in efc_d_send_prli_rsp() 33 rc = efc->tt.scsi_new_node(efc, node); in efc_d_send_prli_rsp() 50 node = ctx->app; in __efc_d_common() 51 efc = node->efc; in __efc_d_common() [all …]
|
D | efc_node.c | 1 // SPDX-License-Identifier: GPL-2.0 14 struct efc_node *node = rnode->node; in efc_remote_node_cb() 17 spin_lock_irqsave(&efc->lock, flags); in efc_remote_node_cb() 19 spin_unlock_irqrestore(&efc->lock, flags); in efc_remote_node_cb() 28 return xa_load(&nport->lookup, port_id); in efc_node_find() 35 struct efc *efc = node->efc; in _efc_node_free() 38 dma = &node->sparm_dma_buf; in _efc_node_free() 39 dma_pool_free(efc->node_dma_pool, dma->virt, dma->phys); in _efc_node_free() 41 mempool_free(node, efc->node_pool); in _efc_node_free() 49 struct efc *efc = nport->efc; in efc_node_alloc() [all …]
|
D | efc_fabric.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * - Fabric logins. 10 * - Fabric controller events. 11 * - Name/directory services interaction. 12 * - Point-to-point logins. 18 * p2p_sm Node State Machine: Point-to-Point Node States 26 struct efc *efc = node->efc; in efc_fabric_initiate_shutdown() 28 node->els_io_enabled = false; in efc_fabric_initiate_shutdown() 30 if (node->attached) { in efc_fabric_initiate_shutdown() 34 * or sometime later, will check node->attached later in in efc_fabric_initiate_shutdown() [all …]
|
D | efclib.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 112 * @attached: mark attached if reg VPI succeeds 113 * @p2p_winner: TRUE if we're the point-to-point winner 131 * @p2p_port_id: our port id for point-to-point 134 * @p2p_remote_port_id: remote node's port id for point-to-point 146 bool attached; member 196 * @attached: set true after attach completes 229 bool attached; member 255 * @attached: true if attached 264 bool attached; member [all …]
|
/linux-6.8/Documentation/driver-api/usb/ |
D | persist.rst | 1 .. _usb-persist: 14 bus must continue to supply suspend current (around 1-5 mA). This 16 detect connect-change events (devices being plugged in or unplugged). 23 device is still attached or perhaps it was removed and a different 28 wakes up all the devices attached to that controller are treated as 38 Unfortunately problems _can_ arise, particularly with mass-storage 41 filesystem on the device, you're out of luck -- everything in that 57 suspend-to-RAM. On almost all systems, no suspend current is 58 available during hibernation (also known as swsusp or suspend-to-disk). 65 suspended -- but it will crash as soon as it wakes up, which isn't [all …]
|
/linux-6.8/include/linux/i3c/ |
D | master.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 38 * struct i3c_i2c_dev_desc - Common part of the I3C/I2C device descriptor 61 * struct i2c_dev_boardinfo - I2C device board information 67 * This structure is used to attach board-level information to an I2C device. 77 * struct i2c_dev_desc - I2C device descriptor 85 * This object is created by the core and later attached to the controller 86 * using &struct_i3c_master_controller->ops->attach_i2c_dev(). 100 * struct i3c_ibi_slot - I3C IBI (In-Band Interrupt) slot 107 * An IBI slot is an object pre-allocated by the controller and used when an 114 * simple kmalloc-based allocation, the generic IBI slot pool can be used. [all …]
|
/linux-6.8/sound/soc/cirrus/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 Say Y or M if you want to add support for codecs attached to 14 Say Y or M if you want to add support for codecs attached to 27 which disables and re-enables I2S in case of underflow and
|
/linux-6.8/drivers/infiniband/sw/rxe/ |
D | rxe_mcast.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 12 * attached to a new mgid for the first time. These are indexed by 13 * a red-black tree using the mgid. This data structure is searched 15 * qp is attached to the same mgid. It is cleaned up when the last qp 16 * is detached from the mcg. Each time a qp is attached to an mcg an 18 * of qp's that are attached to the mcg. The qp_list is used to replicate 25 * rxe_mcast_add - add multicast address to rxe device 35 ipv6_eth_mc_map((struct in6_addr *)mgid->raw, ll_addr); in rxe_mcast_add() 37 return dev_mc_add(rxe->ndev, ll_addr); in rxe_mcast_add() 41 * rxe_mcast_del - delete multicast address from rxe device [all …]
|
/linux-6.8/Documentation/admin-guide/ |
D | bcache.rst | 11 This is the git repository of bcache-tools: 12 https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git/ 17 It's designed around the performance characteristics of SSDs - it only allocates 25 great lengths to protect your data - it reliably handles unclean shutdown. (It 27 writes as completed until they're on stable storage). 29 Writeback caching can use most of the cache for buffering writes - writing 36 average is above the cutoff it will skip all IO from that task - instead of 47 You'll need bcache util from the bcache-tools repository. Both the cache device 50 bcache make -B /dev/sdb 51 bcache make -C /dev/sdc [all …]
|
/linux-6.8/arch/mips/include/asm/octeon/ |
D | cvmx-pow.h | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 31 * New, starting with SDK 1.7.0, cvmx-pow supports a number of 36 * enabled. For example, cvmx-pow will check for the following 38 * - Requesting a POW operation with an active tag switch in 40 * - Waiting for a tag switch to complete for an excessively 43 * - Illegal tag switches from NULL_NULL. 44 * - Illegal tag switches from NULL. 45 * - Illegal deschedule request. [all …]
|
/linux-6.8/tools/testing/selftests/bpf/prog_tests/ |
D | usdt.c | 1 // SPDX-License-Identifier: GPL-2.0 15 static volatile short nums[] = {-1, -2, -3, -4}; 20 } t1 = { 1, -127 }; 38 y / 7, bla, &bla, -9, nums[x], in trigger_func() 54 bss = skel->bss; in subtest_basic_usdt() 55 bss->my_pid = getpid(); in subtest_basic_usdt() 61 /* usdt0 won't be auto-attached */ in subtest_basic_usdt() 63 skel->links.usdt0 = bpf_program__attach_usdt(skel->progs.usdt0, in subtest_basic_usdt() 66 if (!ASSERT_OK_PTR(skel->links.usdt0, "usdt0_link")) in subtest_basic_usdt() 71 ASSERT_EQ(bss->usdt0_called, 1, "usdt0_called"); in subtest_basic_usdt() [all …]
|
D | link_pinning.c | 1 // SPDX-License-Identifier: GPL-2.0 23 bss->in = 1; in test_link_pinning_subtest() 25 CHECK(bss->out != 1, "res_check1", "exp %d, got %d\n", 1, bss->out); in test_link_pinning_subtest() 40 bss->in = 2; in test_link_pinning_subtest() 42 CHECK(bss->out != 2, "res_check2", "exp %d, got %d\n", 2, bss->out); in test_link_pinning_subtest() 44 /* destroy link, pinned link should keep program attached */ in test_link_pinning_subtest() 48 bss->in = 3; in test_link_pinning_subtest() 50 CHECK(bss->out != 3, "res_check3", "exp %d, got %d\n", 3, bss->out); in test_link_pinning_subtest() 52 /* re-open link from BPFFS */ in test_link_pinning_subtest() 60 /* unpin link from BPFFS, program still attached */ in test_link_pinning_subtest() [all …]
|
/linux-6.8/drivers/gpu/drm/imagination/ |
D | pvr_queue.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 40 sizeof(((struct rogue_fwif_frag_ctx_state *)0)->frag_reg_isp_store[0])); in get_xfer_ctx_state_size() 70 sizeof(((struct rogue_fwif_frag_ctx_state *)0)->frag_reg_isp_store[0])); in get_frag_ctx_state_size() 87 return -EINVAL; in get_ctx_state_size() 116 pvr_context_put(fence->queue->ctx); in pvr_queue_fence_release() 125 switch (fence->queue->type) { in pvr_queue_job_fence_get_timeline_name() 148 switch (fence->queue->type) { in pvr_queue_cccb_fence_get_timeline_name() 150 return "geometry-cccb"; in pvr_queue_cccb_fence_get_timeline_name() 153 return "fragment-cccb"; in pvr_queue_cccb_fence_get_timeline_name() 156 return "compute-cccb"; in pvr_queue_cccb_fence_get_timeline_name() [all …]
|
/linux-6.8/Documentation/arch/arm64/ |
D | asymmetric-32bit.rst | 2 Asymmetric 32-bit SoCs 7 This document describes the impact of asymmetric 32-bit SoCs on the 8 execution of 32-bit (``AArch32``) applications. 10 Date: 2021-05-17 16 of the CPUs are capable of executing 32-bit user applications. On such 19 ``execve(2)`` of 32-bit ELF binaries, with the latter returning 20 ``-ENOEXEC``. If the mismatch is detected during late onlining of a 21 64-bit-only CPU, then the onlining operation fails and the new CPU is 25 running legacy 32-bit binaries. Unsurprisingly, that doesn't work very 28 It seems inevitable that future SoCs will drop 32-bit support [all …]
|
/linux-6.8/fs/xfs/ |
D | xfs_inode_item.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. 37 return INODE_ITEM(lip)->ili_inode->i_ino; in xfs_inode_item_sort() 42 * per-modification inode state changes are applied. This includes VFS inode 48 * require AGI -> inode cluster buffer lock order. The inode cluster buffer is 49 * not locked until ->precommit, so it happens after everything else has been 52 * Further, we have AGI -> AGF lock ordering, and with O_TMPFILE handling we 53 * have AGI -> AGF -> iunlink item -> inode cluster buffer lock order. Hence we 60 * move the pinning of the inode cluster buffer to a ->precommit operation. This 63 * transaction. i.e. we ensure the lock order is always AGI -> AGF -> inode [all …]
|
/linux-6.8/Documentation/admin-guide/cgroup-v1/ |
D | cgroups.rst | 6 Documentation/admin-guide/cgroup-v1/cpusets.rst 12 Portions Copyright (c) 2004-2006 Silicon Graphics, Inc. 42 ---------------------- 56 schedules a resource or applies per-cgroup limits, but it may be 62 hierarchy, and a set of subsystems; each subsystem has system-specific 63 state attached to each cgroup in the hierarchy. Each hierarchy has 69 User-level code may create and destroy cgroups by name in an 79 access. For example, cpusets (see Documentation/admin-guide/cgroup-v1/cpusets.rst) allow 83 .. _cgroups-why-needed: 86 ---------------------------- [all …]
|
/linux-6.8/io_uring/ |
D | sqpoll.c | 1 // SPDX-License-Identifier: GPL-2.0 28 __releases(&sqd->lock) in io_sq_thread_unpark() 30 WARN_ON_ONCE(sqd->thread == current); in io_sq_thread_unpark() 36 clear_bit(IO_SQ_THREAD_SHOULD_PARK, &sqd->state); in io_sq_thread_unpark() 37 if (atomic_dec_return(&sqd->park_pending)) in io_sq_thread_unpark() 38 set_bit(IO_SQ_THREAD_SHOULD_PARK, &sqd->state); in io_sq_thread_unpark() 39 mutex_unlock(&sqd->lock); in io_sq_thread_unpark() 43 __acquires(&sqd->lock) in io_sq_thread_park() 45 WARN_ON_ONCE(sqd->thread == current); in io_sq_thread_park() 47 atomic_inc(&sqd->park_pending); in io_sq_thread_park() [all …]
|
/linux-6.8/Documentation/admin-guide/media/ |
D | building.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 distribution-specific source file or via the Kernel's main git tree\ [1]_. 12 - you're a braveheart and want to experiment with new stuff; 13 - if you want to report a bug; 14 - if you're developing new patches 23 https://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers 50 Device Drivers ---> 51 <M> Remote Controller support ---> 54 [*] HDMI CEC drivers ---> 55 <*> Multimedia support ---> [all …]
|
/linux-6.8/drivers/mmc/core/ |
D | sdio_io.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2007-2008 Pierre Ossman 21 * sdio_claim_host - exclusively claim a bus for a certain SDIO function 32 mmc_claim_host(func->card->host); in sdio_claim_host() 37 * sdio_release_host - release a bus for a certain SDIO function 48 mmc_release_host(func->card->host); in sdio_release_host() 53 * sdio_enable_func - enables a SDIO function for usage 66 return -EINVAL; in sdio_enable_func() 70 ret = mmc_io_rw_direct(func->card, 0, 0, SDIO_CCCR_IOEx, 0, ®); in sdio_enable_func() 74 reg |= 1 << func->num; in sdio_enable_func() [all …]
|
/linux-6.8/drivers/tty/serial/8250/ |
D | 8250_parisc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (c) Copyright Matthew Wilcox <willy@debian.org> 2001-2002 18 #include <asm/parisc-device.h> 30 if (!dev->irq && (dev->id.sversion == 0xad)) in serial_init_chip() 31 dev->irq = iosapic_serial_irq(dev); in serial_init_chip() 34 if (!dev->irq) { in serial_init_chip() 38 * the user what they're missing. in serial_init_chip() 40 if (parisc_parent(dev)->id.hw_type != HPHW_IOA) in serial_init_chip() 41 dev_info(&dev->dev, in serial_init_chip() 44 (unsigned long long)dev->hpa.start); in serial_init_chip() [all …]
|
/linux-6.8/tools/bpf/bpftool/Documentation/ |
D | bpftool-gen.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 bpftool-gen 6 ------------------------------------------------------------------------------- 7 tool for BPF code-generation 8 ------------------------------------------------------------------------------- 19 *OPTIONS* := { |COMMON_OPTIONS| | { **-L** | **--use-loader** } } 40 user-space object files, but in addition to combining data 73 attached and resulting BPF links stored for further use by 74 user in pre-allocated fields in skeleton struct. For BPF 75 programs that can't be automatically attached by libbpf, [all …]
|
/linux-6.8/fs/bcachefs/ |
D | alloc_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 54 * When an open bucket has an ec_stripe attached, this is the index of 101 /* calculated based on how many pointers we're actually going to use: */
|
/linux-6.8/drivers/gpu/drm/ |
D | drm_of.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <linux/media-bus-format.h> 25 * drm_of_crtc_port_mask - find the mask of a registered CRTC by port OF node 39 if (tmp->port == port) in drm_of_crtc_port_mask() 50 * drm_of_find_possible_crtcs - find the possible CRTCs for an encoder port 54 * Scan all endpoints attached to a port, locate their attached CRTCs, 55 * and generate the DRM mask of CRTCs which may be attached to this 83 * drm_of_component_match_add - Add a component helper OF node match rule 101 * drm_of_component_probe - Generic probe function for a component based master 121 if (!dev->of_node) in drm_of_component_probe() [all …]
|
/linux-6.8/scripts/tracing/ |
D | draw_functrace.py | 2 # SPDX-License-Identifier: GPL-2.0-only 15 # mount -t tracefs nodev /sys/kernel/tracing 25 import sys, re 30 syscall, kernel thread...) then it is attached to a virtual parent 72 s = "%s----%s (%s)\n" % (branch, self._func, self._time) 74 s = "%s----%s\n" % (branch, self._func) 78 branch = branch[:-1] + " " 80 if i != len(self._children) - 1: 106 m = re.match("[^]]+?\\] +([a-z.]+) +([0-9.]+): (\\w+) <-(\\w+)", line)
|
/linux-6.8/Documentation/filesystems/xfs/ |
D | xfs-delayed-logging-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 details logged are made up of the changes to in-core structures rather than 34 on-disk structures. Other objects - typically buffers - have their physical 64 place. This means that permanent transactions can be used for one-shot 65 modifications, but one-shot reservations cannot be used for permanent 68 In the code, a one-shot transaction pattern looks somewhat like this:: 97 While this might look similar to a one-shot transaction, there is an important 123 the on-disk journal. 165 transaction, we have to reserve enough space to record a full leaf-to-root split 183 For one-shot transactions, a single unit space reservation is all that is [all …]
|