Home
last modified time | relevance | path

Searched +full:lower +full:- +full:case (Results 1 – 25 of 1048) sorted by relevance

12345678910>>...42

/openbmc/u-boot/arch/powerpc/lib/
H A Dbat_rw.c1 // SPDX-License-Identifier: GPL-2.0+
19 int write_bat (ppc_bat_t bat, unsigned long upper, unsigned long lower) in write_bat() argument
21 __maybe_unused int batn = -1; in write_bat()
26 case DBAT0: in write_bat()
27 mtspr (DBAT0L, lower); in write_bat()
31 case IBAT0: in write_bat()
32 mtspr (IBAT0L, lower); in write_bat()
35 case DBAT1: in write_bat()
36 mtspr (DBAT1L, lower); in write_bat()
40 case IBAT1: in write_bat()
[all …]
/openbmc/linux/arch/arm/kernel/
H A Dmodule.c1 // SPDX-License-Identifier: GPL-2.0-only
76 * A single PC-relative symbol reference is divided in up to 3 add or subtract
86 * -/+ 256 MiB, (2x8 + 12 == 28 bits), which means it has sufficient range for
87 * any in-kernel symbol reference (unless module PLTs are being used).
90 * load is that literal loads may miss in the D-cache, and generally lead to
91 * lower cache efficiency for variables that are referenced often from many
99 shift = val ? (31 - __fls(val)) & ~1 : 32; in get_group_rem()
104 } while (group--); in get_group_rem()
115 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate()
116 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate()
[all …]
/openbmc/sdbusplus/tools/sdbusplus/
H A Dnamedelement.py14 "Element interpreted by YAML parser as non-string; likely "
77 "case",
176 # If it is all upper case, return as all lower. ex. "MAC"
177 if re.match(r"^[A-Z0-9]*$", upper_name):
178 return upper_name.lower()
180 # If it doesn't start with 2 upper case, it isn't an acronym.
181 if not re.match(r"^[A-Z]{2}", upper_name):
182 return upper_name[0].lower() + upper_name[1:]
184 # If it is upper case followed by 'v[0-9]', treat it all as one word.
185 # ex. "IPv6Address" -> "ipv6Address"
[all …]
/openbmc/linux/fs/overlayfs/
H A Dparams.c1 // SPDX-License-Identifier: GPL-2.0-only
80 return ovl_parameter_uuid[config->uuid].name; in ovl_uuid_mode()
97 return ovl_parameter_xino[config->xino].name; in ovl_xino_mode()
115 return ovl_parameter_redirect_dir[config->redirect_mode].name; in ovl_redirect_mode()
134 return ovl_parameter_verity[config->verity_mode].name; in ovl_verity_mode()
208 return -EINVAL; in ovl_parse_param_split_lowerdirs()
223 return -EINVAL; in ovl_parse_param_split_lowerdirs()
235 int err = -EINVAL; in ovl_mount_dir_noesc()
267 int err = -ENOMEM; in ovl_mount_dir()
281 struct ovl_fs_context *ctx = fc->fs_private; in ovl_mount_dir_check()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 An overlay filesystem combines two filesystems - an 'upper' filesystem
7 and a 'lower' filesystem. When a name exists in both filesystems, the
9 'lower' filesystem is either hidden or, in the case of directories,
19 redirects when renaming directories by default. In this case it is
50 the index directory to map lower inodes to upper inodes by default.
51 In this case it is still possible to turn off index globally with the
55 The inodes index feature prevents breaking of lower hardlinks on copy
72 In this case, it is still possible to turn off NFS export support
79 the same lower dir. The full index may incur some overhead on mount
[all …]
H A Dexport.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (C) 2017-2018 CTERA Networks. All Rights Reserved.
41 * Before encoding a non-upper directory file handle from real layer N, we need
43 * lower decoded dentry. This is done by following the overlay ancestry up to a
53 * copied up and renamed, upper dir /a will be indexed by lower dir /a from
56 * dentry from the connected lower dentry /a/b/c.
61 * and when the time comes to decode the file handle from lower dentry /a/b/c,
66 * entry /a in the lower layers above layer N and find the indexed dir /a from
68 * will need to verify there are no redirects in lower layers above N. In the
82 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer()
[all …]
H A Dinode.c1 // SPDX-License-Identifier: GPL-2.0-only
26 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_setattr()
39 if (attr->ia_valid & ATTR_SIZE) { in ovl_setattr()
53 if (attr->ia_valid & ATTR_SIZE) { in ovl_setattr()
60 if (attr->ia_valid & (ATTR_KILL_SUID|ATTR_KILL_SGID)) in ovl_setattr()
61 attr->ia_valid &= ~ATTR_MODE; in ovl_setattr()
66 * filesystem rely on attr->ia_file in ovl_setattr()
68 attr->ia_valid &= ~ATTR_FILE; in ovl_setattr()
71 * If open(O_TRUNC) is done, VFS calls ->setattr with ATTR_OPEN in ovl_setattr()
73 * filesystem during open -> do not pass ATTR_OPEN. This in ovl_setattr()
[all …]
H A Dnamei.c1 // SPDX-License-Identifier: GPL-2.0-only
38 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect()
40 d->absolute_redirect = false; in ovl_check_redirect()
46 d->absolute_redirect = true; in ovl_check_redirect()
50 * that will stop further lookup in lower layers (d->stop=true) in ovl_check_redirect()
52 * element and that should force continue lookup in lower in ovl_check_redirect()
53 * layers (reset d->stop). in ovl_check_redirect()
55 d->stop = false; in ovl_check_redirect()
59 memcpy(buf, d->name.name, prelen); in ovl_check_redirect()
63 kfree(d->redirect); in ovl_check_redirect()
[all …]
/openbmc/linux/Documentation/filesystems/
H A Doverlayfs.rst1 .. SPDX-License-Identifier: GPL-2.0
10 overlay-filesystem functionality in Linux (sometimes referred to as
11 union-filesystems). An overlay-filesystem tries to present a
17 ---------------
25 While directories will report an st_dev from the overlay-filesystem,
26 non-directory objects may report an st_dev from the lower filesystem or
29 over the lifetime of a non-directory object. Many applications and
32 In the special case of all overlay layers on the same underlying
44 underlying filesystems rarely use the high inode number bits. In case
48 The "xino" feature can be enabled with the "-o xino=on" overlay mount option.
[all …]
/openbmc/qemu/tests/multiboot/
H A Dmmap.out4 === Running test case: mmap.elf ===
6 Lower memory: 639k
10 0x0 - 0x9fc00: type 1 [entry size: 20]
11 0x9fc00 - 0xa0000: type 2 [entry size: 20]
12 0xf0000 - 0x100000: type 2 [entry size: 20]
13 0x100000 - 0x7fe0000: type 1 [entry size: 20]
14 0x7fe0000 - 0x8000000: type 2 [entry size: 20]
15 0xfffc0000 - 0x100000000: type 2 [entry size: 20]
22 === Running test case: mmap.elf -m 1.1M ===
24 Lower memory: 639k
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbridge.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
26 return esw == priv->mdev->priv.eswitch; in mlx5_esw_bridge_dev_same_esw()
35 mdev = priv->mdev; in mlx5_esw_bridge_dev_same_hw()
36 esw_mdev = esw->dev; in mlx5_esw_bridge_dev_same_hw()
47 struct net_device *lower; in mlx5_esw_bridge_lag_rep_get() local
50 netdev_for_each_lower_dev(dev, lower, iter) { in mlx5_esw_bridge_lag_rep_get()
54 if (!mlx5e_eswitch_rep(lower)) in mlx5_esw_bridge_lag_rep_get()
57 priv = netdev_priv(lower); in mlx5_esw_bridge_lag_rep_get()
58 mdev = priv->mdev; in mlx5_esw_bridge_lag_rep_get()
59 if (mlx5_lag_is_shared_fdb(mdev) && mlx5_esw_bridge_dev_same_esw(lower, esw)) in mlx5_esw_bridge_lag_rep_get()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb.c1 // SPDX-License-Identifier: GPL-2.0-only
37 /* 2) clear MMCR0[PMAO] - docs say BESCR[PMEO] should do this */ in reset_ebb_with_clear_mask()
38 /* 3) set MMCR0[PMAE] - docs say BESCR[PME] should do this */ in reset_ebb_with_clear_mask()
48 /* 6) rfebb 1 - done in our caller */ in reset_ebb_with_clear_mask()
73 u64 count, upper, lower; in ebb_check_count() local
77 lower = ebb_state.stats.ebb_count * (sample_period - fudge); in ebb_check_count()
79 if (count < lower) { in ebb_check_count()
80 printf("PMC%d count (0x%llx) below lower limit 0x%llx (-0x%llx)\n", in ebb_check_count()
81 pmc, count, lower, lower - count); in ebb_check_count()
89 pmc, count, upper, count - upper); in ebb_check_count()
[all …]
/openbmc/linux/fs/ecryptfs/
H A Dfile.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 1997-2004 Erez Zadok
6 * Copyright (C) 2001-2004 Stony Brook University
7 * Copyright (C) 2004-2007 International Business Machines Corp.
26 * doesn't give us a chance to update the atime of the lower layer
28 * updates the atime of the lower level inode if generic_file_read
37 struct file *file = iocb->ki_filp; in ecryptfs_read_update_atime()
41 path = ecryptfs_dentry_to_lower_path(file->f_path.dentry); in ecryptfs_read_update_atime()
51 * doesn't give us a chance to update the atime of the lower layer inode. This
53 * lower level inode if generic_file_read returns without any errors. This is
[all …]
H A Dmain.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 1997-2003 Erez Zadok
6 * Copyright (C) 2001-2003 Stony Brook University
7 * Copyright (C) 2004-2007 International Business Machines Corp.
86 * the lower dentry and the lower mount set
88 * eCryptfs only ever keeps a single open file for every lower
89 * inode. All I/O operations to the lower inode occur through that
91 * lower dentry for that inode is created, this function creates the
92 * lower file struct and associates it with the eCryptfs
96 * The lower file will be opened with read/write permissions, if
[all …]
/openbmc/linux/fs/btrfs/
H A Dbackref.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include "disk-io.h"
18 * The value must be non-negative and must not be 0, 1 (which is a common return
27 * continue. Can return BTRFS_ITERATE_EXTENT_INODES_STOP or any other non-zero
78 * Time sequence acquired from btrfs_get_tree_mod_seq(), in case the
82 * commit roots when searching b+trees - this is a special case for
93 * extent is accessible. Can be NULL in case the caller does not care
187 * case we don't have multiple file extent items that point to the same
278 btrfs_free_path(iter->path); in btrfs_backref_iter_free()
287 return iter->path->nodes[0]; in btrfs_backref_get_eb()
[all …]
H A Dbackref.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "disk-io.h"
14 #include "delayed-ref.h"
17 #include "tree-mod-log.h"
20 #include "extent-tree.h"
22 #include "tree-checker.h"
42 u64 offset = key->offset; in check_extent_in_eb()
48 if (!ctx->ignore_extent_item_pos && in check_extent_in_eb()
56 if (ctx->extent_item_pos < data_offset || in check_extent_in_eb()
57 ctx->extent_item_pos >= data_offset + data_len) in check_extent_in_eb()
[all …]
/openbmc/qemu/target/sparc/
H A Dgdbstub.c4 * Copyright (c) 2003-2005 Fabrice Bellard
36 return gdb_get_rega(mem_buf, env->gregs[n]); in sparc_cpu_gdb_read_register()
40 return gdb_get_rega(mem_buf, env->regwptr[n - 8]); in sparc_cpu_gdb_read_register()
46 return gdb_get_reg32(mem_buf, env->fpr[(n - 32) / 2].l.lower); in sparc_cpu_gdb_read_register()
48 return gdb_get_reg32(mem_buf, env->fpr[(n - 32) / 2].l.upper); in sparc_cpu_gdb_read_register()
53 case 64: in sparc_cpu_gdb_read_register()
54 return gdb_get_rega(mem_buf, env->y); in sparc_cpu_gdb_read_register()
55 case 65: in sparc_cpu_gdb_read_register()
57 case 66: in sparc_cpu_gdb_read_register()
58 return gdb_get_rega(mem_buf, env->wim); in sparc_cpu_gdb_read_register()
[all …]
/openbmc/linux/fs/smb/server/
H A Dunicode.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * cifs_unicode: Unicode kernel case support
7 * Convert a unicode character to upper or lower case using
17 * The upper/lower functions are based on a table created by mkupr.
18 * This is a compressed table of upper and lower case conversion.
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_lag.c1 // SPDX-License-Identifier: GPL-2.0+
9 u32 visited = GENMASK(lan966x->num_phys_ports - 1, 0); in lan966x_lag_set_aggr_pgids()
13 for (p = 0; p < lan966x->num_phys_ports; ++p) in lan966x_lag_set_aggr_pgids()
29 for (p = 0; p < lan966x->num_phys_ports; ++p) { in lan966x_lag_set_aggr_pgids()
30 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_set_aggr_pgids()
32 if (!port || !port->bond) in lan966x_lag_set_aggr_pgids()
39 for (lag = 0; lag < lan966x->num_phys_ports; ++lag) { in lan966x_lag_set_aggr_pgids()
40 struct lan966x_port *port = lan966x->ports[lag]; in lan966x_lag_set_aggr_pgids()
46 if (!port || !port->bond || (visited & BIT(lag))) in lan966x_lag_set_aggr_pgids()
49 bond = port->bond; in lan966x_lag_set_aggr_pgids()
[all …]
/openbmc/linux/fs/smb/client/
H A Dcifs_unicode.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * cifs_unicode: Unicode kernel case support
6 * Convert a unicode character to upper or lower case using
15 * The upper/lower functions are based on a table created by mkupr.
16 * This is a compressed table of upper and lower case conversion.
/openbmc/linux/security/apparmor/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
4 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor.o
6 apparmor-y := apparmorfs.o audit.o capability.o task.o ipc.o lib.o match.o \
10 apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o
12 obj-$(CONFIG_SECURITY_APPARMOR_KUNIT_TEST) += apparmor_policy_unpack_test.o
13 apparmor_policy_unpack_test-objs += policy_unpack_test.o
15 clean-files := capability_names.h rlim_names.h net_names.h
17 # Build a lower case string table of address family names
30 quiet_cmd_make-af = GEN $@
31 cmd_make-af = echo "static const char *address_family_names[] = {" > $@ ;\
[all …]
/openbmc/linux/Documentation/filesystems/ext4/
H A Dgroup_descr.rst1 .. SPDX-License-Identifier: GPL-2.0
4 -----------------------
22 grouped together into a meta group. Note that in the meta_bg case,
38 checksum is the lower 16 bits of the checksum of the FS UUID, the group
45 .. list-table::
47 :header-rows: 1
49 * - Offset
50 - Size
51 - Name
52 - Description
[all …]
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dconntrack_vrf.sh7 # For ingress, this means first iteration has iifname of lower/real
12 # second iteration is done with the lower/real/veth0 device.
22 # on the VRF master interface (in case such a rule exists).
29 # that any fix to test case 1 won't break masquerade again.
38 sfx=$(mktemp -u "XXXXXXXX")
39 ns0="ns0-$sfx"
40 ns1="ns1-$sfx"
50 nft --version > /dev/null 2>&1
51 if [ $? -ne 0 ];then
56 ip -Version > /dev/null 2>&1
[all …]
/openbmc/pldm/libpldmresponder/
H A Dbios_config.cpp9 #include <phosphor-logging/lg2.hpp>
69 auto systemType = platformConfigHandler->getPlatformName(); in checkSystemTypeAvailability()
78 platformConfigHandler->registerSystemTypeCallback( in checkSystemTypeAvailability()
122 case PLDM_BIOS_STRING_TABLE: in getBIOSTable()
125 case PLDM_BIOS_ATTR_TABLE: in getBIOSTable()
128 case PLDM_BIOS_ATTR_VAL_TABLE: in getBIOSTable()
208 stringTable->data(), stringTable->size(), attrNameHandle); in checkAttributeTable()
219 case PLDM_BIOS_ENUMERATION: in checkAttributeTable()
220 case PLDM_BIOS_ENUMERATION_READ_ONLY: in checkAttributeTable()
238 stringTable->data(), stringTable->size(), pvHandls[i]); in checkAttributeTable()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Di740fb.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * i740fb - framebuffer driver for Intel740
6 * Based on old i740fb driver (c) 2001-2002 Andrey Ulanov <drey@rt.mipt.ru>
8 * VGA 16-color framebuffer driver (c) 1999 Ben Pfaff <pfaffben@debian.org>
10 * i740 driver from XFree86 (c) 1998-1999 Precision Insight, Inc., Cedar Park,
28 #include <linux/i2c-algo-bit.h>
98 vga_mm_w(par->regs, port, val); in i740outb()
102 return vga_mm_r(par->regs, port); in i740inb()
106 vga_mm_w_fast(par->regs, port, reg, val); in i740outreg()
110 vga_mm_w(par->regs, port, reg); in i740inreg()
[all …]

12345678910>>...42