/linux-6.15/arch/powerpc/platforms/book3s/ |
D | vas-api.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * VAS user space API for its accelerators (Only NX-GZIP is supported now) 7 #define pr_fmt(fmt) "vas-api: " fmt 20 #include <uapi/asm/vas-api.h> 24 * For NX-GZIP 26 * fd = open("/dev/crypto/nx-gzip", O_RDWR); 33 * where "vas_copy" and "vas_paste" are defined in copy-paste.h. 40 * Wrapper object for the nx-gzip device - there is just one instance of 73 * pid will not be re-used - needed only for multithread in get_vas_user_win_ref() 76 task_ref->pid = get_task_pid(current, PIDTYPE_PID); in get_vas_user_win_ref() [all …]
|
/linux-6.15/Documentation/admin-guide/mm/ |
D | userfaultfd.rst | 8 Userfaults allow the implementation of on-demand paging from userland 38 Vmas are not suitable for page- (or hugepage) granular fault tracking 48 is a corner case that would currently return ``-EBUSY``). 54 ---------------------- 63 - Any user can always create a userfaultfd which traps userspace page faults 67 - In order to also trap kernel page faults for the address space, either the 84 -------------------------- 101 - The ``UFFD_FEATURE_EVENT_*`` flags indicate that various other events 103 detail below in the `Non-cooperative userfaultfd`_ section. 105 - ``UFFD_FEATURE_MISSING_HUGETLBFS`` and ``UFFD_FEATURE_MISSING_SHMEM`` [all …]
|
/linux-6.15/fs/ocfs2/dlm/ |
D | dlmmaster.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 58 if (dlm != mle->dlm) in dlm_mle_equal() 61 if (namelen != mle->mnamelen || in dlm_mle_equal() 62 memcmp(name, mle->mname, namelen) != 0) in dlm_mle_equal() 118 case -EBADF: in dlm_is_host_down() 119 case -ECONNREFUSED: in dlm_is_host_down() 120 case -ENOTCONN: in dlm_is_host_down() 121 case -ECONNRESET: in dlm_is_host_down() 122 case -EPIPE: in dlm_is_host_down() 123 case -EHOSTDOWN: in dlm_is_host_down() [all …]
|
D | dlmunlock.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 76 * taken: res->spinlock and lock->spinlock taken and dropped 98 BUG_ON(res->owner != dlm->node_num); in dlmunlock_common() 100 BUG_ON(res->owner == dlm->node_num); in dlmunlock_common() 102 spin_lock(&dlm->ast_lock); in dlmunlock_common() 105 in_use = !list_empty(&lock->ast_list); in dlmunlock_common() 106 spin_unlock(&dlm->ast_lock); in dlmunlock_common() 109 "while waiting for an ast!", res->lockname.len, in dlmunlock_common() 110 res->lockname.name); in dlmunlock_common() 114 spin_lock(&res->spinlock); in dlmunlock_common() [all …]
|
D | dlmrecovery.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 103 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_dead_node() 104 if (dlm->reco.dead_node != dead_node) in dlm_set_reco_dead_node() 106 dlm->name, dlm->reco.dead_node, dead_node); in dlm_set_reco_dead_node() 107 dlm->reco.dead_node = dead_node; in dlm_set_reco_dead_node() 113 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_master() 115 dlm->name, dlm->reco.new_master, master); in dlm_set_reco_master() 116 dlm->reco.new_master = master; in dlm_set_reco_master() 121 assert_spin_locked(&dlm->spinlock); in __dlm_reset_recovery() 122 clear_bit(dlm->reco.dead_node, dlm->recovery_map); in __dlm_reset_recovery() [all …]
|
/linux-6.15/Documentation/ABI/testing/ |
D | sysfs-class-rnbd-client | 1 What: /sys/class/rnbd-client 5 Description: Provide information about RNBD-client. 6 All sysfs files that are not read-only provide the usage information on read: 10 # cat /sys/class/rnbd-client/ctl/map_device 14 > [access_mode=<ro|rw|migration>] > map_device 18 What: /sys/class/rnbd-client/ctl/map_device 27 [access_mode=<ro|rw|migration>] 34 I.e. "clt_hostname-srv_hostname" could be a natural choice. 70 directory and an entry in /sys/class/rnbd-client/ctl/devices 75 the following parameter "dev_search_path=/run/rnbd-devs/%SESSNAME%", [all …]
|
/linux-6.15/arch/powerpc/platforms/pseries/ |
D | vas.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2020-21 IBM Corp. 88 if (win->win_addr == VAS_INVALID_WIN_ADDRESS) { in h_allocate_vas_window() 90 return -ENOTSUPP; in h_allocate_vas_window() 92 win->vas_win.winid = retbuf[0]; in h_allocate_vas_window() 93 win->win_addr = retbuf[1]; in h_allocate_vas_window() 94 win->complete_irq = retbuf[2]; in h_allocate_vas_window() 95 win->fault_irq = retbuf[3]; in h_allocate_vas_window() 102 return -EIO; in h_allocate_vas_window() 123 return -EIO; in h_deallocate_vas_window() [all …]
|
/linux-6.15/drivers/vfio/pci/pds/ |
D | cmds.c | 1 // SPDX-License-Identifier: GPL-2.0 30 cmd.client_request.client_id = cpu_to_le16(pds_vfio->client_id); in pds_vfio_client_adminq_cmd() 39 if (err && err != -EAGAIN) in pds_vfio_client_adminq_cmd() 53 snprintf(devname, sizeof(devname), "%s.%d-%u", PDS_VFIO_LM_DEV_NAME, in pds_vfio_register_client_cmd() 54 pci_domain_nr(pdev->bus), in pds_vfio_register_client_cmd() 55 PCI_DEVID(pdev->bus->number, pdev->devfn)); in pds_vfio_register_client_cmd() 65 pds_vfio->client_id = ci; in pds_vfio_register_client_cmd() 80 err = pds_client_unregister(pdsc, pds_vfio->client_id); in pds_vfio_unregister_client_cmd() 82 dev_err(&pdev->dev, "unregister from DSC failed: %pe\n", in pds_vfio_unregister_client_cmd() 85 pds_vfio->client_id = 0; in pds_vfio_unregister_client_cmd() [all …]
|
/linux-6.15/include/linux/ |
D | psp-sev.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016-2017 Advanced Micro Devices, Inc. 15 #include <uapi/linux/psp-sev.h> 64 /* Guest migration commands (outgoing) */ 71 /* Guest migration commands (incoming) */ 115 * struct sev_data_init - INIT command parameters 118 * @tmr_address: system physical address used for SEV-ES 129 * struct sev_data_init_ex - INIT_EX command parameters 133 * @tmr_address: system physical address used for SEV-ES 151 * struct sev_data_pek_csr - PEK_CSR command parameters [all …]
|
/linux-6.15/arch/riscv/mm/ |
D | cacheflush.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 * Performs an icache flush for the given MM context. RISC-V has no direct 36 * mechanism for instruction cache shoot downs, so instead we send an IPI that 39 * single-hart processes on a many-hart machine, ie 'make -j') we avoid the 52 mask = &mm->context.icache_stale_mask; in flush_icache_mm() 65 if (mm == current->active_mm && local) { in flush_icache_mm() 91 if (!test_bit(PG_dcache_clean, &folio->flags)) { in flush_icache_pte() 93 set_bit(PG_dcache_clean, &folio->flags); in flush_icache_pte() 136 /* set block-size for cbom and/or cboz extension if available */ in riscv_init_cbo_blocksizes() 137 cbo_get_block_size(node, "riscv,cbom-block-size", in riscv_init_cbo_blocksizes() [all …]
|
/linux-6.15/drivers/virtio/ |
D | virtio_balloon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 59 /* Balloon's own wq for cpu-intensive work items */ 97 * at vb_dev_info->pages list. 113 /* Shrinker to return free pages - VIRTIO_BALLOON_F_FREE_PAGE_HINT */ 116 /* OOM notifier to deflate on OOM - VIRTIO_BALLOON_F_DEFLATE_ON_OOM */ 150 spin_lock_irqsave(&vb->wakeup_lock, flags); in start_wakeup_event() 151 vb->wakeup_signal_mask |= mask; in start_wakeup_event() 152 if (!vb->processing_wakeup_event) { in start_wakeup_event() 153 vb->processing_wakeup_event = true; in start_wakeup_event() 154 pm_stay_awake(&vb->vdev->dev); in start_wakeup_event() [all …]
|
/linux-6.15/arch/powerpc/include/asm/ |
D | vas.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 2016-17 IBM Corp. 11 #include <uapi/asm/vas-api.h> 39 /* Window is closed due to migration */ 46 #define MASK_LSH(m) (__builtin_ffsl(m) - 1) 51 * Co-processor Engine type. 103 put_pid(ref->pid); in put_vas_user_win_ref() 104 put_pid(ref->tgid); in put_vas_user_win_ref() 105 if (ref->mm) in put_vas_user_win_ref() 106 mmdrop(ref->mm); in put_vas_user_win_ref() [all …]
|
/linux-6.15/include/scsi/ |
D | viosrp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 /* srp.h -- SCSI RDMA Protocol definitions */ 12 /* standard. SRP is used on IBM iSeries and pSeries platforms to send SCSI */ 77 u8 format; /* SCSI vs out-of-band */ 79 u8 status; /* non-scsi failure? (e.g. DMA failure) */ 138 * client to the server. There is no way for the server to send 188 struct mad_migration_cap migration; member 214 __be32 port_max_txu[8]; /* per-port maximum transfer */
|
/linux-6.15/drivers/infiniband/hw/hfi1/ |
D | ruc.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright(c) 2015 - 2018 Intel Corporation. 16 return (gid->global.interface_id == id && in gid_ok() 17 (gid->global.subnet_prefix == gid_prefix || in gid_ok() 18 gid->global.subnet_prefix == IB_DEFAULT_GID_PREFIX)); in gid_ok() 31 struct rvt_qp *qp = packet->qp; in hfi1_ruc_check_hdr() 32 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_ruc_check_hdr() 33 u32 dlid = packet->dlid; in hfi1_ruc_check_hdr() 34 u32 slid = packet->slid; in hfi1_ruc_check_hdr() 35 u32 sl = packet->sl; in hfi1_ruc_check_hdr() [all …]
|
/linux-6.15/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* ------------------------------------------------------------ 9 * ------------------------------------------------------------ 27 * Senders cannot access the buffer directly, but send messages by 29 * puts the message in the next 16 byte space in round-robin fashion, 51 #include <linux/dma-mapping.h> 83 static unsigned int partition_number = -1; 112 /* ------------------------------------------------------------ 116 * ibmvscsi_handle_event: - Interrupt handler for crq events 127 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_handle_event() [all …]
|
/linux-6.15/Documentation/networking/devlink/ |
D | devlink-port.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 ``devlink-port`` is a port that exists on the device. It has a logically 19 .. list-table:: List of devlink port flavours 22 * - Flavour 23 - Description 24 * - ``DEVLINK_PORT_FLAVOUR_PHYSICAL`` 25 - Any kind of physical port. This can be an eswitch physical port or any 27 * - ``DEVLINK_PORT_FLAVOUR_DSA`` 28 - This indicates a DSA interconnect port. 29 * - ``DEVLINK_PORT_FLAVOUR_CPU`` [all …]
|
D | mlx5.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 .. list-table:: Generic parameters implemented 15 * - Name 16 - Mode 17 - Validation 18 * - ``enable_roce`` 19 - driverinit 20 - Type: Boolean 26 * - ``io_eq_size`` 27 - driverinit [all …]
|
/linux-6.15/arch/mips/include/asm/ |
D | switch_to.h | 15 #include <asm/cpu-features.h> 24 * resume - resume execution of a task 44 * but did not actually use the FPU during the most recent time-slice (CU1 48 * force prompt migration - we're already switching the current CPU to a 60 prev->cpus_mask = prev->thread.user_cpus_allowed; \ 62 next->thread.emulated_fp = 0; \ 85 * clear them and send a signal. 90 unsigned long fcr31 = mask_fcr31_x(next->thread.fpu.fcr31); \ 94 pc = (void __user *)task_pt_regs(next)->cp0_epc; \ 95 next->thread.fpu.fcr31 &= ~fcr31; \ [all …]
|
/linux-6.15/Documentation/admin-guide/device-mapper/ |
D | cache-policies.rst | 12 The policy can return a simple HIT or MISS or issue a migration. 30 --------------- 43 --------------------------- 47 The stochastic multi-queue (smq) policy addresses some of the problems 68 has a 'hotspot' queue, rather than a pre-cache, which uses a quarter of 108 ------- 121 The syntax to send a message using the dmsetup command is:: 128 dmsetup create blah --table "0 268435456 cache /dev/sdb /dev/sdc \
|
/linux-6.15/tools/testing/selftests/kvm/x86/ |
D | xapic_ipi_test.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Test that when the APIC is in xAPIC mode, a vCPU can send an IPI to wake 19 * Migration is a command line option. When used on non-numa machines will 20 * exit with error. Test is still usefull on non-numa for testing IPIs. 67 * Record local version register as a cross-check that APIC access 94 data->halter_apic_id = GET_APIC_ID_FIELD(xapic_read_reg(APIC_ID)); in halter_guest_code() 95 data->halter_lvr = xapic_read_reg(APIC_LVR); in halter_guest_code() 106 data->halter_tpr = xapic_read_reg(APIC_TASKPRI); in halter_guest_code() 107 data->halter_ppr = xapic_read_reg(APIC_PROCPRI); in halter_guest_code() 108 data->hlt_count++; in halter_guest_code() [all …]
|
/linux-6.15/arch/x86/kvm/vmx/ |
D | posted_intr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * Maintain a per-CPU list of vCPUs that need to be awakened by wakeup_handler() 26 * Protect the per-CPU list with a per-CPU spinlock to handle task migration. 28 * ->sched_in() path will need to take the vCPU off the list of the _previous_ 38 return &(to_vmx(vcpu)->pi_desc); in vcpu_to_pi_desc() 49 if (!try_cmpxchg64(&pi_desc->control, pold, new)) in pi_try_set_control() 50 return -EBUSY; in pi_try_set_control() 64 * To simplify hot-plug and dynamic toggling of APICv, keep PI.NDST and in vmx_vcpu_pi_load() 65 * PI.SN up-to-date even if there is no assigned device or if APICv is in vmx_vcpu_pi_load() 66 * deactivated due to a dynamic inhibit bit, e.g. for Hyper-V's SyncIC. in vmx_vcpu_pi_load() [all …]
|
/linux-6.15/arch/x86/kernel/ |
D | kvm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #define pr_fmt(fmt) "kvm-guest: " fmt 58 early_param("no-kvmapf", parse_no_kvmapf); 67 early_param("no-steal-acc", parse_no_stealacc); 102 hlist_for_each(p, &b->list) { in _find_apf_task() 105 if (n->token == token) in _find_apf_task() 118 raw_spin_lock(&b->lock); in kvm_async_pf_queue_task() 121 /* dummy entry exist -> wake up was delivered ahead of PF */ in kvm_async_pf_queue_task() 122 hlist_del(&e->link); in kvm_async_pf_queue_task() 123 raw_spin_unlock(&b->lock); in kvm_async_pf_queue_task() [all …]
|
/linux-6.15/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
D | tc_flower.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # This test is for checking the A-TCAM and C-TCAM operation in Spectrum-2. 49 perf record -q -e $tracepoint $cmd 58 perf record -a -q -e $tracepoint sleep $seconds 66 local perf_output=`perf script -F trace:event,trace` 67 return `echo $perf_output | grep "$tracepoint:" | wc -l` 76 if [[ "$?" -ne "$count" ]]; then 87 if [[ "$?" -eq "0" ]]; then 104 $MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \ 105 -t ip -q [all …]
|
/linux-6.15/include/net/ |
D | iw_handler.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com> 8 * Copyright (c) 2001-2007 Jean Tourrilhes, All Rights Reserved. 16 * Initial driver API (1996 -> onward) : 17 * ----------------------------------- 37 * New driver API (2002 -> onward) : 38 * ------------------------------- 54 * o Driver doesn't have to worry about memory and user-space issues 66 * Also, as all structures and data types are unchanged, the migration is 69 * --- [all …]
|
/linux-6.15/net/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 when running on a stand-alone machine that isn't connected to any 20 contained in the package net-tools, the location and version number 24 recommended to read the NET-HOWTO, available from 40 This option makes it possible to send different netlink messages 42 achieve this, you need to set skb_shinfo(skb)->frag_list to the 47 compat-independent messages instead! 106 to the KUnit documentation in Documentation/dev-tools/kunit/. 115 other computer. You will get the so-called loopback device which 126 <file:Documentation/networking/ip-sysctl.rst>. [all …]
|