/Linux-v5.10/drivers/block/ |
D | swim3.c | 208 #define swim3_err(fmt, arg...) dev_err(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 209 #define swim3_warn(fmt, arg...) dev_warn(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 210 #define swim3_info(fmt, arg...) dev_info(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 213 #define swim3_dbg(fmt, arg...) dev_dbg(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 236 static void seek_track(struct floppy_state *fs, int n); 238 static void act(struct floppy_state *fs); 245 static int grab_drive(struct floppy_state *fs, enum swim_state state, 247 static void release_drive(struct floppy_state *fs); 248 static int fd_eject(struct floppy_state *fs); 257 static bool swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes) in swim3_end_request() argument [all …]
|
D | swim.c | 424 static inline int swim_track(struct floppy_state *fs, int track) in swim_track() argument 426 struct swim __iomem *base = fs->swd->base; in swim_track() 429 ret = swim_seek(base, track - fs->track); in swim_track() 432 fs->track = track; in swim_track() 435 fs->track = 0; in swim_track() 441 static int floppy_eject(struct floppy_state *fs) in floppy_eject() argument 443 struct swim __iomem *base = fs->swd->base; in floppy_eject() 445 swim_drive(base, fs->location); in floppy_eject() 449 fs->disk_in = 0; in floppy_eject() 450 fs->ejected = 1; in floppy_eject() [all …]
|
/Linux-v5.10/fs/ |
D | fs_struct.c | 5 #include <linux/fs.h> 12 * Replace the fs->{rootmnt,root} with {mnt,dentry}. Put the old values. 15 void set_fs_root(struct fs_struct *fs, const struct path *path) in set_fs_root() argument 20 spin_lock(&fs->lock); in set_fs_root() 21 write_seqcount_begin(&fs->seq); in set_fs_root() 22 old_root = fs->root; in set_fs_root() 23 fs->root = *path; in set_fs_root() 24 write_seqcount_end(&fs->seq); in set_fs_root() 25 spin_unlock(&fs->lock); in set_fs_root() 31 * Replace the fs->{pwdmnt,pwd} with {mnt,dentry}. Put the old values. [all …]
|
D | Kconfig | 23 source "fs/ext2/Kconfig" 24 source "fs/ext4/Kconfig" 25 source "fs/jbd2/Kconfig" 34 source "fs/reiserfs/Kconfig" 35 source "fs/jfs/Kconfig" 37 source "fs/xfs/Kconfig" 38 source "fs/gfs2/Kconfig" 39 source "fs/ocfs2/Kconfig" 40 source "fs/btrfs/Kconfig" 41 source "fs/nilfs2/Kconfig" [all …]
|
D | filesystems.c | 3 * linux/fs/filesystems.c 11 #include <linux/fs.h> 38 struct file_system_type *get_filesystem(struct file_system_type *fs) in get_filesystem() argument 40 __module_get(fs->owner); in get_filesystem() 41 return fs; in get_filesystem() 44 void put_filesystem(struct file_system_type *fs) in put_filesystem() argument 46 module_put(fs->owner); in put_filesystem() 61 * @fs: the file system structure 72 int register_filesystem(struct file_system_type * fs) in register_filesystem() argument 77 if (fs->parameters && in register_filesystem() [all …]
|
/Linux-v5.10/Documentation/filesystems/ |
D | sysv-fs.rst | 8 - Xenix FS, 9 - SystemV/386 FS, 10 - Coherent FS. 30 - Coherent FS: 36 - SystemV Release 2 FS: 40 for this FS on hard disk yet. 43 These filesystems are rather similar. Here is a comparison with Minix FS: 47 - Minix FS 0x81 Linux/Minix 48 - Xenix FS ?? 49 - SystemV FS ?? [all …]
|
D | api-summary.rst | 14 .. kernel-doc:: include/linux/fs.h 20 .. kernel-doc:: fs/dcache.c 29 .. kernel-doc:: fs/inode.c 32 .. kernel-doc:: fs/bad_inode.c 38 .. kernel-doc:: fs/super.c 44 .. kernel-doc:: fs/locks.c 47 .. kernel-doc:: fs/locks.c 53 .. kernel-doc:: fs/mpage.c 56 .. kernel-doc:: fs/namei.c 59 .. kernel-doc:: fs/buffer.c [all …]
|
D | fsverity.rst | 6 fs-verity: read-only file-based authenticity protection 12 fs-verity (``fs/verity/``) is a support layer that filesystems can 16 needed to support fs-verity. 18 fs-verity is similar to `dm-verity 21 filesystems supporting fs-verity, userspace can execute an ioctl that 31 that fs-verity is enforcing for the file. This ioctl executes in 34 fs-verity is essentially a way to hash a file in constant time, 41 By itself, the base fs-verity feature only provides integrity 44 However, because fs-verity makes retrieving the file hash extremely 51 authenticate the contents of an fs-verity file by using the [all …]
|
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_filter.c | 75 set_wr_txq(skb, CPL_PRIORITY_CONTROL, f->fs.val.iport & 0x3); in set_tcb_field() 168 u8 *nat_lp = (u8 *)&f->fs.nat_lport; in set_nat_params() 169 u8 *nat_fp = (u8 *)&f->fs.nat_fport; in set_nat_params() 172 if (f->fs.type) { in set_nat_params() 174 WORD_MASK, f->fs.nat_lip[15] | in set_nat_params() 175 f->fs.nat_lip[14] << 8 | in set_nat_params() 176 f->fs.nat_lip[13] << 16 | in set_nat_params() 177 f->fs.nat_lip[12] << 24, 1); in set_nat_params() 180 WORD_MASK, f->fs.nat_lip[11] | in set_nat_params() 181 f->fs.nat_lip[10] << 8 | in set_nat_params() [all …]
|
D | cxgb4_tc_flower.c | 128 static void cxgb4_action_natmode_tweak(struct ch_filter_specification *fs, in cxgb4_action_natmode_tweak() argument 140 fs->nat_mode = cxgb4_natmode_config_array[i].natmode; in cxgb4_action_natmode_tweak() 164 struct ch_filter_specification *fs) in cxgb4_process_flow_match() argument 193 fs->type = 1; in cxgb4_process_flow_match() 195 fs->val.ethtype = ethtype_key; in cxgb4_process_flow_match() 196 fs->mask.ethtype = ethtype_mask; in cxgb4_process_flow_match() 197 fs->val.proto = match.key->ip_proto; in cxgb4_process_flow_match() 198 fs->mask.proto = match.mask->ip_proto; in cxgb4_process_flow_match() 205 fs->type = 0; in cxgb4_process_flow_match() 206 memcpy(&fs->val.lip[0], &match.key->dst, sizeof(match.key->dst)); in cxgb4_process_flow_match() [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-fs-nilfs2 | 2 What: /sys/fs/nilfs2/features/revision 10 What: /sys/fs/nilfs2/features/README 14 Describe attributes of /sys/fs/nilfs2/features group. 16 What: /sys/fs/nilfs2/<device>/revision 24 What: /sys/fs/nilfs2/<device>/blocksize 30 What: /sys/fs/nilfs2/<device>/device_size 36 What: /sys/fs/nilfs2/<device>/free_blocks 42 What: /sys/fs/nilfs2/<device>/uuid 48 What: /sys/fs/nilfs2/<device>/volume_name 54 What: /sys/fs/nilfs2/<device>/README [all …]
|
D | sysfs-fs-f2fs | 1 What: /sys/fs/f2fs/<disk>/gc_max_sleep_time 7 What: /sys/fs/f2fs/<disk>/gc_min_sleep_time 13 What: /sys/fs/f2fs/<disk>/gc_no_gc_sleep_time 19 What: /sys/fs/f2fs/<disk>/gc_idle 31 What: /sys/fs/f2fs/<disk>/reclaim_segments 41 What: /sys/fs/f2fs/<disk>/main_blkaddr 47 What: /sys/fs/f2fs/<disk>/ipu_policy 65 What: /sys/fs/f2fs/<disk>/min_ipu_util 68 Description: Controls the FS utilization condition for the in-place-update 71 What: /sys/fs/f2fs/<disk>/min_fsync_blocks [all …]
|
D | sysfs-fs-ext4 | 1 What: /sys/fs/ext4/<disk>/mb_stats 10 What: /sys/fs/ext4/<disk>/mb_group_prealloc 18 What: /sys/fs/ext4/<disk>/mb_max_to_scan 25 What: /sys/fs/ext4/<disk>/mb_min_to_scan 32 What: /sys/fs/ext4/<disk>/mb_order2_req 40 What: /sys/fs/ext4/<disk>/mb_stream_req 51 What: /sys/fs/ext4/<disk>/inode_readahead_blks 59 What: /sys/fs/ext4/<disk>/delayed_allocation_blocks 67 What: /sys/fs/ext4/<disk>/lifetime_write_kbytes 75 What: /sys/fs/ext4/<disk>/session_write_kbytes [all …]
|
/Linux-v5.10/tools/lib/api/fs/ |
D | fs.c | 16 #include "fs.h" 84 "/sys/fs/bpf", 88 struct fs { struct 110 static struct fs fs__entries[] = { argument 149 static bool fs__read_mounts(struct fs *fs) in fs__read_mounts() argument 161 fs->path, type) == 2) { in fs__read_mounts() 163 if (strcmp(type, fs->name) == 0) in fs__read_mounts() 168 fs->checked = true; in fs__read_mounts() 169 return fs->found = found; in fs__read_mounts() 172 static int fs__valid_mount(const char *fs, long magic) in fs__valid_mount() argument [all …]
|
/Linux-v5.10/drivers/clk/st/ |
D | clkgen-fsyn.c | 72 unsigned long output, struct stm_fs *fs); 260 static int clk_fs660c32_vco_get_rate(unsigned long input, struct stm_fs *fs, in clk_fs660c32_vco_get_rate() argument 263 unsigned long nd = fs->ndiv + 16; /* ndiv value */ in clk_fs660c32_vco_get_rate() 288 unsigned long output, struct stm_fs *fs) in clk_fs660c32_vco_get_params() argument 311 fs->ndiv = n - 16; /* Converting formula value to reg value */ in clk_fs660c32_vco_get_params() 471 static void quadfs_fsynth_program_enable(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_enable() argument 477 CLKGEN_WRITE(fs, en[fs->chan], 1); in quadfs_fsynth_program_enable() 478 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_enable() 481 static void quadfs_fsynth_program_rate(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_rate() argument 490 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_rate() [all …]
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 33 #include <linux/mlx5/fs.h> 58 struct ethtool_rx_flow_spec *fs, in get_flow_table() argument 69 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in get_flow_table() 76 eth_ft = &priv->fs.ethtool.l3_l4_ft[prio]; in get_flow_table() 82 eth_ft = &priv->fs.ethtool.l3_l4_ft[prio]; in get_flow_table() 87 eth_ft = &priv->fs.ethtool.l2_ft[prio]; in get_flow_table() 212 parse_tcp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp4() argument 214 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.tcp_ip4_spec; in parse_tcp4() 215 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.tcp_ip4_spec; in parse_tcp4() 225 parse_udp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp4() argument [all …]
|
D | en_fs.c | 37 #include <linux/mlx5/fs.h> 121 for_each_set_bit(vlan, priv->fs.vlan.active_cvlans, VLAN_N_VID) in mlx5e_vport_context_update_vlans() 138 for_each_set_bit(vlan, priv->fs.vlan.active_cvlans, VLAN_N_VID) { in mlx5e_vport_context_update_vlans() 165 struct mlx5_flow_table *ft = priv->fs.vlan.ft.t; in __mlx5e_add_vlan_rule() 172 dest.ft = priv->fs.l2.ft.t; in __mlx5e_add_vlan_rule() 182 rule_p = &priv->fs.vlan.untagged_rule; in __mlx5e_add_vlan_rule() 187 rule_p = &priv->fs.vlan.any_cvlan_rule; in __mlx5e_add_vlan_rule() 193 rule_p = &priv->fs.vlan.any_svlan_rule; in __mlx5e_add_vlan_rule() 199 rule_p = &priv->fs.vlan.active_svlans_rule[vid]; in __mlx5e_add_vlan_rule() 209 rule_p = &priv->fs.vlan.active_cvlans_rule[vid]; in __mlx5e_add_vlan_rule() [all …]
|
/Linux-v5.10/include/math-emu/ |
D | op-common.h | 36 #define _FP_UNPACK_CANONICAL(fs, wc, X) \ argument 41 _FP_FRAC_HIGH_RAW_##fs(X) |= _FP_IMPLBIT_##fs; \ 43 X##_e -= _FP_EXPBIAS_##fs; \ 55 _shift -= _FP_FRACXBITS_##fs; \ 57 X##_e -= _FP_EXPBIAS_##fs - 1 + _shift; \ 68 case _FP_EXPMAX_##fs: \ 75 if (!(_FP_FRAC_HIGH_RAW_##fs(X) & _FP_QNANBIT_##fs)) \ 89 #define _FP_PACK_CANONICAL(fs, wc, X) \ argument 94 X##_e += _FP_EXPBIAS_##fs; \ 98 if (_FP_FRAC_OVERP_##wc(fs, X)) \ [all …]
|
/Linux-v5.10/fs/fuse/ |
D | virtio_fs.c | 3 * virtio-fs: Virtio Filesystem 7 #include <linux/fs.h> 21 /* List of virtio-fs device instances and a lock for the list. Also provides 49 /* A virtio-fs device instance */ 125 struct virtio_fs *fs = vq->vdev->priv; in vq_to_fsvq() local 127 return &fs->vqs[vq->index]; in vq_to_fsvq() 159 static void virtio_fs_put(struct virtio_fs *fs) in virtio_fs_put() argument 161 kref_put(&fs->refcount, release_virtio_fs_obj); in virtio_fs_put() 194 static void virtio_fs_drain_all_queues_locked(struct virtio_fs *fs) in virtio_fs_drain_all_queues_locked() argument 199 for (i = 0; i < fs->nvqs; i++) { in virtio_fs_drain_all_queues_locked() [all …]
|
/Linux-v5.10/fs/fscache/ |
D | proc.c | 2 /* FS-Cache statistics viewing interface 15 * initialise the /proc/fs/fscache/ directory 21 if (!proc_mkdir("fs/fscache", NULL)) in fscache_proc_init() 25 if (!proc_create_single("fs/fscache/stats", S_IFREG | 0444, NULL, in fscache_proc_init() 31 if (!proc_create_seq("fs/fscache/histogram", S_IFREG | 0444, NULL, in fscache_proc_init() 37 if (!proc_create("fs/fscache/objects", S_IFREG | 0444, NULL, in fscache_proc_init() 49 remove_proc_entry("fs/fscache/histogram", NULL); in fscache_proc_init() 53 remove_proc_entry("fs/fscache/stats", NULL); in fscache_proc_init() 56 remove_proc_entry("fs/fscache", NULL); in fscache_proc_init() 63 * clean up the /proc/fs/fscache/ directory [all …]
|
/Linux-v5.10/Documentation/x86/x86_64/ |
D | fsgs.rst | 3 Using FS and GS segments in user space applications 22 always 0 to provide a full 64bit address space. The FS and GS segments are 25 Common FS and GS usage 28 The FS segment is commonly used to address Thread Local Storage (TLS). FS 31 thread and the compiler emits the FS: address prefix for accesses to these 32 variables. Each thread has its own FS base address so common code can be 34 instances. Applications should not use FS for other purposes when they use 35 runtimes or threading libraries which manage the per thread FS. 41 Reading and writing the FS/GS base address 44 There exist two mechanisms to read and write the FS/GS base address: [all …]
|
/Linux-v5.10/kernel/ |
D | sys_ni.c | 55 /* fs/xattr.c */ 57 /* fs/dcache.c */ 59 /* fs/cookies.c */ 63 /* fs/eventfd.c */ 66 /* fs/eventfd.c */ 72 /* fs/fcntl.c */ 74 /* fs/inotify_user.c */ 79 /* fs/ioctl.c */ 81 /* fs/ioprio.c */ 85 /* fs/locks.c */ [all …]
|
/Linux-v5.10/Documentation/ABI/stable/ |
D | sysfs-fs-orangefs | 1 What: /sys/fs/orangefs/perf_counters/* 9 What: /sys/fs/orangefs/perf_counter_reset 15 /sys/fs/orangefs/perf_counters 19 What: /sys/fs/orangefs/perf_time_interval_secs 27 What: /sys/fs/orangefs/perf_history_size 43 What: /sys/fs/orangefs/op_timeout_secs 50 What: /sys/fs/orangefs/slot_timeout_secs 62 What: /sys/fs/orangefs/acache/* 69 What: /sys/fs/orangefs/ncache/* 76 What: /sys/fs/orangefs/capcache/* [all …]
|
/Linux-v5.10/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 24 struct ethtool_rx_flow_spec fs; member 349 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_ipv4_rule_set() argument 364 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set() 375 ip_frag = !!(be32_to_cpu(fs->h_ext.data[0]) & 1); in bcm_sf2_cfp_ipv4_rule_set() 378 if (fs->flow_type & FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set() 379 vlan_tci = fs->h_ext.vlan_tci; in bcm_sf2_cfp_ipv4_rule_set() 380 vlan_m_tci = fs->m_ext.vlan_tci; in bcm_sf2_cfp_ipv4_rule_set() 384 if (fs->location == RX_CLS_LOC_ANY) in bcm_sf2_cfp_ipv4_rule_set() 388 rule_index = fs->location; in bcm_sf2_cfp_ipv4_rule_set() 393 input.fs = fs; in bcm_sf2_cfp_ipv4_rule_set() [all …]
|
/Linux-v5.10/fs/verity/ |
D | Kconfig | 4 bool "FS Verity (read-only file-based authenticity protection)" 10 This option enables fs-verity. fs-verity is the dm-verity 25 fs-verity is especially useful on large files where not all 26 the contents may actually be needed. Also, fs-verity verifies 33 bool "FS Verity debugging" 36 Enable debugging messages related to fs-verity by default. 38 Say N unless you are an fs-verity developer. 41 bool "FS Verity builtin signature support" 46 certificates that have been loaded into the ".fs-verity"
|