| /linux/fs/ext2/ |
| H A D | dir.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Laboratoire MASI - Institut Blaise Pascal 18 * Big-endian to little-endian byte-swapping/bitmaps by 61 * ext2 uses block-sized chunks. Arguably, sector-sized ones would be 66 return inode->i_sb->s_blocksize; in ext2_chunk_size() 76 unsigned last_byte = inode->i_size; in ext2_last_byte() 78 last_byte -= page_nr << PAGE_SHIFT; in ext2_last_byte() 86 struct address_space *mapping = folio->mapping; in ext2_commit_chunk() 87 struct inode *dir = mapping->host; in ext2_commit_chunk() 92 if (pos+len > dir->i_size) { in ext2_commit_chunk() [all …]
|
| /linux/Documentation/i2c/busses/ |
| H A D | i2c-nforce2.rst | 2 Kernel driver i2c-nforce2 6 * nForce2 MCP 10de:0064 7 * nForce2 Ultra 400 MCP 10de:0084 8 * nForce3 Pro150 MCP 10de:00D4 9 * nForce3 250Gb MCP 10de:00E4 10 * nForce4 MCP 10de:0052 11 * nForce4 MCP-04 10de:0034 12 * nForce MCP51 10de:0264 13 * nForce MCP55 10de:0368 14 * nForce MCP61 10de:03EB [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | vxlan.sh | 2 # SPDX-License-Identifier: GPL-2.0 99 log_test "vxlan device - valid configuration" 116 log_test "vxlan device with a vlan-aware bridge" 356 log_test "multiple vxlan devices - valid configuration" 498 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 self master static \ 502 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0 505 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0 508 log_test "vxlan entry offload indication - initial state" 514 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 master 516 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0 [all …]
|
| H A D | vxlan_flooding.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 # +--------------------+ 13 # +----|---------------+ 15 # +----|----------------------------------------------------------------------+ 17 # | +--|--------------------------------------------------------------------+ | 24 # | +-----------------------------------------------------------------------+ | 30 # +----|----------------------------------------------------------------------+ 32 # +----|--------------------------------------------------------+ 37 # +-------------------------------------------------------------+ 182 flower skip_hw dst_mac de:ad:be:ef:13:37 action pass [all …]
|
| /linux/fs/hpfs/ |
| H A D | dnode.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999 7 * handling directory dnode tree - adding, deleteing & searching for dirents 14 struct hpfs_dirent *de; in get_pos() local 17 for (de = dnode_first_de(d); de < de_end; de = de_next_de(de)) { in get_pos() 18 if (de == fde) return ((loff_t) le32_to_cpu(d->self) << 4) | (loff_t)i; in get_pos() 22 return ((loff_t)le32_to_cpu(d->self) << 4) | (loff_t)1; in get_pos() 31 if (hpfs_inode->i_rddir_off) in hpfs_add_pos() 32 for (; hpfs_inode->i_rddir_off[i]; i++) in hpfs_add_pos() 33 if (hpfs_inode->i_rddir_off[i] == pos) in hpfs_add_pos() [all …]
|
| /linux/fs/ocfs2/ |
| H A D | dir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Creates, reads, walks and deletes directory-nodes 13 * Laboratoire MASI - Institut Blaise pascal 71 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_supports_dir_trailer() 73 if (OCFS2_I(dir)->ip_dyn_features & OCFS2_INLINE_DATA_FL) in ocfs2_supports_dir_trailer() 84 * is turned off. Only directory-initialization type functions should 89 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_new_dir_wants_trailer() 97 return sb->s_blocksize - sizeof(struct ocfs2_dir_block_trailer); in ocfs2_dir_trailer_blk_off() 100 #define ocfs2_trailer_from_bh(_bh, _sb) ((struct ocfs2_dir_block_trailer *) ((_bh)->b_data + ocfs2_… 102 /* XXX ocfs2_block_dqtrailer() is similar but not quite - can we make [all …]
|
| /linux/Documentation/translations/sp_SP/process/ |
| H A D | researcher-guidelines.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 :Original: :ref:`Documentation/process/researcher-guidelines.rst` 9 La comunidad del kernel de Linux da la bienvenida a la investigación 10 transparente sobre el kernel de Linux, las actividades involucradas 11 en su producción, otros subproductos de su desarrollo. Linux se 12 beneficia mucho de este tipo de investigación, y la mayoría de los 13 aspectos de Linux son impulsados por investigación en una forma u otra. 16 los hallazgos preliminares antes de hacer públicos sus resultados, 18 temprano ayuda a mejorar la calidad de investigación y la capacidad 19 de Linux para mejorar a partir de ella. En cualquier caso, se recomienda [all …]
|
| /linux/fs/ext4/ |
| H A D | dir.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Laboratoire MASI - Institut Blaise Pascal 18 * Big-endian to little-endian byte-swapping/bitmaps by 36 * is_dx_dir() - check if a directory is using htree indexing 39 * Check if the given dir-inode refers to an htree-indexed directory 47 struct super_block *sb = inode->i_sb; in is_dx_dir() 49 if (ext4_has_feature_dir_index(inode->i_sb) && in is_dx_dir() 51 ((inode->i_size >> sb->s_blocksize_bits) == 1) || in is_dx_dir() 58 static bool is_fake_dir_entry(struct ext4_dir_entry_2 *de) in is_fake_dir_entry() argument 61 if ((de->name_len > 0) && (de->name_len <= 2) && (de->name[0] == '.') && in is_fake_dir_entry() [all …]
|
| H A D | namei.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Laboratoire MASI - Institut Blaise Pascal 16 * Big-endian to little-endian byte-swapping/bitmaps by 19 * for B-tree directories by Theodore Ts'o (tytso@mit.edu), 1998 61 if (unlikely(EXT4_SB(inode->i_sb)->s_max_dir_size_kb && in ext4_append() 62 ((inode->i_size >> 10) >= in ext4_append() 63 EXT4_SB(inode->i_sb)->s_max_dir_size_kb))) in ext4_append() 64 return ERR_PTR(-ENOSPC); in ext4_append() 66 *block = inode->i_size >> inode->i_sb->s_blocksize_bits; in ext4_append() 80 return ERR_PTR(-EFSCORRUPTED); in ext4_append() [all …]
|
| /linux/fs/smb/client/ |
| H A D | readdir.c | 1 // SPDX-License-Identifier: LGPL-2.1 29 * To be safe - for UCS to UTF-8 with strings loaded with the rare long 30 * characters alloc more to account for such multibyte target UTF-8 41 cf = file->private_data; in dump_cifs_file_struct() 46 if (cf->invalidHandle) in dump_cifs_file_struct() 48 if (cf->srch_inf.endOfSearch) in dump_cifs_file_struct() 50 if (cf->srch_inf.emptyDir) in dump_cifs_file_struct() 73 struct super_block *sb = parent->d_sb; in cifs_prime_dcache() 75 bool posix = cifs_sb_master_tcon(cifs_sb)->posix_extensions; in cifs_prime_dcache() 80 cifs_dbg(FYI, "%s: for %s\n", __func__, name->name); in cifs_prime_dcache() [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | local_termination.sh | 2 # SPDX-License-Identifier: GPL-2.0 18 BRIDGE_ADDR="00:00:de:ad:be:ee" 19 MACVLAN_ADDR="00:00:de:ad:be:ef" 20 UNKNOWN_UC_ADDR1="de:ad:be:ef:ee:03" 21 UNKNOWN_UC_ADDR2="de:ad:be:ef:ee:04" 22 UNKNOWN_UC_ADDR3="de:ad:be:ef:ee:05" 42 01:1b:19:00:00:00 00:00:de:ad:be:ef 88:f7 00 02 \ 47 01:1b:19:00:00:00 00:00:de:ad:be:ef 88:f7 08 02 \ 52 01:80:c2:00:00:0e 00:00:de:ad:be:ef 88:f7 02 02 \ 58 01:00:5e:00:01:81 00:00:de:ad:be:ef 08:00 45 00 \ [all …]
|
| H A D | bridge_vlan_aware.sh | 2 # SPDX-License-Identifier: GPL-2.0 115 local mac=de:ad:be:ef:13:37 121 bridge fdb add de:ad:be:ef:13:37 dev $swp1 master extern_learn vlan 1 123 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37 131 bridge fdb show brport $swp1 | grep -q de:ad:be:ef:13:37 134 $MZ $h2 -c 1 -p 64 -a $mac -t ip -q 136 bridge fdb show brport $swp2 | grep -q de:ad:be:ef:13:37 139 log_test "Externally learned FDB entry - ageing & roaming" 141 bridge fdb del de:ad:be:ef:13:37 dev $swp2 master vlan 1 &> /dev/null 142 bridge fdb del de:ad:be:ef:13:37 dev $swp1 master vlan 1 &> /dev/null [all …]
|
| /linux/fs/coda/ |
| H A D | dir.c | 1 // SPDX-License-Identifier: GPL-2.0 35 return -EIO; in coda_return_EIO() 43 struct super_block *sb = dir->i_sb; in coda_lookup() 44 const char *name = entry->d_name.name; in coda_lookup() 45 size_t length = entry->d_name.len; in coda_lookup() 52 return ERR_PTR(-ENAMETOOLONG); in coda_lookup() 69 if (inode == ERR_PTR(-ENOENT)) in coda_lookup() 82 return -ECHILD; in coda_permission() 90 return -EACCES; in coda_permission() 95 error = venus_access(inode->i_sb, coda_i2f(inode), mask); in coda_permission() [all …]
|
| /linux/tools/power/cpupower/po/ |
| H A D | fr.po | 9 "Project-Id-Version: cpufrequtils 0.1-pre2\n" 10 "Report-Msgid-Bugs-To: \n" 11 "POT-Creation-Date: 2011-03-08 17:03+0100\n" 12 "PO-Revision-Date: 2004-11-17 15:53+1000\n" 13 "Last-Translator: Bruno Ducrot <ducrot@poupinou.org>\n" 14 "Language-Team: NONE\n" 16 "MIME-Version: 1.0\n" 17 "Content-Type: text/plain; charset=ISO-8859-1\n" 18 "Content-Transfer-Encoding: 8bit\n" 72 #: utils/idle_monitor/cpupower-monitor.c:66 [all …]
|
| /linux/drivers/clk/sunxi-ng/ |
| H A D | ccu-sun9i-a80-de.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016 Chen-Yu Tsai. All rights reserved. 7 #include <linux/clk-provider.h> 17 #include "ccu-sun9i-a80-de.h" 19 static SUNXI_CCU_GATE(fe0_clk, "fe0", "fe0-div", 21 static SUNXI_CCU_GATE(fe1_clk, "fe1", "fe1-div", 23 static SUNXI_CCU_GATE(fe2_clk, "fe2", "fe2-div", 25 static SUNXI_CCU_GATE(iep_deu0_clk, "iep-deu0", "de", 27 static SUNXI_CCU_GATE(iep_deu1_clk, "iep-deu1", "de", 29 static SUNXI_CCU_GATE(be0_clk, "be0", "be0-div", [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-siox | 1 What: /sys/bus/siox/devices/siox-X/active 3 Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.d… 9 does a push-pull cycle to write and read data from the 14 What: /sys/bus/siox/devices/siox-X/device_add 16 Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.d… 18 Write-only file. Write 31 What: /sys/bus/siox/devices/siox-X/device_remove 33 Contact: Thorsten Scherer <t.scherer@eckelmann.de>, Uwe Kleine-König <u.kleine-koenig@pengutronix.d… 35 Write-only file. A single write removes the last device in the siox chain. 37 What: /sys/bus/siox/devices/siox-X/poll_interval_ns [all …]
|
| H A D | sysfs-platform-msi-laptop | 1 What: /sys/devices/platform/msi-laptop-pf/lcd_level 4 Contact: "Lennart Poettering <mzxreary@0pointer.de>" 8 What: /sys/devices/platform/msi-laptop-pf/auto_brightness 11 Contact: "Lennart Poettering <mzxreary@0pointer.de>" 17 What: /sys/devices/platform/msi-laptop-pf/wlan 20 Contact: "Lennart Poettering <mzxreary@0pointer.de>" 24 What: /sys/devices/platform/msi-laptop-pf/bluetooth 27 Contact: "Lennart Poettering <mzxreary@0pointer.de>" 33 What: /sys/devices/platform/msi-laptop-pf/touchpad 39 Touchpad state can only be toggled by pressing Fn+F3. [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
| H A D | vxlan_flooding_ipv6.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 # +-----------------------+ 13 # +----|------------------+ 15 # +----|----------------------------------------------------------------------+ 17 # | +--|--------------------------------------------------------------------+ | 24 # | +-----------------------------------------------------------------------+ | 30 # +----|----------------------------------------------------------------------+ 32 # +----|--------------------------------------------------------+ 37 # +-------------------------------------------------------------+ 169 flower skip_hw dst_mac de:ad:be:ef:13:37 action pass [all …]
|
| /linux/Documentation/driver-api/media/drivers/ |
| H A D | contributors.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 - Michael Hunold <m.hunold@gmx.de> 15 - for the initial saa7146 driver and its recent overhaul 17 - Christian Theiss 19 - for his work on the initial Linux DVB driver 21 - Marcus Metzler <mocm@metzlerbros.de> and 22 Ralph Metzler <rjkm@metzlerbros.de> 24 - for their continuing work on the DVB driver 26 - Michael Holzt <kju@debian.org> 28 - for his contributions to the dvb-net driver [all …]
|
| /linux/Documentation/devicetree/bindings/display/ |
| H A D | arm,malidp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Arm Mali Display Processor (Mali-DP) 10 - Liviu Dudau <Liviu.Dudau@arm.com> 11 - Andre Przywara <andre.przywara@arm.com> 22 - arm,mali-dp500 23 - arm,mali-dp550 24 - arm,mali-dp650 31 - description: [all …]
|
| /linux/fs/isofs/ |
| H A D | export.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (C) 2004 Paul Serice - The new inode scheme requires switching 7 * the NFS export operations have to be hand 28 return ERR_PTR(-ESTALE); in isofs_export_iget() 32 if (generation && inode->i_generation != generation) { in isofs_export_iget() 34 return ERR_PTR(-ESTALE); in isofs_export_iget() 50 struct iso_directory_record *de = NULL; in isofs_export_get_parent() local 54 /* "child" must always be a directory. */ in isofs_export_get_parent() 55 if (!S_ISDIR(child_inode->i_mode)) { in isofs_export_get_parent() 58 rv = ERR_PTR(-EACCES); in isofs_export_get_parent() [all …]
|
| /linux/fs/f2fs/ |
| H A D | dir.c | 1 // SPDX-License-Identifier: GPL-2.0 29 return !sb_no_casefold_compat_fallback(sbi->sb); in f2fs_should_fallback_to_linear() 40 return ((unsigned long long) (i_size_read(inode) + PAGE_SIZE - 1)) in dir_blocks() 61 /* If @dir is casefolded, initialize @fname->cf_name from @fname->usr_fname. */ 65 struct super_block *sb = dir->i_sb; in f2fs_init_casefolded_name() 70 !is_dot_dotdot(fname->usr_fname->name, fname->usr_fname->len)) { in f2fs_init_casefolded_name() 74 return -ENOMEM; in f2fs_init_casefolded_name() 76 len = utf8_casefold(sb->s_encoding, fname->usr_fname, in f2fs_init_casefolded_name() 81 return -EINVAL; in f2fs_init_casefolded_name() 85 fname->cf_name.name = buf; in f2fs_init_casefolded_name() [all …]
|
| /linux/fs/proc/ |
| H A D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0 36 truncate_inode_pages_final(&inode->i_data); in proc_evict_inode() 40 if (ei->pid) in proc_evict_inode() 43 head = ei->sysctl; in proc_evict_inode() 45 WRITE_ONCE(ei->sysctl, NULL); in proc_evict_inode() 60 ei->pid = NULL; in proc_alloc_inode() 61 ei->fd = 0; in proc_alloc_inode() 62 ei->op.proc_get_link = NULL; in proc_alloc_inode() 63 ei->pde = NULL; in proc_alloc_inode() 64 ei->sysctl = NULL; in proc_alloc_inode() [all …]
|
| /linux/tools/testing/selftests/proc/ |
| H A D | read.c | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 21 // 5) write to /proc/sysrq-trigger 46 if (fd == -1) in f_reg() 51 assert((0 <= rv && rv <= sizeof(buf)) || rv == -1); in f_reg() 61 if (fd == -1) in f_reg_write() 64 assert((0 <= rv && rv <= len) || rv == -1); in f_reg_write() 74 assert((0 <= rv && rv <= sizeof(buf)) || rv == -1); in f_lnk() 79 struct dirent *de; in f() local 81 de = xreaddir(d); in f() 82 assert(de->d_type == DT_DIR); in f() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
| H A D | vxlan_flooding_ipv6.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 # +-----------------------+ 13 # +----|------------------+ 15 # +----|----------------------------------------------------------------------+ 17 # | +--|--------------------------------------------------------------------+ | 24 # | +-----------------------------------------------------------------------+ | 30 # +----|----------------------------------------------------------------------+ 32 # +----|--------------------------------------------------------+ 37 # +-------------------------------------------------------------+ 207 tc_check_packets "dev $rp2 ingress" $i ${packets[i - 1]} [all …]
|