/openbmc/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 …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_proto_dccp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 * - REQUEST: 31 * A client MAY give up on its DCCP-Requests after some time 34 * - RESPOND: 41 * - PARTOPEN: 48 * - OPEN: 54 * - CLOSEREQ/CLOSING: 59 * round-trip times and should back off to not less than once every 62 * - TIMEWAIT: 95 #define sIG CT_DCCP_IGNORE macro [all …]
|
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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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) 41 modules := $(call read-file, $(MODORDER)) 53 suffix-y := 54 suffix-$(CONFIG_MODULE_COMPRESS_GZIP) := .gz [all …]
|
/openbmc/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 …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | maketype.py | 4 # SPDX-License-Identifier: GPL-2.0-only 62 sig = inspect.signature(obj) 63 args = list(sig.parameters.keys()) 64 …defaults = list(s for s in sig.parameters.keys() if sig.parameters[s].default != inspect.Parameter… 73 optional |= set(flaglist[-len(defaults):]) 99 for name in dir(types):
|
H A D | gpg_sign.py | 4 # SPDX-License-Identifier: GPL-2.0-only 21 self.gpg_agent_bin = bb.utils.which(os.getenv('PATH'), "gpg-agent") 26 self.gpg_cmd += ["--agent-program=%s|--auto-expand-secmem" % (self.gpg_agent_bin)] 34 …cmd = self.gpg_cmd + ["--no-permission-warning", "--batch", "--yes", "--export", "-o", output_file] 36 cmd += ["--homedir", self.gpg_path] 38 cmd += ["--armor"] 45 cmd = self.rpm_bin + " --addsign --define '_gpg_name %s' " % keyid 46 …gpg_args = '--no-permission-warning --batch --passphrase=%s --agent-program=%s|--auto-expand-secme… 48 gpg_args += ' --pinentry-mode=loopback' 49 cmd += "--define '_gpg_sign_cmd_extra_args %s' " % gpg_args [all …]
|
/openbmc/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 …]
|
/openbmc/qemu/tests/tcg/multiarch/linux/ |
H A D | linux-test.c | 85 DIR *dir; in test_file() local 88 char template[] = "/tmp/linux-test-XXXXXX"; in test_file() 109 vecs[1].iov_len = (FILE_BUF_SIZE / 2) - 16; in test_file() 132 vecs[1].iov_len = FILE_BUF_SIZE - FOFFSET - 32; in test_file() 134 if (len != FILE_BUF_SIZE - FOFFSET) in test_file() 136 if (memcmp(buf + FOFFSET, buf3, FILE_BUF_SIZE - FOFFSET) != 0) in test_file() 184 dir = opendir(tmpdir); in test_file() 185 if (!dir) in test_file() 189 de = readdir64(dir); in test_file() 192 if (strcmp(de->d_name, ".") != 0 && in test_file() [all …]
|
/openbmc/qemu/util/ |
H A D | oslib-posix.c | 2 * os-posix-lib.c 4 * Copyright (c) 2003-2008 Fabrice Bellard 37 #include "qemu/error-report.h" 44 #include "qemu/thread-context.h" 45 #include "qemu/main-loop.h" 61 #include "qemu/mmap-alloc.h" 114 int qemu_kill_thread(int tid, int sig) in qemu_kill_thread() argument 117 return syscall(__NR_tgkill, getpid(), tid, sig); in qemu_kill_thread() 119 return thr_kill2(getpid(), tid, sig); in qemu_kill_thread() 121 return _lwp_kill(tid, sig); in qemu_kill_thread() [all …]
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | meson.options | 2 …/github.com/openbmc/docs/blob/master/architecture/code-update/flash-layout.md#supported-filesystem… 3 # - static: NOR flash configured with fixed-sized MTD partitions. 4 # - ubi: NOR flash device configured with UBI volumes. 5 # - mmc: eMMC flash device configured with ext4 filesystems. 7 'bmc-layout', 16 'host-bios-upgrade', 23 'sync-bmc-files', 32 'verify-signature', 39 'usb-code-update', 46 'software-update-dbus-interface', [all …]
|
/openbmc/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 …]
|
/openbmc/phosphor-bmc-code-mgmt/bmc/test/ |
H A D | utest.cpp | 50 auto version = "test-version"; in TEST_F() 87 auto version = "test-version"; in TEST_F() 104 auto releasePath = _directory + "/" + "os-release"; in TEST_F() 105 auto version = "1.2.3-test-version"; in TEST_F() 119 auto releasePath = _directory + "/" + "os-release"; in TEST_F() 120 auto version = "9.88.1-test-version"; in TEST_F() 135 auto version = "test-id"; in TEST_F() 158 auto releasePath = _directory + "/" + "os-release"; in TEST_F() 159 auto ExtendedVersion = "9.88.1-test-ExtendedVersion"; in TEST_F() 174 static constexpr auto opensslCmd = "openssl dgst -sha256 -sign "; [all …]
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | sstate.bbclass | 4 # SPDX-License-Identifier: MIT 11 SSTATE_MANIFESTS ?= "${TMPDIR}/sstate-control" 12 SSTATE_MANFILEPREFIX = "${SSTATE_MANIFESTS}/manifest-${SSTATE_MANMACH}-${PN}" 19 limit = 254 - 8 31 …ail = (limit - len(hash + "_" + taskname + extension) - len(components[0]) - len(components[1]) - … 42 SSTATE_PKGSPEC = "sstate:${PN}:${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}:${PV}:${PR}:${SSTATE… 60 # sdk-provides-dummy-nativesdk and nativesdk-buildtools-perl-dummy overlap for different SDKMACHINE 61 …= "${DEPLOY_DIR_RPM}/sdk_provides_dummy_nativesdk/ ${DEPLOY_DIR_IPK}/sdk-provides-dummy-nativesdk/" 62 …ES += "${DEPLOY_DIR_RPM}/buildtools_dummy_nativesdk/ ${DEPLOY_DIR_IPK}/buildtools-dummy-nativesdk/" 63 # target-sdk-provides-dummy overlaps that allarch is disabled when multilib is used [all …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-daemon.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <subcmd/parse-options.h> 39 * OK - session is up and running 40 * RECONFIG - session is pending for reconfiguration, 42 * KILL - session is pending to be killed 48 * - reads config file and setup session objects 51 * OK - no change needed 52 * RECONFIG - session needs to be changed 54 * KILL - session needs to be killed 58 * - scans session objects and does following actions [all …]
|
/openbmc/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: 36 static void int_exit(int sig) in int_exit() argument 48 "This program will upload and attach a HID-BPF program to the given device.\n" in usage() 52 "Hit Ctrl-C to unbind the program and reset the device\n"); in usage() 57 const char *str_id, *dir; in get_hid_id() local 62 snprintf(uevent, sizeof(uevent) - 1, "%s/uevent", path); in get_hid_id() 66 return -ENOENT; in get_hid_id() 70 dir = basename((char *)path); in get_hid_id() 72 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 43 static void int_exit(int sig) in int_exit() argument 54 " -r N\t set the given resolution to the device (number of ticks per 360°)\n\n", in usage() 59 "- a resolution (-r) of 3600 will report 3600 'ticks' in one full rotation\n" in usage() 61 "- any other resolution will report N 'ticks' in a full rotation with haptic\n" in usage() 70 const char *str_id, *dir; in get_hid_id() local 75 snprintf(uevent, sizeof(uevent) - 1, "%s/uevent", path); in get_hid_id() 79 return -ENOENT; in get_hid_id() [all …]
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved. 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 40 #include <linux/dma-buf.h> 41 #include <linux/dma-resv.h> 63 struct mlx5_ib_dev *dev = to_mdev(pd->device); in set_mkc_access_pd_addr_fields() 72 if (MLX5_CAP_GEN(dev->mdev, relaxed_ordering_write)) in set_mkc_access_pd_addr_fields() 75 if (MLX5_CAP_GEN(dev->mdev, relaxed_ordering_read) || in set_mkc_access_pd_addr_fields() 76 (MLX5_CAP_GEN(dev->mdev, in set_mkc_access_pd_addr_fields() 78 pcie_relaxed_ordering_enabled(dev->mdev->pdev))) in set_mkc_access_pd_addr_fields() [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/ |
H A D | CVE-2019-13232_p2.patch | 3 Date: Tue, 11 Jun 2019 22:01:18 -0700 27 CVE: CVE-2019-13232 28 Upstream-Status: Backport 31 Signed-off-by: Dan Tran <dantran@microsoft.com> 32 --- 33 extract.c | 190 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 38 5 files changed, 204 insertions(+), 1 deletion(-) 40 diff --git a/extract.c b/extract.c 42 --- a/extract.c 44 @@ -321,6 +321,125 @@ static ZCONST char Far UnsupportedExtraField[] = [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|