| /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/drivers/scsi/aic94xx/ |
| H A D | aic94xx_sds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 /* ---------- OCM stuff ---------- */ 28 char sig[2]; member 55 .sig = {0x4D, 0x4F}, /* signature */ 92 char sig[4]; member 108 * asd_read_ocm_seg - read an on chip memory (OCM) segment 120 if (unlikely(asd_ha->iospace)) in asd_read_ocm_seg() 123 for ( ; size > 0; size--, offs++, p++) in asd_read_ocm_seg() 130 struct asd_ocm_dir *dir, u32 offs) in asd_read_ocm_dir() argument 132 int err = asd_read_ocm_seg(asd_ha, dir, offs, sizeof(*dir)); in asd_read_ocm_dir() [all …]
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_proto_tcp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* (C) 1999-2001 Paul `Rusty' Russell 3 * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> 4 * (C) 2002-2013 Jozsef Kadlecsik <kadlec@netfilter.org> 5 * (C) 2006-2012 Patrick McHardy <kaber@trash.net> 35 closely. They're more complex. --RR */ 73 to ~13-30min depending on RTO. */ 89 #define sIG TCP_CONNTRACK_IGNORE macro 116 * SYN_SENT: SYN-only packet seen 117 * SYN_SENT2: SYN-only packet seen from reply dir, simultaneous open [all …]
|
| /linux/drivers/infiniband/ulp/iser/ |
| H A D | iser_memory.c | 3 * Copyright (c) 2013-2014 Mellanox Technologies. All rights reserved. 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 48 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_get_fr() 52 spin_lock_irqsave(&fr_pool->lock, flags); in iser_reg_desc_get_fr() 53 desc = list_first_entry(&fr_pool->list, in iser_reg_desc_get_fr() 55 list_del(&desc->list); in iser_reg_desc_get_fr() 56 spin_unlock_irqrestore(&fr_pool->lock, flags); in iser_reg_desc_get_fr() 64 struct iser_fr_pool *fr_pool = &ib_conn->fr_pool; in iser_reg_desc_put_fr() 67 spin_lock_irqsave(&fr_pool->lock, flags); in iser_reg_desc_put_fr() [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 …]
|
| H A D | stm32h743i-eval.dts | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 45 #include "stm32h7-pinctrl.dtsi" 48 model = "STMicroelectronics STM32H743i-EVAL board"; 49 compatible = "st,stm32h743i-eval", "st,stm32h743"; 53 stdout-path = "serial0:115200n8"; 65 vdda: regulator-vdda { 66 compatible = "regulator-fixed"; 67 regulator-name = "vdda"; [all …]
|
| H A D | stm32mp15xx-dhcor-testbench.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 17 stdout-path = "serial0:115200n8"; 20 sd_switch: regulator-sd_switch { 21 compatible = "regulator-gpio"; 22 regulator-name = "sd_switch"; 23 regulator-min-microvolt = <1800000>; 24 regulator-max-microvolt = <2900000>; 25 regulator-type = "voltage"; 26 regulator-always-on; 29 gpios-states = <0>; [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) 25 cmd_symlink = ln -s $(CURDIR) $@ 34 install-y += $(addprefix $(MODLIB)/, modules.builtin modules.builtin.modinfo) 36 install-$(CONFIG_BUILTIN_MODULE_RANGES) += $(MODLIB)/modules.builtin.ranges 43 modules := $(call read-file, modules.order) 55 suffix-y := [all …]
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs-srv-trace.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 40 __field(u8, dir) 52 struct rtrs_srv_con *con = id->con; 53 struct rtrs_path *s = con->c.path; 56 __entry->dir = id->dir; 57 __entry->state = srv_path->state; 58 __entry->errno = errno; 59 __entry->need_inval = need_inval; 60 __entry->always_invalidate = always_invalidate; 61 __entry->msg_id = id->msg_id; [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/drivers/firmware/ |
| H A D | qemu_fw_cfg.c | 7 * sysfs (read-only, under "/sys/firmware/qemu_fw_cfg/..."). 46 /* fw_cfg revision attribute, in /sys/firmware/qemu_fw_cfg top-level dir. */ 80 u32 ctrl = be32_to_cpu(READ_ONCE(d->control)); in fw_cfg_wait_for_control() 82 /* do not reorder the read to d->control */ in fw_cfg_wait_for_control() 99 ret = -ENOMEM; in fw_cfg_dma_transfer() 119 if (be32_to_cpu(READ_ONCE(d->control)) & FW_CFG_DMA_CTL_ERROR) { in fw_cfg_dma_transfer() 120 ret = -EIO; in fw_cfg_dma_transfer() 130 /* read chunk of given fw_cfg blob (caller responsible for sanity-check) */ 134 u32 glk = -1U; in fw_cfg_read_blob() 145 return -EINVAL; in fw_cfg_read_blob() [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 …]
|
| /linux/samples/hid/ |
| H A D | hid_mouse.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * This is a pure HID-BPF example, and should be considered as such: 35 static void int_exit(int sig) in int_exit() argument 47 "This program will upload and attach a HID-BPF program to the given device.\n" in usage() 51 "Hit Ctrl-C to unbind the program and reset the device\n"); in usage() 56 const char *str_id, *dir; in get_hid_id() local 61 snprintf(uevent, sizeof(uevent) - 1, "%s/uevent", path); in get_hid_id() 65 return -ENOENT; in get_hid_id() 69 dir = basename((char *)path); in get_hid_id() 71 str_id = dir + sizeof("0003:0001:0A37."); in get_hid_id() [all …]
|
| H A D | hid_surface_dial.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * - a resolution (-r) of 3600 will report 3600 "ticks" in one full rotation 8 * - any other resolution will report N "ticks" in a full rotation with haptic 42 static void int_exit(int sig) in int_exit() argument 53 " -r N\t set the given resolution to the device (number of ticks per 360°)\n\n", in usage() 58 "- a resolution (-r) of 3600 will report 3600 'ticks' in one full rotation\n" in usage() 60 "- any other resolution will report N 'ticks' in a full rotation with haptic\n" in usage() 69 const char *str_id, *dir; in get_hid_id() local 74 snprintf(uevent, sizeof(uevent) - 1, "%s/uevent", path); in get_hid_id() 78 return -ENOENT; in get_hid_id() [all …]
|
| /linux/fs/nfs/blocklayout/ |
| H A D | rpc_pipefs.c | 42 *p++ = cpu_to_be32(b->type); in nfs4_encode_simple() 43 *p++ = cpu_to_be32(b->simple.nr_sigs); in nfs4_encode_simple() 44 for (i = 0; i < b->simple.nr_sigs; i++) { in nfs4_encode_simple() 45 p = xdr_encode_hyper(p, b->simple.sigs[i].offset); in nfs4_encode_simple() 46 p = xdr_encode_opaque(p, b->simple.sigs[i].sig, in nfs4_encode_simple() 47 b->simple.sigs[i].sig_len); in nfs4_encode_simple() 55 struct net *net = server->nfs_client->cl_net; in bl_resolve_deviceid() 57 struct bl_dev_msg *reply = &nn->bl_mount_reply; in bl_resolve_deviceid() 67 mutex_lock(&nn->bl_mutex); in bl_resolve_deviceid() 68 bl_pipe_msg.bl_wq = &nn->bl_wq; in bl_resolve_deviceid() [all …]
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptpf_mbox.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 mutex_lock(&cptpf->lock); in forward_to_af() 36 msg = otx2_mbox_alloc_msg(&cptpf->afpf_mbox, 0, size); in forward_to_af() 38 mutex_unlock(&cptpf->lock); in forward_to_af() 39 return -ENOMEM; in forward_to_af() 44 msg->id = req->id; in forward_to_af() 45 msg->pcifunc = req->pcifunc; in forward_to_af() 46 msg->sig = req->sig; in forward_to_af() 47 msg->ver = req->ver; in forward_to_af() 49 ret = otx2_cpt_sync_mbox_msg(&cptpf->afpf_mbox); in forward_to_af() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | profiler.inc.h | 1 // SPDX-License-Identifier: GPL-2.0 172 for (int i = 0; i < ARRAY_SIZE(arr_struct->array); i++) in get_var_spid_index() 173 if (arr_struct->array[i].meta.pid == spid) in get_var_spid_index() 175 return -1; in get_var_spid_index() 184 ancestors_data->num_ancestors = 0; in populate_ancestors() 195 ancestors_data->ancestor_pids[num_ancestors] = ppid; in populate_ancestors() 196 ancestors_data->ancestor_exec_ids[num_ancestors] = in populate_ancestors() 198 ancestors_data->ancestor_start_time in populate_ancestors() 353 get_var_kill_data(struct pt_regs * ctx,int spid,int tpid,int sig) get_var_kill_data() argument 375 trace_var_sys_kill(void * ctx,int tpid,int sig) trace_var_sys_kill() argument 605 int sig = ctx->args[1]; tracepoint__syscalls__sys_enter_kill() local 820 BPF_KPROBE(kprobe__vfs_link,struct dentry * old_dentry,struct mnt_idmap * idmap,struct inode * dir,struct dentry * new_dentry,struct inode ** delegated_inode) BPF_KPROBE() argument 878 BPF_KPROBE(kprobe__vfs_symlink,struct inode * dir,struct dentry * dentry,const char * oldname) BPF_KPROBE() 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/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/fs/proc/ |
| H A D | base.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * 1999, Al Viro. Rewritten. Now it covers the whole per-process part. 11 * we allocate and fill in-core inodes upon lookup. They don't even 18 * 17-Jan-2005 25 * Embedded Linux Lab - 10LE Instituto Nokia de Tecnologia - INdT 35 * 21-Feb-2005 36 * Embedded Linux Lab - 10LE Instituto Nokia de Tecnologia - INdT 40 * 10-Mar-2005 41 * 10LE Instituto Nokia de Tecnologia - INdT: 61 #include <linux/generic-radix-tree.h> [all …]
|
| /linux/drivers/infiniband/core/ |
| H A D | rw.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/pci-p2pdma.h> 25 * be used for iWarp devices because of iWARP-specific limitations. Memory 33 if (dev->attrs.max_sgl_rd) in rdma_rw_can_use_mr() 47 enum dma_data_direction dir, int dma_nents) in rdma_rw_io_needs_mr() argument 49 if (dir == DMA_FROM_DEVICE) { in rdma_rw_io_needs_mr() 52 if (dev->attrs.max_sgl_rd && dma_nents > dev->attrs.max_sgl_rd) in rdma_rw_io_needs_mr() 66 max_pages = dev->attrs.max_pi_fast_reg_page_list_len; in rdma_rw_fr_page_list_len() 68 max_pages = dev->attrs.max_fast_reg_page_list_len; in rdma_rw_fr_page_list_len() 78 if (reg->mr->need_inval) { in rdma_rw_inv_key() [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> 70 return -EINVAL; in isert_sg_tablesize_set() 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() 104 struct isert_device *device = isert_conn->device; in isert_create_qp() 105 struct ib_device *ib_dev = device->ib_device; in isert_create_qp() [all …]
|