Home
last modified time | relevance | path

Searched +full:- +full:- +full:tmp +full:- +full:dir (Results 1 – 25 of 663) sorted by relevance

12345678910>>...27

/openbmc/linux/drivers/dma/dw-edma/
H A Ddw-edma-v0-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2018-2019 Synopsys, Inc. and/or its affiliates.
11 #include <linux/io-64-nonatomic-lo-hi.h>
13 #include "dw-edma-core.h"
14 #include "dw-edma-v0-core.h"
15 #include "dw-edma-v0-regs.h"
16 #include "dw-edma-v0-debugfs.h"
30 return dw->chip->reg_base; in __dw_regs()
34 writel(value, &(__dw_regs(dw)->name))
37 readl(&(__dw_regs(dw)->name))
[all …]
H A Ddw-hdma-v0-core.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/io-64-nonatomic-lo-hi.h>
11 #include "dw-edma-core.h"
12 #include "dw-hdma-v0-core.h"
13 #include "dw-hdma-v0-regs.h"
14 #include "dw-hdma-v0-debugfs.h"
28 return dw->chip->reg_base; in __dw_regs()
32 __dw_ch_regs(struct dw_edma *dw, enum dw_edma_dir dir, u16 ch) in __dw_ch_regs() argument
34 if (dir == EDMA_DIR_WRITE) in __dw_ch_regs()
35 return &(__dw_regs(dw)->ch[ch].wr); in __dw_ch_regs()
[all …]
/openbmc/linux/arch/um/os-Linux/
H A Dumid.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
30 char dir[512] = { '\0' }; in make_uml_dir() local
36 err = -ENOENT; in make_uml_dir()
43 strscpy(dir, home, sizeof(dir)); in make_uml_dir()
46 strlcat(dir, uml_dir, sizeof(dir)); in make_uml_dir()
47 len = strlen(dir); in make_uml_dir()
48 if (len > 0 && dir[len - 1] != '/') in make_uml_dir()
49 strlcat(dir, "/", sizeof(dir)); in make_uml_dir()
51 err = -ENOMEM; in make_uml_dir()
[all …]
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_fs.c3 * Copyright (c) 2006 - 2012 QLogic Corporation. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
48 #define private2dd(file) (file_inode(file)->i_private)
50 static int qibfs_mknod(struct inode *dir, struct dentry *dentry, in qibfs_mknod() argument
55 struct inode *inode = new_inode(dir->i_sb); in qibfs_mknod()
59 error = -EPERM; in qibfs_mknod()
63 inode->i_ino = get_next_ino(); in qibfs_mknod()
64 inode->i_mode = mode; in qibfs_mknod()
65 inode->i_uid = GLOBAL_ROOT_UID; in qibfs_mknod()
[all …]
/openbmc/linux/lib/
H A Dfault-inject.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/fault-inject.h>
33 attr->probability = probability; in setup_fault_attr()
34 attr->interval = interval; in setup_fault_attr()
35 atomic_set(&attr->times, times); in setup_fault_attr()
36 atomic_set(&attr->space, space); in setup_fault_attr()
44 if (attr->verbose > 0 && __ratelimit(&attr->ratelimit_state)) { in fail_dump()
47 "space %d, times %d\n", attr->dname, in fail_dump()
48 attr->interval, attr->probability, in fail_dump()
49 atomic_read(&attr->space), in fail_dump()
[all …]
/openbmc/openbmc/meta-security/recipes-ids/samhain/files/
H A Dsamhain-samhainrc.patch3 Date: Fri Jun 22 16:38:20 2012 -0400
5 Make samhainrc OE-friendly.
12 Upstream-Status: Inappropriate [configuration]
14 Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
16 diff --git a/samhainrc.linux b/samhainrc.linux
18 --- a/samhainrc.linux
20 @@ -74,7 +74,6 @@ dir = 0/
22 file = /tmp
24 -file = /media
28 @@ -93,19 +92,10 @@ dir = 99/etc
[all …]
H A Dsamhain-samhainrc-fix-files-dirs-path.patch3 Date: Mon, 3 Mar 2014 01:50:01 -0500
6 Upstream-Status: Inappropriate [configuration]
8 Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
9 ---
10 samhainrc.linux | 15 +++++++--------
11 1 file changed, 7 insertions(+), 8 deletions(-)
13 diff --git a/samhainrc.linux b/samhainrc.linux
15 --- a/samhainrc.linux
17 @@ -93,7 +93,6 @@ dir = 99/etc
21 -file = /etc/adjtime
[all …]
/openbmc/u-boot/fs/btrfs/
H A Dsubvolume.c1 // SPDX-License-Identifier: GPL-2.0+
3 * BTRFS filesystem implementation for U-Boot
16 u64 dir; in get_subvol_name() local
17 char tmp[max(BTRFS_VOL_NAME_MAX, BTRFS_NAME_MAX)]; in get_subvol_name() local
20 ptr = name + max_len - 1; in get_subvol_name()
24 subvolid = btrfs_lookup_root_ref(subvolid, &rref, tmp); in get_subvol_name()
26 if (subvolid == -1ULL) in get_subvol_name()
27 return -1; in get_subvol_name()
29 ptr -= rref.name_len + 1; in get_subvol_name()
33 memcpy(ptr + 1, tmp, rref.name_len); in get_subvol_name()
[all …]
/openbmc/openbmc/poky/meta/recipes-connectivity/openssh/openssh/
H A Dsshd_check_keys6 local DIR="$(dirname "$FILE")"
8 mkdir -p "$DIR"
9 rm -f ${FILE}.tmp
10 ssh-keygen -q -f "${FILE}.tmp" -N '' -t $TYPE
11 chmod go-rwx "$FILE.tmp"
13 mv -f "${FILE}.tmp.pub" "${FILE}.pub"
26 sync "${FILE}.pub" "$DIR" "${FILE}.tmp"
28 mv "${FILE}.tmp" "$FILE"
31 sync "$DIR"
35 if test -f /etc/default/ssh; then
[all …]
/openbmc/openbmc/meta-security/recipes-security/redhat-security/files/
H A Dfind-sh4tmp.sh14 # scripts. It will then search for the use of the tmp directory. If it finds
17 # rm -f /tmp/ or mkdir /tmp/ correctly. If you run across files that do that,
20 if [ $# -ge 2 ] ; then
26-compile rc.sysinit init.d/xfs diff-jars grub-install mailshar vncserver Xsession sysreport cross-
27 DIR="/"
28 if [ $# -eq 1 ] ; then
29 if [ -d "$1" ] ; then
30 DIR="$1"
36 tempfile=`mktemp /tmp/sh4.XXXXXX`
37 tempfile2=`mktemp /tmp/sh4.XXXXXX`
[all …]
/openbmc/linux/arch/ia64/scripts/
H A Dtoolchain-flags2 # SPDX-License-Identifier: GPL-2.0
4 # Check whether linker can handle cross-segment @segrel():
10 dir=$(dirname $0)
11 tmp=${TMPDIR:-/tmp}
12 out=$tmp/out$$
14 # Check whether cross-segment segment-relative relocs work fine. We need
17 $CC -nostdlib -static -Wl,-T$dir/check-segrel.lds $dir/check-segrel.S -o $out
18 res=$($OBJDUMP --full --section .rodata $out | fgrep 000 | cut -f3 -d' ')
19 rm -f $out
21 CPPFLAGS="$CPPFLAGS -DHAVE_BUGGY_SEGREL"
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dtmio-common.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include <linux/dma-direction.h>
20 #include "tmio-common.h"
26 return readq(priv->regbase + (reg << 1)); in tmio_sd_readq()
32 writeq(val, priv->regbase + (reg << 1)); in tmio_sd_writeq()
37 return readw(priv->regbase + (reg >> 1)); in tmio_sd_readw()
43 writew(val, priv->regbase + (reg >> 1)); in tmio_sd_writew()
50 if (priv->caps & TMIO_SD_CAP_64BIT) in tmio_sd_readl()
51 return readl(priv->regbase + (reg << 1)); in tmio_sd_readl()
52 else if (priv->caps & TMIO_SD_CAP_16BIT) { in tmio_sd_readl()
[all …]
/openbmc/linux/drivers/iio/accel/
H A Dmma9553.c1 // SPDX-License-Identifier: GPL-2.0-only
49 /* Pedometer status registers (R-only) */
70 #define MMA9553_STATUS_TO_BITNUM(bit) (ffs(bit) - 9)
94 /* Status register - activity field */
106 enum iio_event_direction dir; member
111 .dir = IIO_EV_DIR_NONE,
116 .dir = IIO_EV_DIR_RISING,
121 .dir = IIO_EV_DIR_FALLING,
126 .dir = IIO_EV_DIR_RISING,
131 .dir = IIO_EV_DIR_FALLING,
[all …]
/openbmc/u-boot/scripts/
H A DKbuild.include14 dot-target = $(dir $@).$(notdir $@)
17 # The temporary file to save gcc -MD generated dependencies must not
19 depfile = $(subst $(comma),_,$(dot-target).d)
50 # - If no file exist it is created
51 # - If the content differ the new file is used
52 # - If they are equal no change, and no timestamp update
53 # - stdin is piped in from the first prerequisite ($<) so one has
56 $(Q)set -e; \
58 mkdir -p $(dir $@); \
59 $(filechk_$(1)) < $< > $@.tmp; \
[all …]
/openbmc/qemu/hw/xen/
H A Dxen-hvm-common.c3 #include "qemu/error-report.h"
11 #include "hw/xen/xen-hvm-common.h"
12 #include "hw/xen/xen-bus.h"
18 #include "system/xen-mapcache.h"
77 if (xen_mr_is_memory(section->mr)) { in xen_set_memory()
81 xen_map_memory_section(xen_domid, state->ioservid, in xen_set_memory()
84 xen_unmap_memory_section(xen_domid, state->ioservid, in xen_set_memory()
95 memory_region_ref(section->mr); in xen_region_add()
103 memory_region_unref(section->mr); in xen_region_del()
110 MemoryRegion *mr = section->mr; in xen_io_add()
[all …]
/openbmc/linux/include/net/netfilter/
H A Dnf_conntrack_zones.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 return &ct->zone; in nf_ct_zone()
19 nf_ct_zone_init(struct nf_conntrack_zone *zone, u16 id, u8 dir, u8 flags) in nf_ct_zone_init() argument
21 zone->id = id; in nf_ct_zone_init()
22 zone->flags = flags; in nf_ct_zone_init()
23 zone->dir = dir; in nf_ct_zone_init()
30 struct nf_conntrack_zone *tmp) in nf_ct_zone_tmpl() argument
36 if (tmpl->zone.flags & NF_CT_FLAG_MARK) in nf_ct_zone_tmpl()
37 return nf_ct_zone_init(tmp, skb->mark, tmpl->zone.dir, 0); in nf_ct_zone_tmpl()
46 ct->zone = *zone; in nf_ct_zone_add()
[all …]
/openbmc/linux/arch/powerpc/crypto/
H A Daesp10-ppc.pl2 # SPDX-License-Identifier: GPL-2.0
12 # Copyright (c) 2006-2017, CRYPTOGAMS by <appro@openssl.org>
58 # The module is endian-agnostic in sense that it supports both big-
59 # and little-endian cases. Data alignment in parallelizable modes is
64 # is aligned programmatically, which in turn guarantees exception-
72 # Add XTS subroutine, 9x on little- and 12x improvement on big-endian
76 # Current large-block performance in cycles per byte processed with
77 # 128-bit key (less is better).
79 # CBC en-/decrypt CTR XTS
105 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
[all …]
/openbmc/linux/fs/udf/
H A Ddirectory.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <linux/crc-itu-t.h>
23 if (iter->fi.descTag.tagIdent != cpu_to_le16(TAG_IDENT_FID)) { in udf_verify_fi()
24 udf_err(iter->dir->i_sb, in udf_verify_fi()
26 iter->dir->i_ino, (unsigned long long)iter->pos, in udf_verify_fi()
27 le16_to_cpu(iter->fi.descTag.tagIdent)); in udf_verify_fi()
28 return -EFSCORRUPTED; in udf_verify_fi()
30 len = udf_dir_entry_len(&iter->fi); in udf_verify_fi()
31 if (le16_to_cpu(iter->fi.lengthOfImpUse) & 3) { in udf_verify_fi()
32 udf_err(iter->dir->i_sb, in udf_verify_fi()
[all …]
/openbmc/linux/drivers/mfd/
H A Dintel-lpss.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/clk-provider.h>
27 #include <linux/io-64-nonatomic-lo-hi.h>
31 #include "intel-lpss.h"
41 /* Offsets from lpss->priv */
117 .name = "dw-apb-uart",
123 .name = "pxa2xx-spi",
133 lpss->active_ltr = readl(lpss->priv + LPSS_PRIV_ACTIVELTR); in intel_lpss_cache_ltr()
134 lpss->idle_ltr = readl(lpss->priv + LPSS_PRIV_IDLELTR); in intel_lpss_cache_ltr()
139 struct dentry *dir; in intel_lpss_debugfs_add() local
[all …]
/openbmc/linux/arch/powerpc/include/asm/book3s/32/
H A Dkup.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <asm/book3s/32/mmu-hash.h>
32 unsigned long tmp; in uaccess_begin_32s() local
39 : "=&r"(tmp) in uaccess_begin_32s()
46 unsigned long tmp; in uaccess_end_32s() local
53 : "=&r"(tmp) in uaccess_end_32s()
60 unsigned long kuap = current->thread.kuap; in __kuap_save_and_lock()
62 regs->kuap = kuap; in __kuap_save_and_lock()
66 current->thread.kuap = KUAP_NONE; in __kuap_save_and_lock()
78 current->thread.kuap = KUAP_NONE; in __kuap_kernel_restore()
[all …]
/openbmc/openbmc/poky/scripts/lib/wic/canned-wks/
H A Ddirectdisk-multi-rootfs.wks1 # short-description: Create multi rootfs image using rootfs plugin
2 # long-description: Creates a partitioned disk image with two rootfs partitions
6 # - indirect rootfs references to image recipe(s):
7 # wic create directdisk-multi-indirect-recipes -e core-image-minimal \
8 # --rootfs-dir rootfs1=core-image-minimal
9 # --rootfs-dir rootfs2=core-image-minimal-dev
11 # - or paths to rootfs directories:
12 # wic create directdisk-multi-rootfs \
13 # --rootfs-dir rootfs1=tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/
14 # --rootfs-dir rootfs2=tmp/work/qemux86_64-poky-linux/core-image-minimal-dev/1.0-r0/rootfs/
[all …]
/openbmc/linux/sound/core/oss/
H A Dpcm_oss.c1 // SPDX-License-Identifier: GPL-2.0-or-later
36 static int adsp_map[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 1};
39 MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>, Abramo Bagnara <abramo@alsa-project.org>");
61 if (i->min < min) { in snd_interval_refine_min()
62 i->min = min; in snd_interval_refine_min()
63 i->openmin = openmin; in snd_interval_refine_min()
65 } else if (i->min == min && !i->openmin && openmin) { in snd_interval_refine_min()
66 i->openmin = 1; in snd_interval_refine_min()
69 if (i->integer) { in snd_interval_refine_min()
70 if (i->openmin) { in snd_interval_refine_min()
[all …]
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dhelp.py3 # SPDX-License-Identifier: GPL-2.0-only
35 pager.communicate(hlp.encode('utf-8'))
67 Dispatch to subcommand handler borrowed from combo-layer.
94 usage: wic [--version] | [--help] | [COMMAND [ARGS]]
102 overview wic overview - General overview of wic
103 plugins wic plugins - Overview and API
104 kickstart wic kickstart - wic kickstart reference
118 usage: wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>]
119 [-e | --image-name] [-s, --skip-build-check] [-D, --debug]
120 [-r, --rootfs-dir] [-b, --bootimg-dir]
[all …]
/openbmc/linux/scripts/
H A Dget_dvb_firmware2 # SPDX-License-Identifier: GPL-2.0-or-later
46 # ---------------------------------------------------------------
47 # Firmware-specific extraction subroutines
53 my $outfile = "dvb-fe-sp8870.fw";
54 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
71 my $outfile = "dvb-fe-sp887x.fw";
72 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
90 my $outfile = "dvb-fe-tda10045.fw";
91 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
108 my $outfile = "dvb-fe-tda10046.fw";
[all …]
/openbmc/linux/fs/hfsplus/
H A Dcatalog.c1 // SPDX-License-Identifier: GPL-2.0
21 k1p = k1->cat.parent; in hfsplus_cat_case_cmp_key()
22 k2p = k2->cat.parent; in hfsplus_cat_case_cmp_key()
24 return be32_to_cpu(k1p) < be32_to_cpu(k2p) ? -1 : 1; in hfsplus_cat_case_cmp_key()
26 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key()
34 k1p = k1->cat.parent; in hfsplus_cat_bin_cmp_key()
35 k2p = k2->cat.parent; in hfsplus_cat_bin_cmp_key()
37 return be32_to_cpu(k1p) < be32_to_cpu(k2p) ? -1 : 1; in hfsplus_cat_bin_cmp_key()
39 return hfsplus_strcmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_bin_cmp_key()
48 key->cat.parent = cpu_to_be32(parent); in hfsplus_cat_build_key()
[all …]

12345678910>>...27