Home
last modified time | relevance | path

Searched full:fs (Results 1 – 25 of 2315) sorted by relevance

12345678910>>...93

/linux/drivers/block/
H A Dswim3.c209 #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 Dfs_struct.c5 #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 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()
29 * Replace the fs->{pwdmnt,pwd} with {mnt,dentry}. Put the old values.
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()
[all …]
H A DKconfig35 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/mellanox/mlx5/core/en/
H A Dfs.h106 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 Dfs_tt_redirect.c77 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 …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c75 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 Dcxgb4_tc_flower.c128 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 …]
H A Dcxgb4_tc_u32.c45 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/Documentation/ABI/testing/
H A 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 …]
H A Dsysfs-fs-f2fs1 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
57 0x04 UTIL if FS utilization is over threshold
58 0x08 SSR_UTIL if SSR mode is activated and FS utilization is over
72 What: /sys/fs/f2fs/<disk>/min_ipu_util
[all …]
H A Dsysfs-fs-ext41 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 …]
H A Dsysfs-ocfs21 What: /sys/fs/ocfs2/
5 The /sys/fs/ocfs2 directory contains knobs used by the
8 What: /sys/fs/ocfs2/max_locking_protocol
12 The /sys/fs/ocfs2/max_locking_protocol file displays version
29 What: /sys/fs/ocfs2/loaded_cluster_plugins
33 The /sys/fs/ocfs2/loaded_cluster_plugins file describes
41 in conjunction with fs/dlm.
49 What: /sys/fs/ocfs2/active_cluster_plugin
53 The /sys/fs/ocfs2/active_cluster_plugin displays which
66 What: /sys/fs/ocfs2/cluster_stack
[all …]
/linux/drivers/clk/st/
H A Dclkgen-fsyn.c82 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/fs/fuse/
H A Dvirtio_fs.c3 * virtio-fs: Virtio Filesystem
7 #include <linux/fs.h>
31 /* List of virtio-fs device instances and a lock for the list. Also provides
37 /* The /sys/fs/virtio_fs/ kset */
63 /* A virtio-fs device instance */
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
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c33 #include <linux/mlx5/fs.h>
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()
233 parse_tcp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_tcp4() argument
235 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.tcp_ip4_spec; in parse_tcp4()
236 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.tcp_ip4_spec; in parse_tcp4()
246 parse_udp4(void *headers_c, void *headers_v, struct ethtool_rx_flow_spec *fs) in parse_udp4() argument
248 struct ethtool_tcpip4_spec *l4_mask = &fs->m_u.udp_ip4_spec; in parse_udp4()
249 struct ethtool_tcpip4_spec *l4_val = &fs->h_u.udp_ip4_spec; in parse_udp4()
[all …]
H A Den_arfs.c34 #include <linux/mlx5/fs.h>
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
144 /* Moving to switchdev mode, fs->arfs is freed by mlx5e_nic_profile in mlx5e_arfs_disable()
149 * with fs->arfs nullified. in mlx5e_arfs_disable()
151 if (!mlx5e_fs_get_arfs(fs)) in mlx5e_arfs_disable()
154 arfs_del_rules(fs); in mlx5e_arfs_disable()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dpsp.c59 struct mlx5e_flow_steering *fs; member
72 static void accel_psp_fs_rx_err_del_rules(struct mlx5e_psp_fs *fs, in accel_psp_fs_rx_err_del_rules() argument
86 mlx5_modify_header_dealloc(fs->mdev, rx_err->copy_modify_hdr); in accel_psp_fs_rx_err_del_rules()
91 static void accel_psp_fs_rx_err_destroy_ft(struct mlx5e_psp_fs *fs, in accel_psp_fs_rx_err_destroy_ft() argument
94 accel_psp_fs_rx_err_del_rules(fs, rx_err); in accel_psp_fs_rx_err_destroy_ft()
114 static int accel_psp_fs_rx_err_add_rule(struct mlx5e_psp_fs *fs, in accel_psp_fs_rx_err_add_rule() argument
119 struct mlx5_core_dev *mdev = fs->mdev; in accel_psp_fs_rx_err_add_rule()
187 static int accel_psp_fs_rx_err_create_ft(struct mlx5e_psp_fs *fs, in accel_psp_fs_rx_err_create_ft() argument
191 struct mlx5_flow_namespace *ns = mlx5e_fs_get_ns(fs->fs, false); in accel_psp_fs_rx_err_create_ft()
203 mlx5_core_err(fs->mdev, "fail to create psp rx inline ft err=%d\n", err); in accel_psp_fs_rx_err_create_ft()
[all …]
/linux/include/math-emu/
H A 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 …]
H A 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/Documentation/filesystems/
H A Dfsverity.rst6 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 …]
/linux/Documentation/arch/x86/x86_64/
H A Dfsgs.rst3 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/Documentation/ABI/stable/
H A 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/fs/netfs/
H A Dfscache_proc.c2 /* FS-Cache statistics viewing interface
15 * Add files to /proc/fs/netfs/.
19 if (!proc_symlink("fs/fscache", NULL, "netfs")) in fscache_proc_init()
22 if (!proc_create_seq("fs/netfs/caches", S_IFREG | 0444, NULL, in fscache_proc_init()
26 if (!proc_create_seq("fs/netfs/volumes", S_IFREG | 0444, NULL, in fscache_proc_init()
30 if (!proc_create_seq("fs/netfs/cookies", S_IFREG | 0444, NULL, in fscache_proc_init()
36 remove_proc_entry("fs/fscache", NULL); in fscache_proc_init()
42 * Clean up the /proc/fs/fscache symlink.
46 remove_proc_subtree("fs/fscache", NULL); in fscache_proc_cleanup()
/linux/fs/f2fs/
H A Diostat.c9 #include <linux/fs.h>
53 /* print fs write IOs */ in iostat_info_seq_show()
54 IOSTAT_INFO_SHOW("fs data", FS_DATA_IO); in iostat_info_seq_show()
55 IOSTAT_INFO_SHOW("fs cdata", FS_CDATA_IO); in iostat_info_seq_show()
56 IOSTAT_INFO_SHOW("fs node", FS_NODE_IO); in iostat_info_seq_show()
57 IOSTAT_INFO_SHOW("fs meta", FS_META_IO); in iostat_info_seq_show()
58 IOSTAT_INFO_SHOW("fs gc data", FS_GC_DATA_IO); in iostat_info_seq_show()
59 IOSTAT_INFO_SHOW("fs gc node", FS_GC_NODE_IO); in iostat_info_seq_show()
60 IOSTAT_INFO_SHOW("fs cp data", FS_CP_DATA_IO); in iostat_info_seq_show()
61 IOSTAT_INFO_SHOW("fs cp node", FS_CP_NODE_IO); in iostat_info_seq_show()
[all …]
/linux/Documentation/admin-guide/cgroup-v1/
H A Dpids.rst47 # mkdir -p /sys/fs/cgroup/pids
48 # mount -t cgroup -o pids none /sys/fs/cgroup/pids
52 # mkdir -p /sys/fs/cgroup/pids/parent/child
53 # echo 2 > /sys/fs/cgroup/pids/parent/pids.max
54 # echo $$ > /sys/fs/cgroup/pids/parent/cgroup.procs
55 # cat /sys/fs/cgroup/pids/parent/pids.current
62 # cat /sys/fs/cgroup/pids/parent/pids.current
72 # echo $$ > /sys/fs/cgroup/pids/parent/child/cgroup.procs
73 # cat /sys/fs/cgroup/pids/parent/pids.current
75 # cat /sys/fs/cgroup/pids/parent/child/pids.current
[all …]

12345678910>>...93