| /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 …]
|
| H A 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/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/sound/soc/cirrus/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 Say Y or M if you want to add support for codecs attached to 16 Say Y or M if you want to add support for codecs attached to 29 which disables and re-enables I2S in case of underflow and
|
| /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/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 37 ndev = rxe_ib_device_get_netdev(&rxe->ib_dev); in rxe_mcast_add() 39 return -ENODEV; in rxe_mcast_add() 41 ipv6_eth_mc_map((struct in6_addr *)mgid->raw, ll_addr); in rxe_mcast_add() [all …]
|
| /linux/mm/ |
| H A D | mmap_lock.c | 1 // SPDX-License-Identifier: GPL-2.0 50 * attached, otherwise it waits for any current readers to finish and 51 * returns 1. Returns -EINTR if a signal is received while waiting. 59 mmap_assert_write_locked(vma->vm_mm); in __vma_enter_locked() 61 /* Additional refcnt if the vma is attached. */ in __vma_enter_locked() 69 if (!refcount_add_not_zero(VMA_LOCK_OFFSET, &vma->vm_refcnt)) in __vma_enter_locked() 72 rwsem_acquire(&vma->vmlock_dep_map, 0, 0, _RET_IP_); in __vma_enter_locked() 73 err = rcuwait_wait_event(&vma->vm_mm->vma_writer_wait, in __vma_enter_locked() 74 refcount_read(&vma->vm_refcnt) == tgt_refcnt, in __vma_enter_locked() 77 if (refcount_sub_and_test(VMA_LOCK_OFFSET, &vma->vm_refcnt)) { in __vma_enter_locked() [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/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/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_work() 117 dma_fence_free(&fence->base); in pvr_queue_fence_release_work() 123 struct pvr_device *pvr_dev = fence->queue->ctx->pvr_dev; in pvr_queue_fence_release() 125 queue_work(pvr_dev->sched_wq, &fence->release_work); in pvr_queue_fence_release() 133 switch (fence->queue->type) { in pvr_queue_job_fence_get_timeline_name() 156 switch (fence->queue->type) { 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() 45 * SIB (Scale-Inde 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/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/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/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. 58 * told us to fix it. This function returns -EAGAIN to mean "re-run scrub", 69 trace_xrep_attempt(XFS_I(file_inode(sc->file)), sc->sm, error); in xrep_attempt() 71 xchk_ag_btcur_free(&sc->sa); in xrep_attempt() 72 xchk_rtgroup_btcur_free(&sc->sr); in xrep_attempt() 75 ASSERT(sc->ops->repair); in xrep_attempt() 76 run->repair_attempted = true; in xrep_attempt() 78 error = sc->ops->repair(sc); in xrep_attempt() 79 trace_xrep_done(XFS_I(file_inode(sc->file)), sc->sm, error); in xrep_attempt() [all …]
|
| H A D | reap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2022-2023 Oracle. All Rights Reserved. 84 * the btree we're trying to rebuild and the block is indeed owned by another 92 * state while we're not looking. We must also invalidate any buffers 122 /* Number of deferred reaps attached to the current transaction. */ 144 * Since we're "freeing" a lost block onto the AGFL, we have to in xreap_put_freelist() 148 error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.pag, agbno, 1, in xreap_put_freelist() 154 error = xfs_alloc_read_agfl(sc->sa.pag, sc->tp, &agfl_bp); in xreap_put_freelist() 158 error = xfs_alloc_put_freelist(sc->sa.pag, sc->tp, sc->sa.agf_bp, in xreap_put_freelist() 162 xfs_extent_busy_insert(sc->tp, pag_group(sc->sa.pag), agbno, 1, in xreap_put_freelist() [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | nl_netdev.py | 2 # SPDX-License-Identifier: GPL-2.0 11 def empty_check(nf) -> None: 16 def lo_check(nf) -> None: 18 ksft_eq(len(lo_info['xdp-features']), 0) 19 ksft_eq(len(lo_info['xdp-rx-metadata-features']), 0) 22 def napi_list_check(nf) -> None: 38 def napi_set_threaded(nf) -> None: 123 def dev_set_threaded(nf) -> None: 161 def nsim_rxq_reset_down(nf) -> None: 176 def page_pool_check(nf) -> None: [all …]
|
| /linux/kernel/liveupdate/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 62 re-attached to their original workload without requiring a device
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_irq.c | 71 mutex_lock(&vc4->bin_bo_lock); in vc4_overflow_mem_work() 73 if (!vc4->bin_bo) in vc4_overflow_mem_work() 76 bo = vc4->bin_bo; in vc4_overflow_mem_work() 80 drm_err(&vc4->base, "Couldn't allocate binner overflow mem\n"); in vc4_overflow_mem_work() 84 spin_lock_irqsave(&vc4->job_lock, irqflags); in vc4_overflow_mem_work() 86 if (vc4->bin_alloc_overflow) { in vc4_overflow_mem_work() 97 exec->bin_slots |= vc4->bin_alloc_overflow; in vc4_overflow_mem_work() 102 vc4->bin_alloc_used &= ~vc4->bin_alloc_overflo in vc4_overflow_mem_work() [all...] |