/linux/drivers/scsi/elx/libefc/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/linux/Documentation/driver-api/usb/ |
H A 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/include/linux/i3c/ |
H A D | master.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 39 * struct i3c_i2c_dev_desc - Common part of the I3C/I2C device descriptor 62 * struct i2c_dev_boardinfo - I2C device board information 68 * This structure is used to attach board-level information to an I2C device. 78 * struct i2c_dev_desc - I2C device descriptor 86 * This object is created by the core and later attached to the controller 87 * using &struct_i3c_master_controller->ops->attach_i2c_dev(). 101 * struct i3c_ibi_slot - I3C IBI (In-Band Interrupt) slot 108 * An IBI slot is an object pre-allocated by the controller and used when an 115 * simple kmalloc-based allocation, the generic IBI slot pool can be used. [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | nl_netdev.py | 2 # SPDX-License-Identifier: GPL-2.0 10 def empty_check(nf) -> None: 15 def lo_check(nf) -> None: 17 ksft_eq(len(lo_info['xdp-features']), 0) 18 ksft_eq(len(lo_info['xdp-rx-metadata-features']), 0) 21 def page_pool_check(nf) -> None: 64 attached = [pp for pp in pp_list if "detach-time" not in pp] 65 ksft_eq(len(attached), 0) 70 attached = [pp for pp in pp_list if "detach-time" not in pp] 71 detached = [pp for pp in pp_list if "detach-time" in pp] [all …]
|
/linux/drivers/infiniband/sw/rxe/ |
H A 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/sound/soc/cirrus/ |
H A 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/Documentation/admin-guide/ |
H A 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/tools/arch/x86/dell-uart-backlight-emulator/ |
H A D | README | 1 Emulator for DELL0501 UART attached backlight controller 2 -------------------------------------------------------- 13 the backlight controller board attached. 16 the drivers/platform/x86/dell/dell-uart-backlight.c driver without access 32 ./dell-uart-backlight-emulator <path-to-/dev/tty*S#-for-second-port> 36 ./dell-uart-backlight-emulator /dev/ttyUSB0 38 And then (re)load the dell-uart-backlight driver: 40 sudo rmmod dell-uart-backlight; sudo modprobe dell-uart-backlight dyndbg
|
/linux/arch/mips/include/asm/octeon/ |
H A 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/drivers/gpu/drm/imagination/ |
H A 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/tools/testing/selftests/bpf/prog_tests/ |
H A 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 …]
|
H A 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/drivers/net/phy/ |
H A D | phy_link_topology.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * either directly or indirectly attached. 20 return -ENOMEM; in netdev_alloc_phy_link_topology() 22 xa_init_flags(&topo->phys, XA_FLAGS_ALLOC1); in netdev_alloc_phy_link_topology() 23 topo->next_phy_index = 1; in netdev_alloc_phy_link_topology() 25 dev->link_topo = topo; in netdev_alloc_phy_link_topology() 34 struct phy_link_topology *topo = dev->link_topo; in phy_link_topo_add_phy() 43 topo = dev->link_topo; in phy_link_topo_add_phy() 48 return -ENOMEM; in phy_link_topo_add_phy() 50 pdn->phy = phy; in phy_link_topo_add_phy() [all …]
|
/linux/Documentation/arch/arm64/ |
H A 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/drivers/gpu/drm/panthor/ |
H A D | panthor_gem.h | 1 /* SPDX-License-Identifier: GPL-2.0 or MIT */ 11 #include <linux/iosys-map.h> 17 * struct panthor_gem_object - Driver specific GEM object. 25 * is attached to. 42 * called in a dma-signaling path, where we're not allowed to take 52 * struct panthor_kernel_bo - Kernel buffer object. 65 * @vm: VM this private buffer is attached to. 102 return bo->va_node.start; in panthor_kernel_bo_gpuva() 108 return bo->obj->size; in panthor_kernel_bo_size() 117 if (bo->kmap) in panthor_kernel_bo_vmap() [all …]
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A 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/drivers/mmc/core/ |
H A 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/fs/xfs/ |
H A D | xfs_trans_buf.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. 37 list_for_each_entry(lip, &tp->t_items, li_trans) { in xfs_trans_buf_item_match() 39 if (blip->bli_item.li_type == XFS_LI_BUF && in xfs_trans_buf_item_match() 40 blip->bli_buf->b_target == target && in xfs_trans_buf_item_match() 41 xfs_buf_daddr(blip->bli_buf) == map[0].bm_bn && in xfs_trans_buf_item_match() 42 blip->bli_buf->b_length == len) { in xfs_trans_buf_item_match() 43 ASSERT(blip->bli_buf->b_map_count == nmaps); in xfs_trans_buf_item_match() 44 return blip->bli_buf; in xfs_trans_buf_item_match() 68 ASSERT(bp->b_transp == NULL); in _xfs_trans_bjoin() [all …]
|
H A 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() 45 struct xfs_mount *mp = ip->i_mount; in xfs_inode_item_precommit_check() 49 dip = kzalloc(mp->m_sb.sb_inodesize, GFP_KERNEL | GFP_NOFS); in xfs_inode_item_precommit_check() 57 fa = xfs_dinode_verify(mp, ip->i_ino, dip); in xfs_inode_item_precommit_check() 59 xfs_inode_verifier_error(ip, -EFSCORRUPTED, __func__, dip, in xfs_inode_item_precommit_check() 72 * per-modification inode state changes are applied. This includes VFS inode 78 * require AGI -> inode cluster buffer lock order. The inode cluster buffer is 79 * not locked until ->precommit, so it happens after everything else has been [all …]
|
/linux/fs/xfs/scrub/ |
H A D | repair.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2018-2023 Oracle. All Rights Reserved. 50 * told us to fix it. This function returns -EAGAIN to mean "re-run scrub", 61 trace_xrep_attempt(XFS_I(file_inode(sc->file)), sc->sm, error); in xrep_attempt() 63 xchk_ag_btcur_free(&sc->sa); in xrep_attempt() 66 ASSERT(sc->ops->repair); in xrep_attempt() 67 run->repair_attempted = true; in xrep_attempt() 69 error = sc->ops->repair(sc); in xrep_attempt() 70 trace_xrep_done(XFS_I(file_inode(sc->file)), sc->sm, error); in xrep_attempt() 71 run->repair_ns += xchk_stats_elapsed_ns(repair_start); in xrep_attempt() [all …]
|
/linux/Documentation/admin-guide/media/ |
H A 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/drivers/tty/serial/8250/ |
H A 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/tools/bpf/bpftool/Documentation/ |
H A 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** } } 38 The rules of BPF static linking are mostly the same as for user-space 67 automatically attached and resulting BPF links stored for further use by 68 user in pre-allocated fields in skeleton struct. For BPF programs that 69 can't be automatically attached by libbpf, user can attach them manually, [all …]
|