Home
last modified time | relevance | path

Searched refs:fs (Results 1 – 25 of 540) sorted by relevance

12345678910>>...22

/Linux-v4.19/drivers/block/
Dswim3.c211 #define swim3_err(fmt, arg...) dev_err(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
212 #define swim3_warn(fmt, arg...) dev_warn(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
213 #define swim3_info(fmt, arg...) dev_info(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
216 #define swim3_dbg(fmt, arg...) dev_dbg(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg)
239 static void seek_track(struct floppy_state *fs, int n);
241 static void act(struct floppy_state *fs);
248 static int grab_drive(struct floppy_state *fs, enum swim_state state,
250 static void release_drive(struct floppy_state *fs);
251 static int fd_eject(struct floppy_state *fs);
260 static bool swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes) in swim3_end_request() argument
[all …]
Dswim.c428 static inline int swim_track(struct floppy_state *fs, int track) in swim_track() argument
430 struct swim __iomem *base = fs->swd->base; in swim_track()
433 ret = swim_seek(base, track - fs->track); in swim_track()
436 fs->track = track; in swim_track()
439 fs->track = 0; in swim_track()
445 static int floppy_eject(struct floppy_state *fs) in floppy_eject() argument
447 struct swim __iomem *base = fs->swd->base; in floppy_eject()
449 swim_drive(base, fs->location); in floppy_eject()
453 fs->disk_in = 0; in floppy_eject()
454 fs->ejected = 1; in floppy_eject()
[all …]
/Linux-v4.19/fs/
Dfs_struct.c14 void set_fs_root(struct fs_struct *fs, const struct path *path) in set_fs_root() argument
19 spin_lock(&fs->lock); in set_fs_root()
20 write_seqcount_begin(&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_seqcount_end(&fs->seq); in set_fs_root()
24 spin_unlock(&fs->lock); in set_fs_root()
33 void set_fs_pwd(struct fs_struct *fs, const struct path *path) in set_fs_pwd() argument
38 spin_lock(&fs->lock); in set_fs_pwd()
39 write_seqcount_begin(&fs->seq); in set_fs_pwd()
[all …]
Dfilesystems.c37 struct file_system_type *get_filesystem(struct file_system_type *fs) in get_filesystem() argument
39 __module_get(fs->owner); in get_filesystem()
40 return fs; in get_filesystem()
43 void put_filesystem(struct file_system_type *fs) in put_filesystem() argument
45 module_put(fs->owner); in put_filesystem()
71 int register_filesystem(struct file_system_type * fs) in register_filesystem() argument
76 BUG_ON(strchr(fs->name, '.')); in register_filesystem()
77 if (fs->next) in register_filesystem()
80 p = find_filesystem(fs->name, strlen(fs->name)); in register_filesystem()
84 *p = fs; in register_filesystem()
[all …]
DKconfig16 source "fs/ext2/Kconfig"
17 source "fs/ext4/Kconfig"
18 source "fs/jbd2/Kconfig"
27 source "fs/reiserfs/Kconfig"
28 source "fs/jfs/Kconfig"
30 source "fs/xfs/Kconfig"
31 source "fs/gfs2/Kconfig"
32 source "fs/ocfs2/Kconfig"
33 source "fs/btrfs/Kconfig"
34 source "fs/nilfs2/Kconfig"
[all …]
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_filter.c75 set_wr_txq(skb, CPL_PRIORITY_CONTROL, f->fs.val.iport & 0x3); in set_tcb_field()
169 if (f->fs.type) { in set_nat_params()
171 WORD_MASK, f->fs.nat_lip[15] | in set_nat_params()
172 f->fs.nat_lip[14] << 8 | in set_nat_params()
173 f->fs.nat_lip[13] << 16 | in set_nat_params()
174 f->fs.nat_lip[12] << 24, 1); in set_nat_params()
177 WORD_MASK, f->fs.nat_lip[11] | in set_nat_params()
178 f->fs.nat_lip[10] << 8 | in set_nat_params()
179 f->fs.nat_lip[9] << 16 | in set_nat_params()
180 f->fs.nat_lip[8] << 24, 1); in set_nat_params()
[all …]
Dcxgb4_tc_flower.c84 struct ch_filter_specification *fs) in cxgb4_process_flow_match() argument
115 fs->type = 1; in cxgb4_process_flow_match()
117 fs->val.ethtype = ethtype_key; in cxgb4_process_flow_match()
118 fs->mask.ethtype = ethtype_mask; in cxgb4_process_flow_match()
119 fs->val.proto = key->ip_proto; in cxgb4_process_flow_match()
120 fs->mask.proto = mask->ip_proto; in cxgb4_process_flow_match()
132 fs->type = 0; in cxgb4_process_flow_match()
133 memcpy(&fs->val.lip[0], &key->dst, sizeof(key->dst)); in cxgb4_process_flow_match()
134 memcpy(&fs->val.fip[0], &key->src, sizeof(key->src)); in cxgb4_process_flow_match()
135 memcpy(&fs->mask.lip[0], &mask->dst, sizeof(mask->dst)); in cxgb4_process_flow_match()
[all …]
Dcxgb4_tc_u32.c44 struct ch_filter_specification *fs, in fill_match_fields() argument
74 err = entry[j].val(fs, val, mask); in fill_match_fields()
90 struct ch_filter_specification *fs, in fill_action_fields() argument
109 fs->action = FILTER_DROP; in fill_action_fields()
124 fs->action = FILTER_SWITCH; in fill_action_fields()
125 fs->eport = i; in fill_action_fields()
153 struct ch_filter_specification fs; in cxgb4_config_knode() local
191 memset(&fs, 0, sizeof(fs)); in cxgb4_config_knode()
264 ret = fill_match_fields(adapter, &fs, cls, in cxgb4_config_knode()
272 memcpy(&link->fs, &fs, sizeof(fs)); in cxgb4_config_knode()
[all …]
/Linux-v4.19/drivers/clk/st/
Dclkgen-fsyn.c77 unsigned long output, struct stm_fs *fs);
265 static int clk_fs660c32_vco_get_rate(unsigned long input, struct stm_fs *fs, in clk_fs660c32_vco_get_rate() argument
268 unsigned long nd = fs->ndiv + 16; /* ndiv value */ in clk_fs660c32_vco_get_rate()
293 unsigned long output, struct stm_fs *fs) in clk_fs660c32_vco_get_params() argument
316 fs->ndiv = n - 16; /* Converting formula value to reg value */ in clk_fs660c32_vco_get_params()
476 static void quadfs_fsynth_program_enable(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_enable() argument
482 CLKGEN_WRITE(fs, en[fs->chan], 1); in quadfs_fsynth_program_enable()
483 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_enable()
486 static void quadfs_fsynth_program_rate(struct st_clk_quadfs_fsynth *fs) in quadfs_fsynth_program_rate() argument
495 CLKGEN_WRITE(fs, en[fs->chan], 0); in quadfs_fsynth_program_rate()
[all …]
/Linux-v4.19/tools/lib/api/fs/
Dfs.c88 struct fs { struct
109 static struct fs fs__entries[] = { argument
142 static bool fs__read_mounts(struct fs *fs) in fs__read_mounts() argument
154 fs->path, type) == 2) { in fs__read_mounts()
156 if (strcmp(type, fs->name) == 0) in fs__read_mounts()
161 return fs->found = found; in fs__read_mounts()
164 static int fs__valid_mount(const char *fs, long magic) in fs__valid_mount() argument
168 if (statfs(fs, &st_fs) < 0) in fs__valid_mount()
176 static bool fs__check_mounts(struct fs *fs) in fs__check_mounts() argument
180 ptr = fs->mounts; in fs__check_mounts()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c56 struct ethtool_rx_flow_spec *fs, in get_flow_table() argument
66 switch (fs->flow_type & ~(FLOW_EXT | FLOW_MAC_EXT)) { in get_flow_table()
73 eth_ft = &priv->fs.ethtool.l3_l4_ft[prio]; in get_flow_table()
79 eth_ft = &priv->fs.ethtool.l3_l4_ft[prio]; in get_flow_table()
84 eth_ft = &priv->fs.ethtool.l2_ft[prio]; in get_flow_table()
207 parse_tcp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp4() argument
209 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.tcp_ip4_spec; in parse_tcp4()
210 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.tcp_ip4_spec; in parse_tcp4()
220 parse_udp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp4() argument
222 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.udp_ip4_spec; in parse_udp4()
[all …]
Den_fs.c121 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()
256 if (priv->fs.vlan.untagged_rule) { in mlx5e_del_vlan_rule()
[all …]
/Linux-v4.19/include/math-emu/
Dop-common.h36 #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 …]
Dop-1.h60 #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-v4.19/Documentation/ABI/testing/
Dsysfs-fs-nilfs22 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 …]
Dsysfs-fs-f2fs1 What: /sys/fs/f2fs/<disk>/gc_max_sleep_time
8 What: /sys/fs/f2fs/<disk>/gc_min_sleep_time
15 What: /sys/fs/f2fs/<disk>/gc_no_gc_sleep_time
22 What: /sys/fs/f2fs/<disk>/gc_idle
28 What: /sys/fs/f2fs/<disk>/reclaim_segments
34 What: /sys/fs/f2fs/<disk>/ipu_policy
40 What: /sys/fs/f2fs/<disk>/min_ipu_util
47 What: /sys/fs/f2fs/<disk>/min_fsync_blocks
54 What: /sys/fs/f2fs/<disk>/min_seq_blocks
62 What: /sys/fs/f2fs/<disk>/min_hot_blocks
[all …]
/Linux-v4.19/sound/core/
Dpcm_iec958.c18 unsigned int fs, ws; in create_iec958_consumer() local
25 fs = IEC958_AES3_CON_FS_32000; in create_iec958_consumer()
28 fs = IEC958_AES3_CON_FS_44100; in create_iec958_consumer()
31 fs = IEC958_AES3_CON_FS_48000; in create_iec958_consumer()
34 fs = IEC958_AES3_CON_FS_88200; in create_iec958_consumer()
37 fs = IEC958_AES3_CON_FS_96000; in create_iec958_consumer()
40 fs = IEC958_AES3_CON_FS_176400; in create_iec958_consumer()
43 fs = IEC958_AES3_CON_FS_192000; in create_iec958_consumer()
77 cs[3] = IEC958_AES3_CON_CLOCK_1000PPM | fs; in create_iec958_consumer()
/Linux-v4.19/drivers/net/dsa/
Dbcm_sf2_cfp.c327 struct ethtool_rx_flow_spec *fs) in bcm_sf2_cfp_ipv4_rule_set() argument
337 switch (fs->flow_type & ~FLOW_EXT) { in bcm_sf2_cfp_ipv4_rule_set()
340 v4_spec = &fs->h_u.tcp_ip4_spec; in bcm_sf2_cfp_ipv4_rule_set()
341 v4_m_spec = &fs->m_u.tcp_ip4_spec; in bcm_sf2_cfp_ipv4_rule_set()
345 v4_spec = &fs->h_u.udp_ip4_spec; in bcm_sf2_cfp_ipv4_rule_set()
346 v4_m_spec = &fs->m_u.udp_ip4_spec; in bcm_sf2_cfp_ipv4_rule_set()
352 ip_frag = be32_to_cpu(fs->m_ext.data[0]); in bcm_sf2_cfp_ipv4_rule_set()
355 if (fs->location == RX_CLS_LOC_ANY) in bcm_sf2_cfp_ipv4_rule_set()
359 rule_index = fs->location; in bcm_sf2_cfp_ipv4_rule_set()
440 fs->location = rule_index; in bcm_sf2_cfp_ipv4_rule_set()
[all …]
/Linux-v4.19/include/linux/
Dfs_struct.h27 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-v4.19/arch/mips/math-emu/
Dcp1emu.c162 mips32_insn.fp6_format.fs = insn.mm_fp6_format.fs; in microMIPS32_to_MIPS32()
202 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32()
203 insn.mm_fp2_format.fs; in microMIPS32_to_MIPS32()
226 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32()
227 insn.mm_fp0_format.fs; in microMIPS32_to_MIPS32()
246 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32()
247 insn.mm_fp0_format.fs; in microMIPS32_to_MIPS32()
266 mips32_insn.r_format.rs = insn.mm_fp4_format.fs; in microMIPS32_to_MIPS32()
288 mips32_insn.fp0_format.fs = in microMIPS32_to_MIPS32()
289 insn.mm_fp3_format.fs; in microMIPS32_to_MIPS32()
[all …]
/Linux-v4.19/sound/soc/codecs/
Dtfa9879.c29 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-v4.19/Documentation/ABI/stable/
Dsysfs-fs-orangefs1 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-v4.19/Documentation/filesystems/
Dindex.rst11 .. kernel-doc:: include/linux/fs.h
17 .. kernel-doc:: fs/dcache.c
26 .. kernel-doc:: fs/inode.c
29 .. kernel-doc:: fs/bad_inode.c
35 .. kernel-doc:: fs/super.c
41 .. kernel-doc:: fs/locks.c
44 .. kernel-doc:: fs/locks.c
50 .. kernel-doc:: fs/mpage.c
53 .. kernel-doc:: fs/namei.c
56 .. kernel-doc:: fs/buffer.c
[all …]
/Linux-v4.19/drivers/mtd/
Dafs.c75 struct footer_v1 fs; in afs_read_footer_v1() local
76 u_int ptr = off + mtd->erasesize - sizeof(fs); in afs_read_footer_v1()
80 ret = mtd_read(mtd, ptr, sizeof(fs), &sz, (u_char *)&fs); in afs_read_footer_v1()
81 if (ret >= 0 && sz != sizeof(fs)) in afs_read_footer_v1()
93 if (fs.signature != AFSV1_FOOTER_MAGIC) in afs_read_footer_v1()
99 if (word_sum(&fs, sizeof(fs) / sizeof(u32)) != 0xffffffff) in afs_read_footer_v1()
105 if (fs.type == 2) in afs_read_footer_v1()
108 *iis_start = fs.image_info_base & mask; in afs_read_footer_v1()
109 *img_start = fs.image_start & mask; in afs_read_footer_v1()
/Linux-v4.19/drivers/net/fddi/skfp/
Dess.c104 int fs);
118 int fs) in ess_raf_received_pack() argument
131 local = ((fs & L_INDICATOR) != 0) ; in ess_raf_received_pack()
138 return fs; in ess_raf_received_pack()
150 return fs; in ess_raf_received_pack()
178 return fs; in ess_raf_received_pack()
183 return fs; in ess_raf_received_pack()
202 return fs | I_INDICATOR; in ess_raf_received_pack()
205 return fs; in ess_raf_received_pack()
215 return fs; in ess_raf_received_pack()
[all …]

12345678910>>...22