| /linux/fs/xfs/ |
| H A D | xfs_qm_syscalls.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 30 * errno == -EEXIST here. in xfs_qm_scall_quotaoff() 32 if ((mp->m_qflags & flags) == 0) in xfs_qm_scall_quotaoff() 33 return -EEXIST; in xfs_qm_scall_quotaoff() 42 mutex_lock(&mp->m_quotainfo->qi_quotaofflock); in xfs_qm_scall_quotaoff() 43 mp->m_qflags &= ~(flags & XFS_ALL_QUOTA_ENFD); in xfs_qm_scall_quotaoff() 44 spin_lock(&mp->m_sb_lock); in xfs_qm_scall_quotaoff() 45 mp->m_sb.sb_qflags = mp->m_qflags; in xfs_qm_scall_quotaoff() 46 spin_unlock(&mp->m_sb_lock); in xfs_qm_scall_quotaoff() [all …]
|
| /linux/sound/oss/dmasound/ |
| H A D | dmasound_q40.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * - added versioning 12 * - put in and populated the hardware_afmts field. 13 * [0.2] - put in SNDCTL_DSP_GETCAPS value. 14 * [0.3] - put in default hard/soft settings. 66 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law() 72 return -EFAULT; in q40_ct_law() 76 count--; in q40_ct_law() 92 return -EFAULT; in q40_ct_s8() 96 count--; in q40_ct_s8() [all …]
|
| H A D | dmasound_atari.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * - added versioning 12 * - put in and populated the hardware_afmts field. 13 * [0.2] - put in SNDCTL_DSP_GETCAPS value. 14 * 01/02/2001 [0.3] - put in default hard/soft settings. 159 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ct_law() 165 if (dmasound.soft.stereo) in ata_ct_law() 171 return -EFAULT; in ata_ct_law() 173 count--; in ata_ct_law() 188 if (dmasound.soft.stereo) in ata_ct_s8() [all …]
|
| /linux/drivers/watchdog/ |
| H A D | bcm47xx_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright (C) 2012-2013 Hauke Mehrtens <hauke@hauke-m.de> 52 wdt->timer_set_ms(wdt, wdd->timeout * 1000); in bcm47xx_wdt_hard_keepalive() 66 wdt->timer_set(wdt, 0); in bcm47xx_wdt_hard_stop() 75 u32 max_timer = wdt->max_timer_ms; in bcm47xx_wdt_hard_set_timeout() 80 return -EINVAL; in bcm47xx_wdt_hard_set_timeout() 83 wdd->timeout = new_time; in bcm47xx_wdt_hard_set_timeout() 92 wdt->timer_set(wdt, 1); in bcm47xx_wdt_restart() 99 .start = bcm47xx_wdt_hard_start, 109 u32 next_tick = min(wdt->wdd.timeout * 1000, wdt->max_timer_ms); in bcm47xx_wdt_soft_timer_tick() [all …]
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_main.h | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 47 * Bytes offset below assume worst-case of a 64-bit system. 50 /** Bytes 1-8. Pointer to network device private structure. */ 53 /** Bytes 9-16. Pointer to sk_buff. */ 56 /** Bytes 17-24. Pointer to gather list. */ 59 /** Bytes 25-32. Physical address of skb->data or gather list. */ 62 /** Bytes 33-47. Piggybacked soft command, if any */ 66 /* BQL-related functions */ 83 blocks--; in octeon_swap_8B_data() [all …]
|
| /linux/Documentation/filesystems/smb/ |
| H A D | smbdirect.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 SMB Direct - SMB3 over RDMA 16 SMB Direct on the Linux SMB client can be tested against KSMBD - a 17 kernel-space SMB server. 21 - Install an RDMA device. As long as the RDMA device driver is supported 22 by the kernel, it should work. This includes both software emulators (soft 23 RoCE, soft iWARP) and hardware devices (InfiniBand, RoCE, iWARP). 25 - Install a kernel with SMB Direct support. The first kernel release to 29 - Install cifs-utils, which provides the `mount.cifs` command to mount SMB 32 - Configure the RDMA stack [all …]
|
| /linux/arch/x86/kernel/cpu/microcode/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2000-2006 Tigran Aivazian <aivazian.tigran@gmail.com> 7 * 2013-2016 Borislav Petkov <bp@alien8.de> 63 * All non cpu-hotplug-callback call sites use: 65 * - cpus_read_lock/unlock() to synchronize with 66 * the cpu-hotplug-callback call sites. 80 0, /* T-101 terminator */ 89 * - true: if update should stop 90 * - false: otherwise 206 * Can't use microcode_loader_disabled() here - .init section in load_ucode_ap() [all …]
|
| /linux/drivers/parisc/ |
| H A D | power.c | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * HP PARISC soft power switch driver 5 * Copyright (c) 2001-2023 Helge Deller <deller@gmx.de> 8 * Support of the soft power switch button may be enabled or disabled at 56 /* check, give feedback and start shutdown after one second */ 85 /* soft power switch enabled/disabled */ 90 .procname = "soft-power", 122 * Non-Gecko-style machines: in kpowerswd() 174 * be executed any longer. This function then re-enables 175 * the soft-power switch and allows the user to switch off [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | qcom-labibb-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom-labibb-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sumit Semwal <sumit.semwal@linaro.org> 20 - const: qcom,pmi8998-lab-ibb 21 - items: 22 - enum: 23 - qcom,pmi8950-lab-ibb 24 - const: qcom,pmi8998-lab-ibb [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | ucc_uart.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * If Soft-UART support is needed but not already present, then this driver 13 * will request and upload the "Soft-UART" microcode upon probe. The 30 #include <linux/dma-mapping.h> 42 * The GUMR flag for Soft UART. This would normally be defined in qe.h, 43 * but Soft-UART is a hack and we want to keep everything related to it in 46 #define UCC_SLOW_GUMR_H_SUART 0x00004000 /* Soft-UART */ 49 * soft_uart is 1 if we need to use Soft-UART mode 62 * Documentation/admin-guide/devices.txt. For the QE 63 * UART, we have major number 204 and minor numbers 46 - 49, which are the [all …]
|
| /linux/kernel/time/ |
| H A D | posix-cpu-timers.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/posix-timers.h> 20 #include "posix-timers.h" 28 pct->bases[CPUCLOCK_PROF].nextevt = cpu_limit * NSEC_PER_SEC; in posix_cputimers_group_init() 29 pct->timers_active = true; in posix_cputimers_group_init() 35 * tsk->signal->posix_cputimers.bases[clock].nextevt expiration cache if 39 * Returns 0 on success, -ESRCH on failure. Can fail if the task is exiting and 48 return -ESRCH; in update_rlimit_cpu() 102 ret = pid_for_clock(clock, false) ? 0 : -EINVAL; in validate_clock_permissions() 115 return pid_task(timer->it.cpu.pid, clock_pid_type(timer->it_clock)); in cpu_timer_task_rcu() [all …]
|
| /linux/kernel/ |
| H A D | watchdog.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Detect hard and soft lockups on a system 9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks 63 * Should we panic when a soft-lockup or hard-lockup occurs: 205 * Prevent multiple hard-lockup reports if one cpu is already in watchdog_hardlockup_check() 261 * watchdog_hardlockup_enable/disable can be implemented to start and stop when 262 * softlockup watchdog start and stop. The detector must select the 270 * Watchdog-detector specific API. 278 return -ENODEV; in watchdog_hardlockup_probe() 282 * watchdog_hardlockup_stop - Stop the watchdog for reconfiguration [all …]
|
| /linux/arch/powerpc/lib/ |
| H A D | restart_table.c | 5 unsigned long start; member 10 unsigned long start; member 21 /* Given an address, look for it in the soft mask table */ 27 unsigned long start = smte->start; in search_kernel_soft_mask_table() local 28 unsigned long end = smte->end; in search_kernel_soft_mask_table() 30 if (addr >= start && addr < end) in search_kernel_soft_mask_table() 45 unsigned long start = rte->start; in search_kernel_restart_table() local 46 unsigned long end = rte->end; in search_kernel_restart_table() 47 unsigned long fixup = rte->fixup; in search_kernel_restart_table() 49 if (addr >= start && addr < end) in search_kernel_restart_table()
|
| /linux/rust/kernel/time/ |
| H A D | hrtimer.rs | 1 // SPDX-License-Identifier: GPL-2.0 12 //! - Stopped: initialized but not started, or cancelled, or not restarted. 13 //! - Started: initialized and started or restarted. 14 //! - Running: executing the callback. 18 //! * Start 30 //! +--- 196 fn start(self, expires: <Self::TimerMode as HrTimerMode>::Expires) -> Self::TimerHandle; start() method 232 unsafe fn start(self, expires: <Self::TimerMode as HrTimerMode>::Expires) -> Self::TimerHandle; start() method 394 unsafe fn start(this: *const Self, expires: <Self::TimerMode as HrTimerMode>::Expires) { start() method [all...] |
| /linux/arch/arm/mach-mvebu/ |
| H A D | system-controller.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Gregory CLEMENT <gregory.clement@free-electrons.com> 9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 13 * but rather provide system-level features. This basic 14 * system-controller driver provides a device tree binding for those 19 * soft-reset, but it might be extended in the future. 28 #include "mvebu-soc-id.h" 79 .compatible = "marvell,orion-system-controller", 82 .compatible = "marvell,armada-370-xp-system-controller", 85 .compatible = "marvell,armada-375-system-controller", [all …]
|
| /linux/arch/mips/bcm63xx/ |
| H A D | setup.c | 29 * with "brcm,bmips-cbr-reg" in the "cpus" node. 44 /* soft reset all blocks */ in bcm6348_a1_reboot() 45 pr_info("soft-resetting all blocks ...\n"); in bcm6348_a1_reboot() 121 pr_info("triggering watchdog soft-reset...\n"); in bcm63xx_machine_reboot() 164 ioport_resource.start = 0; in plat_mem_setup()
|
| /linux/Documentation/driver-api/cxl/linux/ |
| H A D | overview.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 This section presents the configuration process of a CXL Type-3 memory device, 25 i) EFI Memory Map / E820 Consulted for Soft-Reserved 29 * Soft-Reserved IO Resource created for CFMWS entry 43 f) Init Finishes, Drivers start probing 66 * If auto-decoder (BIOS-programmed decoders), driver validates 69 * If user-configured, validation and associations are built at 70 decoder-commit time. 82 * kmem - dax device is converted to hotplug memory blocks 86 * hmem - dax device is left as daxdev to be accessed as a file.
|
| /linux/drivers/net/arcnet/ |
| H A D | arcnet.c | 2 * Linux ARCnet driver - device-independent routines 5 * Written 1994-1999 by Avery Pennarun. 6 * Written 1999-2000 by Martin Mares <mj@ucw.cz>. 27 * - Crynwr arcnet.com/arcether.com packet drivers. 28 * - arcnet.c v0.00 dated 1/1/94 and apparently by 29 * Donald Becker - it didn't work :) 30 * - skeleton.c v0.05 dated 11/16/93 by Donald Becker 32 * - RFC's 1201 and 1051 - re: TCP/IP over ARCnet 33 * - The official ARCnet COM9026 data sheets (!) thanks to 35 * - The official ARCnet COM20020 data sheets. [all …]
|
| /linux/drivers/media/platform/imagination/ |
| H A D | e5010-jpeg-enc-hw.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/ 7 * Author: David Huang <d-huang@ti.com> 14 #include "e5010-jpeg-enc-hw.h" 64 dev_warn(dev, "MMU soft reset timed out, forcing system soft reset\n"); in e5010_reset() 262 void e5010_hw_encode_start(void __iomem *core_base, u32 start) in e5010_hw_encode_start() argument 266 JASPER_CORE_CTRL_CR_JASPER_ENCODE_START_SHIFT, start); in e5010_hw_encode_start()
|
| /linux/include/linux/ |
| H A D | hrtimer.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * hrtimers - High-resolution kernel timers 19 #include <linux/percpu-defs.h> 26 * HRTIMER_MODE_ABS - Time value is absolute 27 * HRTIMER_MODE_REL - Time value is relative to now 28 * HRTIMER_MODE_PINNED - Timer is bound to CPU (is only considered 30 * HRTIMER_MODE_SOFT - Timer callback function will be executed in 31 * soft irq context 32 * HRTIMER_MODE_HARD - Timer callback function will be executed in 66 * The callback state is not part of the timer->state because clearing it would [all …]
|
| /linux/arch/openrisc/mm/ |
| H A D | init.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 59 * This is explicitly coded for two-level page tables, so if you need 64 phys_addr_t start, end; in map_ram() local 73 /* These mark extents of read-only kernel pages... in map_ram() 79 for_each_mem_range(i, &start, &end) { in map_ram() 80 p = (u32) start & PAGE_MASK; in map_ram() 94 "two-level page tables", in map_ram() 120 printk(KERN_INFO "%s: Memory: 0x%x-0x%x\n", __func__, in map_ram() 121 start, end); in map_ram() [all …]
|
| /linux/drivers/scsi/aacraid/ |
| H A D | src.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Copyright (c) 2000-2010 Adaptec, Inc. 10 * 2010-2015 PMC-Sierra, Inc. (aacraid@pmc-sierra.com) 11 * 2016-2017 Microsemi Corp. (aacraid@microsemi.com) 46 dev = ctx->dev; in aac_src_intr_message() 47 vector_no = ctx->vector_no; in aac_src_intr_message() 49 if (dev->msi_enabled) { in aac_src_intr_message() 83 if (!aac_sync_mode && !dev->msi_enabled) { in aac_src_intr_message() 88 if (dev->sync_fib) { in aac_src_intr_message() 89 if (dev->sync_fib->callback) in aac_src_intr_message() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-firmware-memmap | 10 However, on most architectures that firmware-provided memory 16 kexec needs the raw firmware-provided memory map to setup the 38 start The start address (as hexadecimal number with the 48 /sys/firmware/memmap/0/start 51 /sys/firmware/memmap/1/start 56 - System RAM 57 - ACPI Tables 58 - ACPI Non-volatile Storage 59 - Unusable memory 60 - Persistent Memory (legacy) [all …]
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-driver-speakup | 3 Contact: speakup@linux-speakup.org 10 Contact: speakup@linux-speakup.org 17 Contact: speakup@linux-speakup.org 24 Contact: speakup@linux-speakup.org 31 Contact: speakup@linux-speakup.org 40 Contact: speakup@linux-speakup.org 49 Contact: speakup@linux-speakup.org 55 Contact: speakup@linux-speakup.org 60 Contact: speakup@linux-speakup.org 66 Contact: speakup@linux-speakup.org [all …]
|
| /linux/Documentation/admin-guide/sysctl/ |
| H A D | vm.rst | 13 ------------------------------------------------------------------------------ 27 - admin_reserve_kbytes 28 - compact_memory 29 - compaction_proactiveness 30 - compact_unevictable_allowed 31 - defrag_mode 32 - dirty_background_bytes 33 - dirty_background_ratio 34 - dirty_bytes 35 - dirty_expire_centisecs [all …]
|