Home
last modified time | relevance | path

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

12345678910>>...43

/Linux-v6.1/arch/arm/kernel/
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 …]
/Linux-v6.1/Documentation/filesystems/
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 …]
/Linux-v6.1/fs/overlayfs/
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 …]
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 …]
Dinode.c1 // SPDX-License-Identifier: GPL-2.0-only
24 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_setattr()
37 if (attr->ia_valid & ATTR_SIZE) { in ovl_setattr()
51 if (attr->ia_valid & ATTR_SIZE) { in ovl_setattr()
58 if (attr->ia_valid & (ATTR_KILL_SUID|ATTR_KILL_SGID)) in ovl_setattr()
59 attr->ia_valid &= ~ATTR_MODE; in ovl_setattr()
64 * filesystem rely on attr->ia_file in ovl_setattr()
66 attr->ia_valid &= ~ATTR_FILE; in ovl_setattr()
69 * If open(O_TRUNC) is done, VFS calls ->setattr with ATTR_OPEN in ovl_setattr()
71 * filesystem during open -> do not pass ATTR_OPEN. This in ovl_setattr()
[all …]
Dnamei.c1 // SPDX-License-Identifier: GPL-2.0-only
34 struct ovl_fs *ofs = OVL_FS(d->sb); in ovl_check_redirect()
44 * that will stop further lookup in lower layers (d->stop=true) in ovl_check_redirect()
46 * element and that should force continue lookup in lower in ovl_check_redirect()
47 * layers (reset d->stop). in ovl_check_redirect()
49 d->stop = false; in ovl_check_redirect()
53 memcpy(buf, d->name.name, prelen); in ovl_check_redirect()
57 kfree(d->redirect); in ovl_check_redirect()
58 d->redirect = buf; in ovl_check_redirect()
59 d->name.name = d->redirect; in ovl_check_redirect()
[all …]
Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-only
61 for (i = 0; i < oe->numlower; i++) in ovl_entry_stack_free()
62 dput(oe->lowerstack[i].dentry); in ovl_entry_stack_free()
72 struct ovl_entry *oe = dentry->d_fsdata; in ovl_dentry_release()
83 struct dentry *real = NULL, *lower; in ovl_d_real() local
102 lower = ovl_dentry_lowerdata(dentry); in ovl_d_real()
103 if (!lower) in ovl_d_real()
105 real = lower; in ovl_d_real()
114 __func__, dentry, inode ? inode->i_sb->s_id : "NULL", in ovl_d_real()
115 inode ? inode->i_ino : 0, real, in ovl_d_real()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
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 …]
/Linux-v6.1/tools/testing/selftests/powerpc/pmu/ebb/
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 …]
/Linux-v6.1/fs/ecryptfs/
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 …]
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()
67 buf->filldir_called++; in ecryptfs_filldir()
69 buf->sb, lower_name, in ecryptfs_filldir()
[all …]
Dread_write.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 * @offset: Byte offset in the lower file to which to write the data
20 * @size: Number of bytes from @data to write at @offset in the lower
23 * Write data to the lower file.
33 lower_file = ecryptfs_inode_to_private(ecryptfs_inode)->lower_file; in ecryptfs_write_lower()
35 return -EIO; in ecryptfs_write_lower()
45 * lower file
49 * lower file
53 * the contents of @page_for_lower to the lower inode.
55 * Returns zero on success; non-zero otherwise
[all …]
/Linux-v6.1/drivers/thermal/
Dgov_step_wise.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * step_wise.c - A step-by-step Thermal throttling governor
26 * d. if the trend is THERMAL_TREND_DROP_FULL, use lower limit
28 * If the temperature is lower than a trip point,
30 * b. if the trend is THERMAL_TREND_DROPPING, use lower cooling
32 * equals lower limit, deactivate the thermal instance
34 * d. if the trend is THERMAL_TREND_DROP_FULL, use lower limit,
35 * if the cooling state already equals lower limit,
41 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state()
50 cdev->ops->get_cur_state(cdev, &cur_state); in get_target_state()
[all …]
/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/
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 net_device *bond = lan966x->ports[lag]->bond; in lan966x_lag_set_aggr_pgids()
50 for_each_set_bit(p, &bond_mask, lan966x->num_phys_ports) { in lan966x_lag_set_aggr_pgids()
51 struct lan966x_port *port = lan966x->ports[p]; in lan966x_lag_set_aggr_pgids()
[all …]
/Linux-v6.1/fs/ksmbd/
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.
29 #define UNIUPR_NOLOWER /* Example to not expand lower case tables */
88 ucs1--; /* Return to the null */ in UniStrcat()
125 return (int)*ucs1 - (int)*ucs2; in UniStrcmp()
177 ucs1--; /* point to null terminator of s1 */ in UniStrncat()
178 while (n-- && (*ucs1 = *ucs2)) { /* copy s2 after s1 */ in UniStrncat()
[all …]
/Linux-v6.1/fs/btrfs/
Dbackref.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 #include "disk-io.h"
121 btrfs_free_path(iter->path); in btrfs_backref_iter_free()
130 return iter->path->nodes[0]; in btrfs_backref_get_eb()
134 * For metadata with EXTENT_ITEM key (non-skinny) case, the first inline data
137 * This helper determines if that's the case.
142 if (iter->cur_key.type == BTRFS_EXTENT_ITEM_KEY && in btrfs_backref_has_tree_block_info()
143 iter->cur_ptr - iter->item_ptr == sizeof(struct btrfs_extent_item)) in btrfs_backref_has_tree_block_info()
155 if (iter->cur_key.type == BTRFS_EXTENT_ITEM_KEY || in btrfs_backref_iter_is_inline_ref()
156 iter->cur_key.type == BTRFS_METADATA_ITEM_KEY) in btrfs_backref_iter_is_inline_ref()
[all …]
Dbackref.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "disk-io.h"
14 #include "delayed-ref.h"
17 #include "tree-mod-log.h"
51 offset = extent_item_pos - data_offset; in check_extent_in_eb()
56 return -ENOMEM; in check_extent_in_eb()
58 e->next = *eie; in check_extent_in_eb()
59 e->inum = key->objectid; in check_extent_in_eb()
60 e->offset = key->offset + offset; in check_extent_in_eb()
71 eie_next = eie->next; in free_inode_elem_list()
[all …]
/Linux-v6.1/fs/cifs/
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.
25 #define UNIUPR_NOLOWER /* Example to not expand lower case tables */
123 ucs1--; /* Return to the null */ in UniStrcat()
161 return (int) *ucs1 - (int) *ucs2; in UniStrcmp()
215 ucs1--; /* point to null terminator of s1 */ in UniStrncat()
216 while (n-- && (*ucs1 = *ucs2)) { /* copy s2 after s1 */ in UniStrncat()
[all …]
/Linux-v6.1/arch/riscv/net/
Dbpf_jit_comp64.c1 // SPDX-License-Identifier: GPL-2.0
62 case RV_CTX_F_SEEN_S1: in bpf_to_rv_reg()
63 case RV_CTX_F_SEEN_S2: in bpf_to_rv_reg()
64 case RV_CTX_F_SEEN_S3: in bpf_to_rv_reg()
65 case RV_CTX_F_SEEN_S4: in bpf_to_rv_reg()
66 case RV_CTX_F_SEEN_S5: in bpf_to_rv_reg()
67 case RV_CTX_F_SEEN_S6: in bpf_to_rv_reg()
68 __set_bit(reg, &ctx->flags); in bpf_to_rv_reg()
76 case RV_CTX_F_SEEN_CALL: in seen_reg()
77 case RV_CTX_F_SEEN_S1: in seen_reg()
[all …]
/Linux-v6.1/security/apparmor/
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 \
9 apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o
11 clean-files := capability_names.h rlim_names.h net_names.h
13 # Build a lower case string table of address family names
26 quiet_cmd_make-af = GEN $@
27 cmd_make-af = echo "static const char *address_family_names[] = {" > $@ ;\
28 sed $< >>$@ -r -n -e "/AF_MAX/d" -e "/AF_LOCAL/d" -e "/AF_ROUTE/d" -e \
29 's/^\#define[ \t]+AF_([A-Z0-9_]+)[ \t]+([0-9]+)(.*)/[\2] = "\L\1",/p';\
[all …]
/Linux-v6.1/Documentation/filesystems/ext4/
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 …]
/Linux-v6.1/tools/testing/selftests/netfilter/
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 …]
/Linux-v6.1/drivers/video/fbdev/
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 …]
/Linux-v6.1/drivers/clocksource/
Darm_global_timer.c1 // SPDX-License-Identifier: GPL-2.0-only
61 * 1. Read the upper 32-bit timer counter register
62 * 2. Read the lower 32-bit timer counter register
63 * 3. Read the upper 32-bit timer counter register again. If the value is
64 * different to the 32-bit upper value read previously, go back to step 2.
65 * Otherwise the 64-bit timer counter value is correct.
70 u32 lower; in _gt_counter_read() local
76 lower = readl_relaxed(gt_base + GT_COUNTER0); in _gt_counter_read()
82 counter |= lower; in _gt_counter_read()
95 * 2. Write the lower 32-bit Comparator Value Register.
[all …]
/Linux-v6.1/net/dsa/
Dslave.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * net/dsa/slave.c - Slave device handling
4 * Copyright (c) 2008-2009 Marvell Semiconductor
31 const unsigned char *addr = standalone_work->addr; in dsa_slave_standalone_event_work()
32 struct net_device *dev = standalone_work->dev; in dsa_slave_standalone_event_work()
35 struct dsa_switch *ds = dp->ds; in dsa_slave_standalone_event_work()
36 u16 vid = standalone_work->vid; in dsa_slave_standalone_event_work()
39 switch (standalone_work->event) { in dsa_slave_standalone_event_work()
40 case DSA_UC_ADD: in dsa_slave_standalone_event_work()
43 dev_err(ds->dev, in dsa_slave_standalone_event_work()
[all …]

12345678910>>...43