Home
last modified time | relevance | path

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

12345678910>>...45

/kernel/linux/linux-5.10/arch/arm/kernel/
Dmodule.c1 // SPDX-License-Identifier: GPL-2.0-only
77 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate()
78 Elf32_Rel *rel = (void *)relsec->sh_addr; in apply_relocate()
81 for (i = 0; i < relsec->sh_size / sizeof(Elf32_Rel); i++, rel++) { in apply_relocate()
88 u32 upper, lower, sign, j1, j2; in apply_relocate() local
91 offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
92 if (offset < 0 || offset > (symsec->sh_size / sizeof(Elf32_Sym))) { in apply_relocate()
94 module->name, relindex, i); in apply_relocate()
95 return -ENOEXEC; in apply_relocate()
98 sym = ((Elf32_Sym *)symsec->sh_addr) + offset; in apply_relocate()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/thermal/
Dgov_step_wise.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * step_wise.c - A step-by-step Thermal throttling governor
25 * d. if the trend is THERMAL_TREND_DROP_FULL, use lower limit
27 * If the temperature is lower than a trip point,
29 * b. if the trend is THERMAL_TREND_DROPPING, use lower cooling
31 * equals lower limit, deactivate the thermal instance
33 * d. if the trend is THERMAL_TREND_DROP_FULL, use lower limit,
34 * if the cooling state already equals lower limit,
40 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state()
49 cdev->ops->get_cur_state(cdev, &cur_state); in get_target_state()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/fs/overlayfs/
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 …]
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 …]
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 …]
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 …]
/kernel/linux/linux-5.10/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
48 feature with the "-o xino=on" overlay mount option. That is useful for the
49 case of underlying filesystems like xfs and tmpfs, which use 64bit inode
[all …]
/kernel/linux/linux-5.10/fs/overlayfs/
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 …]
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 …]
Dinode.c1 // SPDX-License-Identifier: GPL-2.0-only
32 if (attr->ia_valid & ATTR_SIZE) { in ovl_setattr()
35 err = -ETXTBSY; in ovl_setattr()
36 if (atomic_read(&realinode->i_writecount) < 0) in ovl_setattr()
52 if (attr->ia_valid & ATTR_SIZE) { in ovl_setattr()
59 if (attr->ia_valid & (ATTR_KILL_SUID|ATTR_KILL_SGID)) in ovl_setattr()
60 attr->ia_valid &= ~ATTR_MODE; in ovl_setattr()
65 * filesystem rely on attr->ia_file in ovl_setattr()
67 attr->ia_valid &= ~ATTR_FILE; in ovl_setattr()
70 * If open(O_TRUNC) is done, VFS calls ->setattr with ATTR_OPEN in ovl_setattr()
[all …]
Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-only
60 for (i = 0; i < oe->numlower; i++) in ovl_entry_stack_free()
61 dput(oe->lowerstack[i].dentry); in ovl_entry_stack_free()
71 struct ovl_entry *oe = dentry->d_fsdata; in ovl_dentry_release()
82 struct dentry *real = NULL, *lower; in ovl_d_real() local
101 lower = ovl_dentry_lowerdata(dentry); in ovl_d_real()
102 if (!lower) in ovl_d_real()
104 real = lower; in ovl_d_real()
113 __func__, dentry, inode ? inode->i_sb->s_id : "NULL", in ovl_d_real()
114 inode ? inode->i_ino : 0, real, in ovl_d_real()
[all …]
/kernel/linux/linux-6.6/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()
51 if (!mlx5e_eswitch_rep(lower)) in mlx5_esw_bridge_lag_rep_get()
54 if (mlx5_esw_bridge_dev_same_esw(lower, esw)) in mlx5_esw_bridge_lag_rep_get()
55 return lower; in mlx5_esw_bridge_lag_rep_get()
76 if (!priv->mdev->priv.eswitch->br_offloads) in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/fs/btrfs/
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 …]
/kernel/linux/linux-6.6/fs/ecryptfs/
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 …]
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 …]
/kernel/linux/linux-5.10/fs/hmdfs/
Dinode.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2020-2021 Huawei Device Co., Ltd.
22 * = DOMAIN {3} : lower's dev_id {29} : lower's ino_raw {32}
60 /* The lower inode of local/merge/root(part) inode */
76 * iget_test - whether or not the inode with matched hashval is the one we are
88 WARN_ON(ia->ino.domain < DOMAIN_ROOT || in iget_test()
89 ia->ino.domain >= DOMAIN_INVALID); in iget_test()
91 if (read_ino_domain(inode->i_ino) == DOMAIN_ROOT) in iget_test()
93 if (read_ino_domain(inode->i_ino) != ia->ino.domain) in iget_test()
96 switch (ia->ino.domain) { in iget_test()
[all …]
/kernel/linux/linux-6.6/fs/hmdfs/
Dinode.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2020-2021 Huawei Device Co., Ltd.
22 * = DOMAIN {3} : lower's dev_id {29} : lower's ino_raw {32}
60 /* The lower inode of local/merge/root(part) inode */
76 * iget_test - whether or not the inode with matched hashval is the one we are
88 WARN_ON(ia->ino.domain < DOMAIN_ROOT || in iget_test()
89 ia->ino.domain >= DOMAIN_INVALID); in iget_test()
91 if (read_ino_domain(inode->i_ino) == DOMAIN_ROOT) in iget_test()
93 if (read_ino_domain(inode->i_ino) != ia->ino.domain) in iget_test()
96 switch (ia->ino.domain) { in iget_test()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/fs/smb/server/
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.
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Dodm_DIG.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
17 …rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TIMER_11N+2, 0x2710); /* 0x894[31:16]= 0x2710 Time durat… in odm_NHMCounterStatisticsInit()
18 …/* rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TIMER_11N+2, 0x4e20); 0x894[31:16]= 0x4e20 Time durat… in odm_NHMCounterStatisticsInit()
19 …rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N+2, 0xffff); /* 0x890[31:16]= 0xffff th_9, t… in odm_NHMCounterStatisticsInit()
20 …/* rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH3_TO_TH0_11N, 0xffffff5c); 0x898 = 0xffffff5c th_3… in odm_NHMCounterStatisticsInit()
21 …rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH3_TO_TH0_11N, 0xffffff52); /* 0x898 = 0xffffff52 th_3… in odm_NHMCounterStatisticsInit()
22 …rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH7_TO_TH4_11N, 0xffffffff); /* 0x89c = 0xffffffff th_7… in odm_NHMCounterStatisticsInit()
23 …PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_FPGA0_IQK_11N, bMaskByte0, 0xff); /* 0xe28[7:0]= 0xff th_… in odm_NHMCounterStatisticsInit()
24 …PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N, BIT10|BIT9|BIT8, 0x7); /* 0x890[9:8]=3 … in odm_NHMCounterStatisticsInit()
[all …]
/kernel/linux/linux-6.6/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 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 …]

12345678910>>...45