| /linux/drivers/block/ |
| H A 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); 256 static bool swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes) in swim3_end_request() argument [all …]
|
| /linux/fs/ |
| H A D | fs_struct.c | 15 void set_fs_root(struct fs_struct *fs, const struct path *path) in set_fs_root() argument 20 write_seqlock(&fs->seq); in set_fs_root() 21 old_root = fs->root; in set_fs_root() 22 fs->root = *path; in set_fs_root() 23 write_sequnlock(&fs->seq); in set_fs_root() 32 void set_fs_pwd(struct fs_struct *fs, const struct path *path) in set_fs_pwd() argument 37 write_seqlock(&fs->seq); in set_fs_pwd() 38 old_pwd = fs->pwd; in set_fs_pwd() 39 fs->pwd = *path; in set_fs_pwd() 40 write_sequnlock(&fs->seq); in set_fs_pwd() [all …]
|
| H A D | Kconfig | 35 source "fs/ext2/Kconfig" 36 source "fs/ext4/Kconfig" 37 source "fs/jbd2/Kconfig" 46 source "fs/jfs/Kconfig" 48 source "fs/xfs/Kconfig" 49 source "fs/gfs2/Kconfig" 50 source "fs/ocfs2/Kconfig" 51 source "fs/btrfs/Kconfig" 52 source "fs/nilfs2/Kconfig" 53 source "fs/f2fs/Kconfig" [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A 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 …]
|
| H A 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/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | fs.h | 106 int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, 108 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple); 109 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs); 110 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs); 114 static inline int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, in mlx5e_arfs_create_tables() argument 117 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables() argument 118 static inline int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable() argument 120 static inline int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable() argument 133 void mlx5e_set_ttc_params(struct mlx5e_flow_steering *fs, 138 void mlx5e_destroy_ttc_table(struct mlx5e_flow_steering *fs); [all …]
|
| H A 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() 208 static int fs_udp_create_table(struct mlx5e_flow_steering *fs, enum fs_udp_type type) in fs_udp_create_table() argument 210 struct mlx5_flow_namespace *ns = mlx5e_fs_get_ns(fs, false); in fs_udp_create_table() 211 struct mlx5e_fs_udp *fs_udp = mlx5e_fs_get_udp(fs); in fs_udp_create_table() [all …]
|
| H A D | fs_tt_redirect.h | 13 mlx5e_fs_tt_redirect_udp_add_rule(struct mlx5e_flow_steering *fs, 16 void mlx5e_fs_tt_redirect_udp_destroy(struct mlx5e_flow_steering *fs); 17 int mlx5e_fs_tt_redirect_udp_create(struct mlx5e_flow_steering *fs); 21 mlx5e_fs_tt_redirect_any_add_rule(struct mlx5e_flow_steering *fs, 23 void mlx5e_fs_tt_redirect_any_destroy(struct mlx5e_flow_steering *fs); 24 int mlx5e_fs_tt_redirect_any_create(struct mlx5e_flow_steering *fs);
|
| /linux/drivers/clk/st/ |
| H A 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() 532 static void quadfs_fsynth_program_enable(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_enable() argument 538 CLKGEN_WRITE(fs, en[fs->chan], 1); in quadfs_fsynth_program_enable() 539 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_enable() 542 static void quadfs_fsynth_program_rate(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_rate() argument 551 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_rate() [all …]
|
| /linux/include/math-emu/ |
| H A 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 …]
|
| H A 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/fs/fuse/ |
| H A D | virtio_fs.c | 155 struct virtio_fs *fs = vq->vdev->priv; in vq_to_fsvq() local 157 return &fs->vqs[vq->index]; in vq_to_fsvq() 178 struct virtio_fs *fs = container_of(kobj, struct virtio_fs, kobj); in tag_show() local 180 return sysfs_emit(buf, "%s\n", fs->tag); in tag_show() 206 static struct virtio_fs_vq *virtio_fs_kobj_to_vq(struct virtio_fs *fs, in virtio_fs_kobj_to_vq() argument 211 for (i = 0; i < fs->nvqs; i++) { in virtio_fs_kobj_to_vq() 212 if (kobj == fs->vqs[i].kobj) in virtio_fs_kobj_to_vq() 213 return &fs->vqs[i]; in virtio_fs_kobj_to_vq() 221 struct virtio_fs *fs = container_of(kobj->parent->parent, struct virtio_fs, kobj); in name_show() local 222 struct virtio_fs_vq *fsvq = virtio_fs_kobj_to_vq(fs, kobj); in name_show() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A 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 …]
|
| H A 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 72 What: /sys/fs/f2fs/<disk>/min_ipu_util 78 What: /sys/fs/f2fs/<disk>/min_fsync_blocks 84 What: /sys/fs/f2fs/<disk>/min_seq_blocks [all …]
|
| /linux/include/linux/ |
| H A D | fs_struct.h | 27 static inline void get_fs_root(struct fs_struct *fs, struct path *root) in get_fs_root() argument 29 read_seqlock_excl(&fs->seq); in get_fs_root() 30 *root = fs->root; in get_fs_root() 32 read_sequnlock_excl(&fs->seq); in get_fs_root() 35 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd() argument 37 read_seqlock_excl(&fs->seq); in get_fs_pwd() 38 *pwd = fs->pwd; in get_fs_pwd() 40 read_sequnlock_excl(&fs->seq); in get_fs_pwd() 47 return current->fs->umask; in current_umask()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_arfs.c | 122 static int arfs_disable(struct mlx5e_flow_steering *fs) in arfs_disable() argument 124 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in arfs_disable() 131 fs_err(fs, in arfs_disable() 140 static void arfs_del_rules(struct mlx5e_flow_steering *fs); 142 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable() argument 151 if (!mlx5e_fs_get_arfs(fs)) in mlx5e_arfs_disable() 154 arfs_del_rules(fs); in mlx5e_arfs_disable() 156 return arfs_disable(fs); in mlx5e_arfs_disable() 159 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable() argument 161 struct mlx5_ttc_table *ttc = mlx5e_fs_get_ttc(fs, false); in mlx5e_arfs_enable() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | tfa9879.c | 29 int fs; in tfa9879_hw_params() local 34 fs = TFA9879_I2S_FS_8000; in tfa9879_hw_params() 37 fs = TFA9879_I2S_FS_11025; in tfa9879_hw_params() 40 fs = TFA9879_I2S_FS_12000; in tfa9879_hw_params() 43 fs = TFA9879_I2S_FS_16000; in tfa9879_hw_params() 46 fs = TFA9879_I2S_FS_22050; in tfa9879_hw_params() 49 fs = TFA9879_I2S_FS_24000; in tfa9879_hw_params() 52 fs = TFA9879_I2S_FS_32000; in tfa9879_hw_params() 55 fs = TFA9879_I2S_FS_44100; in tfa9879_hw_params() 58 fs = TFA9879_I2S_FS_48000; in tfa9879_hw_params() [all …]
|
| /linux/Documentation/translations/zh_CN/filesystems/ |
| H A 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”\
|
| /linux/Documentation/translations/zh_TW/filesystems/ |
| H A D | virtiofs.rst | 16 virtiofs: virtio-fs 主機<->客機共享文件系統 23 Linux的virtiofs文件系統實現了一個半虛擬化VIRTIO類型“virtio-fs”設備的驅動,通過該\ 30 步驟,且將存儲網絡暴露給客機。而virtio-fs設備通過提供不經過網絡的文件系統訪問文件\ 33 另外,virto-fs設備發揮了主客機共存的優點提高了性能,並且提供了網絡文件系統所不具備 44 請查閱 https://virtio-fs.gitlab.io/ 瞭解配置QEMU和virtiofsd守護程序的詳細信息。 48 由於virtio-fs設備將FUSE協議用於文件系統請求,因此Linux的virtiofs文件系統與FUSE文\ 50 間之間的/dev/fuse接口由virtio-fs設備接口代替。 57 其關鍵,因爲此時不可能加入高優先級的請求。爲了解決此差異,virtio-fs設備採用“hiprio”\
|
| /linux/sound/core/ |
| H A D | pcm_iec958.c | 55 unsigned int fs; in fill_iec958_consumer() local 59 fs = IEC958_AES3_CON_FS_32000; in fill_iec958_consumer() 62 fs = IEC958_AES3_CON_FS_44100; in fill_iec958_consumer() 65 fs = IEC958_AES3_CON_FS_48000; in fill_iec958_consumer() 68 fs = IEC958_AES3_CON_FS_88200; in fill_iec958_consumer() 71 fs = IEC958_AES3_CON_FS_96000; in fill_iec958_consumer() 74 fs = IEC958_AES3_CON_FS_176400; in fill_iec958_consumer() 77 fs = IEC958_AES3_CON_FS_192000; in fill_iec958_consumer() 84 cs[3] |= fs; in fill_iec958_consumer()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | ct_fs_dmfs.c | 9 netdev_dbg(fs->netdev, "ct_fs_dmfs debug: " fmt "\n", ##args) 18 mlx5_ct_fs_dmfs_init(struct mlx5_ct_fs *fs, struct mlx5_flow_table *ct, in mlx5_ct_fs_dmfs_init() argument 25 mlx5_ct_fs_dmfs_destroy(struct mlx5_ct_fs *fs) in mlx5_ct_fs_dmfs_destroy() argument 30 mlx5_ct_fs_dmfs_ct_rule_add(struct mlx5_ct_fs *fs, struct mlx5_flow_spec *spec, in mlx5_ct_fs_dmfs_ct_rule_add() argument 33 struct mlx5e_priv *priv = netdev_priv(fs->netdev); in mlx5_ct_fs_dmfs_ct_rule_add() 58 mlx5_ct_fs_dmfs_ct_rule_del(struct mlx5_ct_fs *fs, struct mlx5_ct_fs_rule *fs_rule) in mlx5_ct_fs_dmfs_ct_rule_del() argument 64 mlx5_tc_rule_delete(netdev_priv(fs->netdev), dmfs_rule->rule, dmfs_rule->attr); in mlx5_ct_fs_dmfs_ct_rule_del() 68 static int mlx5_ct_fs_dmfs_ct_rule_update(struct mlx5_ct_fs *fs, struct mlx5_ct_fs_rule *fs_rule, in mlx5_ct_fs_dmfs_ct_rule_update() argument 74 struct mlx5e_priv *priv = netdev_priv(fs->netdev); in mlx5_ct_fs_dmfs_ct_rule_update()
|
| /linux/Documentation/ABI/stable/ |
| H A 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/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | fs_tcp.h | 10 int mlx5e_accel_fs_tcp_create(struct mlx5e_flow_steering *fs); 11 void mlx5e_accel_fs_tcp_destroy(struct mlx5e_flow_steering *fs); 12 struct mlx5_flow_handle *mlx5e_accel_fs_add_sk(struct mlx5e_flow_steering *fs, 17 static inline int mlx5e_accel_fs_tcp_create(struct mlx5e_flow_steering *fs) { return 0; } in mlx5e_accel_fs_tcp_create() argument 18 static inline void mlx5e_accel_fs_tcp_destroy(struct mlx5e_flow_steering *fs) {} in mlx5e_accel_fs_tcp_destroy() argument 19 static inline struct mlx5_flow_handle *mlx5e_accel_fs_add_sk(struct mlx5e_flow_steering *fs, in mlx5e_accel_fs_add_sk() argument
|
| /linux/drivers/net/fddi/skfp/ |
| H A D | ess.c | 99 int fs); 113 int fs) in ess_raf_received_pack() argument 126 local = ((fs & L_INDICATOR) != 0) ; in ess_raf_received_pack() 133 return fs; in ess_raf_received_pack() 145 return fs; in ess_raf_received_pack() 173 return fs; in ess_raf_received_pack() 178 return fs; in ess_raf_received_pack() 197 return fs | I_INDICATOR; in ess_raf_received_pack() 200 return fs; in ess_raf_received_pack() 210 return fs; in ess_raf_received_pack() [all …]
|
| /linux/Documentation/filesystems/ |
| H A 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 code is needed to support fs-verity. 18 fs-verity is similar to `dm-verity 21 filesystems supporting fs-verity, userspace can execute an ioctl that 30 the "fs-verity file digest", which is a hash that includes the Merkle 31 tree root hash) that fs-verity is enforcing for the file. This ioctl 34 fs-verity is essentially a way to hash a file in constant time, 41 By itself, fs-verity only provides integrity protection, i.e. 44 However, because fs-verity makes retrieving the file hash extremely [all …]
|