/Linux-v6.1/drivers/block/ |
D | swim3.c | 209 #define swim3_err(fmt, arg...) dev_err(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 210 #define swim3_warn(fmt, arg...) dev_warn(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 211 #define swim3_info(fmt, arg...) dev_info(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 214 #define swim3_dbg(fmt, arg...) dev_dbg(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 237 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 | 426 static inline int swim_track(struct floppy_state *fs, int track) in swim_track() argument 428 struct swim __iomem *base = fs->swd->base; in swim_track() 431 ret = swim_seek(base, track - fs->track); in swim_track() 434 fs->track = track; in swim_track() 437 fs->track = 0; in swim_track() 443 static int floppy_eject(struct floppy_state *fs) in floppy_eject() argument 445 struct swim __iomem *base = fs->swd->base; in floppy_eject() 447 swim_drive(base, fs->location); in floppy_eject() 451 fs->disk_in = 0; in floppy_eject() 452 fs->ejected = 1; in floppy_eject() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs.c | 72 static int mlx5e_add_l2_flow_rule(struct mlx5e_flow_steering *fs, 74 static void mlx5e_del_l2_flow_rule(struct mlx5e_flow_steering *fs, 163 static int mlx5e_vport_context_update_vlans(struct mlx5e_flow_steering *fs) in mlx5e_vport_context_update_vlans() argument 173 for_each_set_bit(vlan, fs->vlan->active_cvlans, VLAN_N_VID) in mlx5e_vport_context_update_vlans() 176 max_list_size = 1 << MLX5_CAP_GEN(fs->mdev, log_max_vlan_list); in mlx5e_vport_context_update_vlans() 179 …fs_warn(fs, "netdev vlans list size (%d) > (%d) max vport list size, some vlans will be dropped\n", in mlx5e_vport_context_update_vlans() 189 for_each_set_bit(vlan, fs->vlan->active_cvlans, VLAN_N_VID) { in mlx5e_vport_context_update_vlans() 195 err = mlx5_modify_nic_vport_vlans(fs->mdev, vlans, list_size); in mlx5e_vport_context_update_vlans() 197 fs_err(fs, "Failed to modify vport vlans list err(%d)\n", in mlx5e_vport_context_update_vlans() 212 static int __mlx5e_add_vlan_rule(struct mlx5e_flow_steering *fs, in __mlx5e_add_vlan_rule() argument [all …]
|
D | en_fs_ethtool.c | 82 struct ethtool_rx_flow_spec *fs, in get_flow_table() argument 85 struct mlx5e_ethtool_steering *ethtool = mlx5e_fs_get_ethtool(priv->fs); in get_flow_table() 94 switch (flow_type_mask(fs->flow_type)) { in get_flow_table() 237 parse_tcp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp4() argument 239 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.tcp_ip4_spec; in parse_tcp4() 240 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.tcp_ip4_spec; in parse_tcp4() 250 parse_udp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp4() argument 252 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.udp_ip4_spec; in parse_udp4() 253 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.udp_ip4_spec; in parse_udp4() 263 parse_ip4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_ip4() argument [all …]
|
/Linux-v6.1/fs/ |
D | fs_struct.c | 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() 34 void set_fs_pwd(struct fs_struct *fs, const struct path *path) in set_fs_pwd() argument 39 spin_lock(&fs->lock); in set_fs_pwd() 40 write_seqcount_begin(&fs->seq); in set_fs_pwd() [all …]
|
D | filesystems.c | 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() 72 int register_filesystem(struct file_system_type * fs) in register_filesystem() argument 77 if (fs->parameters && in register_filesystem() 78 !fs_validate_description(fs->name, fs->parameters)) in register_filesystem() 81 BUG_ON(strchr(fs->name, '.')); in register_filesystem() 82 if (fs->next) in register_filesystem() [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 …]
|
/Linux-v6.1/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 (u64)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 …]
|
D | cxgb4_tc_u32.c | 45 struct ch_filter_specification *fs, in fill_match_fields() argument 75 err = entry[j].val(fs, val, mask); in fill_match_fields() 91 struct ch_filter_specification *fs, in fill_action_fields() argument 110 fs->action = FILTER_DROP; in fill_action_fields() 125 fs->action = FILTER_SWITCH; in fill_action_fields() 126 fs->eport = i; in fill_action_fields() 155 struct ch_filter_specification fs; in cxgb4_config_knode() local 198 memset(&fs, 0, sizeof(fs)); in cxgb4_config_knode() 201 fs.prio = 1; in cxgb4_config_knode() 202 fs.tc_prio = cls->common.prio; in cxgb4_config_knode() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | fs.h | 98 int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, 100 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple); 101 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs); 102 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs); 106 static inline int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, in mlx5e_arfs_create_tables() argument 109 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables() argument 110 static inline int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable() argument 112 static inline int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable() argument 125 void mlx5e_set_ttc_params(struct mlx5e_flow_steering *fs, 129 void mlx5e_destroy_ttc_table(struct mlx5e_flow_steering *fs); [all …]
|
D | fs_tt_redirect.c | 77 mlx5e_fs_tt_redirect_udp_add_rule(struct mlx5e_flow_steering *fs, in mlx5e_fs_tt_redirect_udp_add_rule() argument 81 struct mlx5e_fs_udp *fs_udp = mlx5e_fs_get_udp(fs); in mlx5e_fs_tt_redirect_udp_add_rule() 108 fs_err(fs, "%s: add %s rule failed, err %d\n", in mlx5e_fs_tt_redirect_udp_add_rule() 114 static int fs_udp_add_default_rule(struct mlx5e_flow_steering *fs, enum fs_udp_type type) in fs_udp_add_default_rule() argument 116 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in fs_udp_add_default_rule() 117 struct mlx5e_fs_udp *fs_udp = mlx5e_fs_get_udp(fs); in fs_udp_add_default_rule() 130 fs_err(fs, "%s: add default rule failed, fs type=%d, err %d\n", in fs_udp_add_default_rule() 207 static int fs_udp_create_table(struct mlx5e_flow_steering *fs, enum fs_udp_type type) in fs_udp_create_table() argument 209 struct mlx5_flow_namespace *ns = mlx5e_fs_get_ns(fs, false); in fs_udp_create_table() 210 struct mlx5e_fs_udp *fs_udp = mlx5e_fs_get_udp(fs); in fs_udp_create_table() [all …]
|
/Linux-v6.1/drivers/clk/st/ |
D | clkgen-fsyn.c | 82 unsigned long output, struct stm_fs *fs); 322 static int clk_fs660c32_vco_get_rate(unsigned long input, struct stm_fs *fs, in clk_fs660c32_vco_get_rate() argument 325 unsigned long nd = fs->ndiv + 16; /* ndiv value */ in clk_fs660c32_vco_get_rate() 350 unsigned long output, struct stm_fs *fs) in clk_fs660c32_vco_get_params() argument 373 fs->ndiv = n - 16; /* Converting formula value to reg value */ in clk_fs660c32_vco_get_params() 533 static void quadfs_fsynth_program_enable(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_enable() argument 539 CLKGEN_WRITE(fs, en[fs->chan], 1); in quadfs_fsynth_program_enable() 540 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_enable() 543 static void quadfs_fsynth_program_rate(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_rate() argument 552 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_rate() [all …]
|
/Linux-v6.1/Documentation/filesystems/ |
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 …]
|
/Linux-v6.1/tools/lib/api/fs/ |
D | fs.c | 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 176 if (statfs(fs, &st_fs) < 0) in fs__valid_mount() 184 static bool fs__check_mounts(struct fs *fs) in fs__check_mounts() argument [all …]
|
/Linux-v6.1/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 …]
|
D | op-1.h | 60 #define _FP_FRAC_OVERP_1(fs,X) (X##_f & _FP_OVERFLOW_##fs) argument 61 #define _FP_FRAC_CLEAR_OVERP_1(fs,X) (X##_f &= ~_FP_OVERFLOW_##fs) argument 75 #define _FP_UNPACK_RAW_1(fs, X, val) \ argument 77 union _FP_UNION_##fs _flo; _flo.flt = (val); \ 84 #define _FP_UNPACK_RAW_1_P(fs, X, val) \ argument 86 union _FP_UNION_##fs *_flo = \ 87 (union _FP_UNION_##fs *)(val); \ 98 #define _FP_PACK_RAW_1(fs, val, X) \ argument 100 union _FP_UNION_##fs _flo; \ 109 #define _FP_PACK_RAW_1_P(fs, val, X) \ argument [all …]
|
/Linux-v6.1/fs/fuse/ |
D | virtio_fs.c | 144 struct virtio_fs *fs = vq->vdev->priv; in vq_to_fsvq() local 146 return &fs->vqs[vq->index]; in vq_to_fsvq() 173 static void virtio_fs_put(struct virtio_fs *fs) in virtio_fs_put() argument 175 kref_put(&fs->refcount, release_virtio_fs_obj); in virtio_fs_put() 208 static void virtio_fs_drain_all_queues_locked(struct virtio_fs *fs) in virtio_fs_drain_all_queues_locked() argument 213 for (i = 0; i < fs->nvqs; i++) { in virtio_fs_drain_all_queues_locked() 214 fsvq = &fs->vqs[i]; in virtio_fs_drain_all_queues_locked() 219 static void virtio_fs_drain_all_queues(struct virtio_fs *fs) in virtio_fs_drain_all_queues() argument 228 virtio_fs_drain_all_queues_locked(fs); in virtio_fs_drain_all_queues() 232 static void virtio_fs_start_all_queues(struct virtio_fs *fs) in virtio_fs_start_all_queues() argument [all …]
|
/Linux-v6.1/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 46 What: /sys/fs/f2fs/<disk>/ipu_policy 65 What: /sys/fs/f2fs/<disk>/min_ipu_util 71 What: /sys/fs/f2fs/<disk>/min_fsync_blocks 77 What: /sys/fs/f2fs/<disk>/min_seq_blocks [all …]
|
/Linux-v6.1/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-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | fs_tcp.c | 74 struct mlx5_flow_handle *mlx5e_accel_fs_add_sk(struct mlx5e_flow_steering *fs, in mlx5e_accel_fs_add_sk() argument 78 struct mlx5e_accel_fs_tcp *fs_tcp = mlx5e_fs_get_accel_tcp(fs); in mlx5e_accel_fs_add_sk() 95 fs_dbg(fs, "%s flow is %pI4:%d -> %pI4:%d\n", __func__, in mlx5e_accel_fs_add_sk() 141 fs_err(fs, "mlx5_add_flow_rules() failed, flow is %ld\n", PTR_ERR(flow)); in mlx5e_accel_fs_add_sk() 148 static int accel_fs_tcp_add_default_rule(struct mlx5e_flow_steering *fs, in accel_fs_tcp_add_default_rule() argument 151 struct mlx5e_accel_fs_tcp *fs_tcp = mlx5e_fs_get_accel_tcp(fs); in accel_fs_tcp_add_default_rule() 152 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in accel_fs_tcp_add_default_rule() 165 fs_err(fs, "%s: add default rule failed, accel_fs type=%d, err %d\n", in accel_fs_tcp_add_default_rule() 264 static int accel_fs_tcp_create_table(struct mlx5e_flow_steering *fs, enum accel_fs_tcp_type type) in accel_fs_tcp_create_table() argument 266 struct mlx5e_accel_fs_tcp *accel_tcp = mlx5e_fs_get_accel_tcp(fs); in accel_fs_tcp_create_table() [all …]
|
/Linux-v6.1/arch/mips/math-emu/ |
D | cp1emu.c | 150 mips32_insn.fp6_format.fs = insn.mm_fp6_format.fs; in microMIPS32_to_MIPS32() 190 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32() 191 insn.mm_fp2_format.fs; in microMIPS32_to_MIPS32() 214 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32() 215 insn.mm_fp0_format.fs; in microMIPS32_to_MIPS32() 234 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32() 235 insn.mm_fp0_format.fs; in microMIPS32_to_MIPS32() 254 mips32_insn.r_format.rs = insn.mm_fp4_format.fs; in microMIPS32_to_MIPS32() 276 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32() 277 insn.mm_fp3_format.fs; in microMIPS32_to_MIPS32() [all …]
|
/Linux-v6.1/include/linux/ |
D | fs_struct.h | 27 static inline void get_fs_root(struct fs_struct *fs, struct path *root) in get_fs_root() argument 29 spin_lock(&fs->lock); in get_fs_root() 30 *root = fs->root; in get_fs_root() 32 spin_unlock(&fs->lock); in get_fs_root() 35 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd() argument 37 spin_lock(&fs->lock); in get_fs_pwd() 38 *pwd = fs->pwd; in get_fs_pwd() 40 spin_unlock(&fs->lock); in get_fs_pwd()
|
/Linux-v6.1/Documentation/translations/zh_CN/filesystems/ |
D | virtiofs.rst | 15 virtiofs: virtio-fs 主机<->客机共享文件系统 22 Linux的virtiofs文件系统实现了一个半虚拟化VIRTIO类型“virtio-fs”设备的驱动,通过该\ 29 步骤,且将存储网络暴露给客机。而virtio-fs设备通过提供不经过网络的文件系统访问文件\ 32 另外,virto-fs设备发挥了主客机共存的优点提高了性能,并且提供了网络文件系统所不具备 43 请查阅 https://virtio-fs.gitlab.io/ 了解配置QEMU和virtiofsd守护程序的详细信息。 47 由于virtio-fs设备将FUSE协议用于文件系统请求,因此Linux的virtiofs文件系统与FUSE文\ 49 间之间的/dev/fuse接口由virtio-fs设备接口代替。 56 其关键,因为此时不可能加入高优先级的请求。为了解决此差异,virtio-fs设备采用“hiprio”\
|