/Linux-v6.1/fs/ext2/ |
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 = page->mapping; in ext2_commit_chunk() 87 struct inode *dir = mapping->host; in ext2_commit_chunk() 93 if (pos+len > dir->i_size) { in ext2_commit_chunk() [all …]
|
/Linux-v6.1/fs/reiserfs/ |
D | namei.c | 22 #define INC_DIR_INODE_NLINK(i) if (i->i_nlink != 1) { inc_nlink(i); if (i->i_nlink >= REISERFS_LINK… 23 #define DEC_DIR_INODE_NLINK(i) if (i->i_nlink != 1) drop_nlink(i); 29 static int bin_search_in_dir_item(struct reiserfs_dir_entry *de, loff_t off) in bin_search_in_dir_item() argument 31 struct item_head *ih = de->de_ih; in bin_search_in_dir_item() 32 struct reiserfs_de_head *deh = de->de_deh; in bin_search_in_dir_item() 36 rbound = ih_entry_count(ih) - 1; in bin_search_in_dir_item() 41 rbound = j - 1; in bin_search_in_dir_item() 49 de->de_entry_num = j; in bin_search_in_dir_item() 53 de->de_entry_num = lbound; in bin_search_in_dir_item() 58 * comment? maybe something like set de to point to what the path points to? [all …]
|
/Linux-v6.1/Documentation/i2c/busses/ |
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-v6.1/tools/testing/selftests/drivers/net/mlxsw/ |
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" 494 bridge fdb add de:ad:be:ef:13:37 dev vxlan0 self master static \ 498 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0 501 de:ad:be:ef:13:37 self -v bridge fdb show brport vxlan0 504 log_test "vxlan entry offload indication - initial state" 510 bridge fdb del de:ad:be:ef:13:37 dev vxlan0 master 512 de:ad:be:ef:13:37 self bridge fdb show brport vxlan0 [all …]
|
/Linux-v6.1/tools/testing/selftests/drivers/net/dsa/ |
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
|
/Linux-v6.1/tools/testing/selftests/net/forwarding/ |
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
|
/Linux-v6.1/fs/cifs/ |
D | readdir.c | 1 // SPDX-License-Identifier: LGPL-2.1 27 * To be safe - for UCS to UTF-8 with strings loaded with the rare long 28 * characters alloc more to account for such multibyte target UTF-8 39 cf = file->private_data; in dump_cifs_file_struct() 44 if (cf->invalidHandle) in dump_cifs_file_struct() 46 if (cf->srch_inf.endOfSearch) in dump_cifs_file_struct() 48 if (cf->srch_inf.emptyDir) in dump_cifs_file_struct() 71 struct super_block *sb = parent->d_sb; in cifs_prime_dcache() 75 cifs_dbg(FYI, "%s: for %s\n", __func__, name->name); in cifs_prime_dcache() 80 * If we know that the inode will need to be revalidated in cifs_prime_dcache() [all …]
|
/Linux-v6.1/fs/hpfs/ |
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-v6.1/fs/ocfs2/ |
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-v6.1/Documentation/userspace-api/media/v4l/ |
D | ext-ctrls-fm-rx.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _fm-rx-controls: 13 .. _fm-rx-control-id: 27 Gets RDS Programme Type field. This encodes up to 31 pre-defined 39 must be configured with steps of 8 characters. The result is it must 44 being broadcasted. RDS Radio Text can be applied when broadcaster 45 wishes to transmit longer PS names, programme-related information or 46 any other text. In these cases, RadioText can be used in addition to 52 x N or 64 x N characters. So, this control must be configured with 65 then it will be set. [all …]
|
/Linux-v6.1/fs/ext4/ |
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 …]
|
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 …]
|
D | inline.c | 1 // SPDX-License-Identifier: LGPL-2.1 25 if (EXT4_I(inode)->i_inline_off) in ext4_get_inline_size() 26 return EXT4_I(inode)->i_inline_size; in ext4_get_inline_size() 42 min_offs = EXT4_SB(inode->i_sb)->s_inode_size - in get_max_inline_xattr_value_size() 43 EXT4_GOOD_OLD_INODE_SIZE - in get_max_inline_xattr_value_size() 44 EXT4_I(inode)->i_extra_isize - in get_max_inline_xattr_value_size() 48 * We need to subtract another sizeof(__u32) since an in-inode xattr in get_max_inline_xattr_value_size() 53 return EXT4_XATTR_SIZE(min_offs - in get_max_inline_xattr_value_size() 54 EXT4_XATTR_LEN(strlen(EXT4_XATTR_SYSTEM_DATA)) - in get_max_inline_xattr_value_size() 55 EXT4_XATTR_ROUND - sizeof(__u32)); in get_max_inline_xattr_value_size() [all …]
|
/Linux-v6.1/fs/coda/ |
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-v6.1/fs/isofs/ |
D | dir.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * (C) 1991 Linus Torvalds - minix filesystem 17 int isofs_name_translate(struct iso_directory_record *de, char *new, struct inode *inode) in isofs_name_translate() argument 19 char * old = de->name; in isofs_name_translate() 20 int len = de->name_len[0]; in isofs_name_translate() 32 if (c == '.' && i == len - 3 && old[i + 1] == ';' && old[i + 2] == '1') in isofs_name_translate() 36 if (c == ';' && i == len - 2 && old[i + 1] == '1') in isofs_name_translate() 40 /* Also '/' to '.' (broken Acorn-generated ISO9660 images) */ in isofs_name_translate() 50 int get_acorn_filename(struct iso_directory_record *de, in get_acorn_filename() argument 55 int retnamlen = isofs_name_translate(de, retname, inode); in get_acorn_filename() [all …]
|
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-v6.1/tools/power/cpupower/po/ |
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-v6.1/drivers/clk/sunxi-ng/ |
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-v6.1/Documentation/ABI/testing/ |
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 …]
|
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-v6.1/Documentation/driver-api/media/drivers/ |
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-v6.1/Documentation/admin-guide/ |
D | kernel-per-CPU-kthreads.rst | 2 Reducing OS jitter due to per-cpu kthreads 5 This document lists per-CPU kthreads in the Linux kernel and presents 6 options to control their OS jitter. Note that non-per-CPU kthreads are 7 not listed here. To reduce OS jitter from non-per-CPU kthreads, bind 13 - Documentation/core-api/irq/irq-affinity.rst: Binding interrupts to sets of CPUs. 15 - Documentation/admin-guide/cgroup-v1: Using cgroups to bind tasks to sets of CPUs. 17 - man taskset: Using the taskset command to bind tasks to sets 20 - man sched_setaffinity: Using the sched_setaffinity() system 23 - /sys/devices/system/cpu/cpuN/online: Control CPU N's hotplug state, 26 - In order to locate kernel-generated OS jitter on CPU N: [all …]
|
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
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-v6.1/Documentation/devicetree/bindings/display/ |
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) binding 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-v6.1/tools/testing/selftests/proc/ |
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 …]
|