| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | arm,pl18x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Ulf Hansson <ulf.hansson@linaro.org> 20 - $ref: /schemas/arm/primecell.yaml# 21 - $ref: mmc-controller.yaml# 29 - arm,pl180 30 - arm,pl181 31 - arm,pl18x [all …]
|
| /linux/scripts/ |
| H A D | Kbuild.include | 1 # SPDX-License-Identifier: GPL-2.0 11 space_escape := _-_SPACE_-_ 20 # Usage: $(call test-lt, $(CONFIG_LLD_VERSION), 150000) 25 test-ge = $(intcmp $(strip $1)0, $(strip $2)0,,y,y) 26 test-gt = $(intcmp $(strip $1)0, $(strip $2)0,,,y) 28 test-ge = $(shell test $(strip $1)0 -ge $(strip $2)0 && echo y) 29 test-gt = $(shell test $(strip $1)0 -gt $(strip $2)0 && echo y) 31 test-le = $(call test-ge, $2, $1) 32 test-lt = $(call test-gt, $2, $1) 36 dot-target = $(dir $@).$(notdir $@) [all …]
|
| H A D | Makefile.modinst | 1 # SPDX-License-Identifier: GPL-2.0 12 install-y := 14 ifeq ($(KBUILD_EXTMOD)$(sign-only),) 17 $(shell rm -fr $(MODLIB)/kernel $(MODLIB)/build) 19 install-$(CONFIG_MODULES) += $(addprefix $(MODLIB)/, build modules.order) 22 $(call cmd,symlink) 25 cmd_symlink = ln -s $(CURDIR) $@ 28 $(call cmd,install_modorder) 34 install-y += $(addprefix $(MODLIB)/, modules.builtin modules.builtin.modinfo) 36 install-$(CONFIG_BUILTIN_MODULE_RANGES) += $(MODLIB)/modules.builtin.ranges [all …]
|
| H A D | leaking_addresses.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 7 # - Scans dmesg output. 8 # - Walks directory tree and parses each file (for each directory in @DIRS). 10 # Use --debug to output path before parsing, this is useful to find files that 42 # Kernel addresses vary by architecture. We can only auto-detect the following 43 # architectures (using `uname -m`). (flag --32-bit overrides auto-detection.) 57 my $opt_32bit = 0; # Scan 32-bit kernel. 58 my $page_offset_32bit = 0; # Page offset for 32-bit kernel. 65 '/proc/device-tree', 95 -o, --output-raw=<file> Save results for future processing. [all …]
|
| /linux/tools/perf/ |
| H A D | builtin-daemon.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <subcmd/parse-options.h> 40 * OK - session is up and running 41 * RECONFIG - session is pending for reconfiguration, 43 * KILL - session is pending to be killed 49 * - reads config file and setup session objects 52 * OK - no change needed 53 * RECONFIG - session needs to be changed 55 * KILL - session needs to be killed 59 * - scans session objects and does following actions [all …]
|
| H A D | builtin-record.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * builtin-record.c 6 * (or a CPU, or a PID) into the perf.data output file - for 11 #include "util/build-id.h" 12 #include <subcmd/parse-options.h> 14 #include "util/parse-events.h" 38 #include "util/parse-branch-options.h" 39 #include "util/parse-regs-options.h" 42 #include "util/perf-hooks.h" 43 #include "util/cpu-set-sched.h" [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | ste-href.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include "ste-href-family-pinctrl.dtsi" 17 compatible = "simple-battery"; 18 battery-type = "lithium-ion-polymer"; 21 thermal-zones { 22 battery-thermal { 24 polling-delay = <0>; [all …]
|
| H A D | ste-snowball.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2011 ST-Ericsson AB 6 /dts-v1/; 7 #include "ste-db9500.dtsi" 8 #include "ste-href-ab8500.dtsi" 9 #include "ste-href-family-pinctrl.dtsi" 13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500"; 21 compatible = "simple-battery"; 22 battery-type = "lithium-ion-polymer"; 25 thermal-zones { [all …]
|
| H A D | ste-nomadik-stn8815.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree for the ST-Ericsson Nomadik 8815 STn8815 SoC 6 #include <dt-bindings/gpio/gpio.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 18 L2: cache-controller { 19 compatible = "arm,l210-cache"; 21 interrupt-parent = <&vica>; 23 cache-unified; 24 cache-level = <2>; [all …]
|
| /linux/drivers/nvme/host/ |
| H A D | rdma.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2015-2016 HGST, a Western Digital Company. 14 #include <linux/blk-mq.h> 15 #include <linux/blk-integrity.h> 25 #include <linux/nvme-rdma.h> 161 return queue - queue->ctrl->queues; in nvme_rdma_queue_idx() 167 queue->ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_rdma_poll_queue() 168 queue->ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_poll_queue() 173 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_rdma_inline_data_size() 177 size_t capsule_size, enum dma_data_direction dir) in nvme_rdma_free_qe() argument [all …]
|
| /linux/include/linux/ |
| H A D | lsm_hook_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Copyright (C) 2001 Greg Kroah-Hartman <greg@kroah.com> 12 * Copyright (C) 2015 Casey Schaufler <casey@schaufler-ca.com> 60 LSM_HOOK(int, -ENOPARAM, fs_context_parse_param, struct fs_context *fc, 84 LSM_HOOK(int, -EOPNOTSUPP, dentry_init_security, struct dentry *dentry, 91 LSM_HOOK(int, 0, path_unlink, const struct path *dir, struct dentry *dentry) 92 LSM_HOOK(int, 0, path_mkdir, const struct path *dir, struct dentry *dentry, 94 LSM_HOOK(int, 0, path_rmdir, const struct path *dir, struct dentry *dentry) 95 LSM_HOOK(int, 0, path_mknod, const struct path *dir, struct dentry *dentry, 100 LSM_HOOK(int, 0, path_symlink, const struct path *dir, struct dentry *dentry, [all …]
|
| /linux/drivers/infiniband/ulp/isert/ |
| H A D | ib_isert.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Nicholas A. Bellinger <nab@linux-iscsi.org> 50 isert_put_response(struct iscsit_conn *conn, struct iscsit_cmd *cmd); 70 return -EINVAL; in isert_sg_tablesize_set() 76 isert_prot_cmd(struct isert_conn *conn, struct se_cmd *cmd) in isert_prot_cmd() argument 78 return (conn->pi_support && in isert_prot_cmd() 79 cmd->prot_op != TARGET_PROT_NORMAL); in isert_prot_cmd() 88 ib_event_msg(e->event), e->event, isert_conn); in isert_qp_event_callback() 90 switch (e->event) { in isert_qp_event_callback() 92 rdma_notify(isert_conn->cm_id, IB_EVENT_COMM_EST); in isert_qp_event_callback() [all …]
|
| /linux/tools/perf/tests/ |
| H A D | builtin-test.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * builtin-test.c 29 #include <subcmd/parse-options.h> 30 #include <subcmd/run-command.h> 37 #include <subcmd/exec-cmd.h> 40 #include "tests-scripts.h" 161 for (idx = 0; (suite)->test_cases && (suite)->test_cases[idx].name != NULL; idx++) 165 DIR *dir = opendir("/proc/self/fd"); in close_parent_fds() local 168 while ((ent = readdir(dir))) { in close_parent_fds() 172 if (ent->d_type != DT_LNK) in close_parent_fds() [all …]
|
| /linux/security/ |
| H A D | security.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com> 9 * Copyright (C) 2023 Microsoft Corporation <paul@paul-moore.com> 25 #include <linux/backing-dev.h> 101 /* Boot-time LSM user choice */ 169 if (!lsm->enabled) in is_enabled() 172 return *lsm->enabled; in is_enabled() 182 * a hard-coded location for storing the default enabled state. in set_enabled() 184 if (!lsm->enabled) { in set_enabled() 186 lsm->enabled = &lsm_enabled_true; in set_enabled() [all …]
|
| /linux/security/selinux/ |
| H A D | hooks.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Security-Enhanced Linux (SELinux) security module 13 * Copyright (C) 2003-2008 Red Hat, Inc., James Morris <jmorris@redhat.com> 15 * Copyright (C) 2004-2005 Trusted Computer Solutions, Inc. 17 * Copyright (C) 2006, 2007, 2009 Hewlett-Packard Development Company, L.P. 18 * Paul Moore <paul@paul-moore.com> 81 #include <linux/posix-timers.h> 94 #include <linux/io_uring/cmd.h> 155 * selinux_secmark_enabled - Check to see if SECMARK is currently enabled 172 * selinux_peerlbl_enabled - Check to see if peer labeling is currently enabled [all …]
|
| /linux/security/apparmor/ |
| H A D | lsm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. 210 * common_perm - basic common permission check wrapper fn for paths 235 * common_perm_cond - common permission wrapper around inode cond 244 vfsuid_t vfsuid = i_uid_into_vfsuid(mnt_idmap(path->mnt), in common_perm_cond() 245 d_backing_inode(path->dentry)); in common_perm_cond() 248 d_backing_inode(path->dentry)->i_mode in common_perm_cond() 251 if (!path_mediated_fs(path->dentry)) in common_perm_cond() 258 * common_perm_dir_dentry - common permission wrapper when path is dir, dentry [all …]
|
| /linux/security/smack/ |
| H A D | smack_lsm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Casey Schaufler <casey@schaufler-ca.com> 11 * Copyright (C) 2007 Casey Schaufler <casey@schaufler-ca.com> 12 * Copyright (C) 2009 Hewlett-Packard Development Company, L.P. 13 * Paul Moore <paul@paul-moore.com> 45 #include <linux/io_uring/cmd.h> 58 * SMACK64 - for access control, 59 * SMACK64TRANSMUTE - label initialization, 60 * Not saved on files - SMACK64IPIN and SMACK64IPOUT, 61 * Must be set explicitly - SMACK64EXEC and SMACK64MMAP [all …]
|
| /linux/tools/testing/ktest/ |
| H A D | ktest.pl | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Copyright 2010 - Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 69 "GRUB_REBOOT" => "grub2-reboot", 70 "GRUB_BLS_GET" => "grubby --info=ALL", 78 "LOCALVERSION" => "-test", 81 "TARGET_IMAGE" => "/boot/vmlinuz-test", 426 i.e. -j20 437 …POWER_CYCLE = wget --no-proxy -O /dev/null -q --auth-no-challenge 'http://admin:admin\@power/outl… 448 CONSOLE = nc -d localhost 3001 [all …]
|
| /linux/sound/soc/sof/intel/ |
| H A D | hda.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 20 #include "../sof-client-probes.h" 21 #include "../sof-audio.h" 37 /* Legacy HDA registers and bits used - width [all...] |
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_pf.c | 1 // SPDX-License-Identifier: GPL-2.0 62 if (pf->xdp_prog && new_mtu > MAX_XDP_MTU) { in otx2_change_mtu() 64 netdev->mtu); in otx2_change_mtu() 65 return -EINVAL; in otx2_change_mtu() 71 netdev->mtu, new_mtu); in otx2_change_mtu() 72 WRITE_ONCE(netdev->mtu, new_mtu); in otx2_change_mtu() 82 int irq, vfs = pf->total_vfs; in otx2_disable_flr_me_intr() 86 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFME0); in otx2_disable_flr_me_intr() 91 irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFFLR0); in otx2_disable_flr_me_intr() 97 otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in otx2_disable_flr_me_intr() [all …]
|
| H A D | otx2_common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 247 /* MSI-X */ 562 /* af_xdp zero-copy */ 568 return (pdev->device == PCI_DEVID_OCTEONTX2_RVU_AFVF) || in is_otx2_lbkvf() 569 (pdev->device == PCI_DEVID_RVU_REP); in is_otx2_lbkvf() 574 return (pdev->revision == 0x00) && in is_96xx_A0() 575 (pdev->subsystem_device == PCI_SUBSYS_DEVID_96XX_RVU_PFVF); in is_96xx_A0() 580 return (pdev->revision == 0x01) && in is_96xx_B0() 581 (pdev->subsystem_device == PCI_SUBSYS_DEVID_96XX_RVU_PFVF); in is_96xx_B0() 586 return pdev->device == PCI_DEVID_OCTEONTX2_SDP_REP; in is_otx2_sdp_rep() [all …]
|
| /linux/tools/power/pm-graph/ |
| H A D | sleepgraph.py | 2 # SPDX-License-Identifier: GPL-2.0-only 21 # https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overview.html 23 # git@github.com:intel/pm-graph 51 # ----------------- LIBRARIES -------------------- 74 print('[%09.3f] %s' % (time.time()-mystarttime, msg)) 82 # ----------------- CLASSES -------------------- 86 # A global, single-instance container used to 108 cgtest = -1 183 tmstart = 'SUSPEND START %Y%m%d-%H:%M:%S.%f' 184 tmend = 'RESUME COMPLETE %Y%m%d-%H:%M:%S.%f' [all …]
|
| /linux/drivers/iio/ |
| H A D | industrialio-buffer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * - Better memory allocation techniques? 10 * - Alternative access techniques? 18 #include <linux/dma-buf.h> 19 #include <linux/dma-fence.h> 20 #include <linux/dma-resv.h> 30 #include <linux/iio/iio-opaque.h> 55 enum dma_data_direction dir; member 72 return !list_empty(&buf->buffer_list); in iio_buffer_is_active() 77 return buf->access->data_available(buf); in iio_buffer_data_available() [all …]
|
| /linux/io_uring/ |
| H A D | io_uring.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * through a control-dependency in io_get_cqe (smp_store_release to 39 * Copyright (C) 2018-2019 Jens Axboe 40 * Copyright (c) 2018-2019 Christoph Hellwig 69 #include <linux/io_uring/cmd.h> 80 #include "io-wq.h" 137 * so that tests against ->cq_wait_nr would fail and skip wake_up(). 139 #define IO_CQ_WAKE_INIT (- 2590 const sigset_t __user *sig; global() member [all...] |
| /linux/fs/smb/client/ |
| H A D | cifsglob.h | 1 /* SPDX-License-Identifier: LGPL-2.1 */ 59 * max attribute cache timeout (jiffies) - 2^30 113 #define CIFS_DFS_ROOT_SES(ses) ((ses)->dfs_root_ses ?: (ses)) 225 struct shash_desc *aes_cmac; /* block-cipher based MAC function, for SMB3 signatures */ 227 struct crypto_aead *enc; /* smb3 encryption AEAD TFM (AES-CCM and AES-GCM) */ 228 struct crypto_aead *dec; /* smb3 decryption AEAD TFM (AES-CCM and AES-GCM) */ 340 * message field DataRemaining for out-of-band data read (e.g through 472 /* open a file for non-posix mounts */ 475 /* set fid protocol-specific info */ 497 /* open dir, start readdir */ [all …]
|