Home
last modified time | relevance | path

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

12345678910>>...215

/kernel/liteos_a/fs/fat/virpart/src/
Dvirpartff.c43 #define ENTER_FF(fs) do { if (!lock_fs(fs)) return FR_TIMEOUT; } while (0) argument
44 #define LEAVE_FF(fs, res) do { unlock_fs(fs, res); return res; } while (0) argument
46 #define ENTER_FF(fs) argument
47 #define LEAVE_FF(fs, res) return (res) argument
67 FATFS *fs = obj->fs; in follow_virentry() local
85 for (i = 0; i < fs->vir_amount; i++) { in follow_virentry()
86 if (!CHILDFS(fs, i)) { in follow_virentry()
89 if (memcmp((CHILDFS(fs, i))->namelabel, keyword, _MAX_ENTRYLENGTH + 1) == 0) { in follow_virentry()
90 obj->fs = CHILDFS(fs, i); in follow_virentry()
102 FATFS fs; in f_checkname() local
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs.c38 #include <linux/mlx5/fs.h>
74 static int mlx5e_add_l2_flow_rule(struct mlx5e_flow_steering *fs,
76 static void mlx5e_del_l2_flow_rule(struct mlx5e_flow_steering *fs,
109 struct dentry *mlx5e_fs_get_debugfs_root(struct mlx5e_flow_steering *fs) in mlx5e_fs_get_debugfs_root() argument
111 return fs->dfs_root; in mlx5e_fs_get_debugfs_root()
170 static int mlx5e_vport_context_update_vlans(struct mlx5e_flow_steering *fs) in mlx5e_vport_context_update_vlans() argument
180 for_each_set_bit(vlan, fs->vlan->active_cvlans, VLAN_N_VID) in mlx5e_vport_context_update_vlans()
183 max_list_size = 1 << MLX5_CAP_GEN(fs->mdev, log_max_vlan_list); in mlx5e_vport_context_update_vlans()
186 …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()
196 for_each_set_bit(vlan, fs->vlan->active_cvlans, VLAN_N_VID) { in mlx5e_vport_context_update_vlans()
[all …]
/kernel/linux/linux-6.6/drivers/block/
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 …]
/kernel/linux/linux-5.10/drivers/block/
Dswim3.c208 #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 …]
/kernel/linux/linux-5.10/fs/
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 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 …]
DKconfig23 source "fs/ext2/Kconfig"
24 source "fs/ext4/Kconfig"
25 source "fs/hmdfs/Kconfig"
26 source "fs/sharefs/Kconfig"
27 source "fs/jbd2/Kconfig"
36 source "fs/reiserfs/Kconfig"
37 source "fs/jfs/Kconfig"
39 source "fs/xfs/Kconfig"
40 source "fs/gfs2/Kconfig"
41 source "fs/ocfs2/Kconfig"
[all …]
/kernel/linux/linux-6.6/fs/
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 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 …]
DKconfig31 source "fs/ext2/Kconfig"
32 source "fs/ext4/Kconfig"
33 source "fs/hmdfs/Kconfig"
34 source "fs/sharefs/Kconfig"
35 source "fs/jbd2/Kconfig"
44 source "fs/reiserfs/Kconfig"
45 source "fs/jfs/Kconfig"
47 source "fs/xfs/Kconfig"
48 source "fs/gfs2/Kconfig"
49 source "fs/ocfs2/Kconfig"
[all …]
Dfilesystems.c3 * 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 …]
/kernel/linux/linux-5.10/Documentation/filesystems/
Dsysv-fs.rst8 - 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 …]
Dapi-summary.rst14 .. 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 …]
/kernel/linux/linux-6.6/Documentation/filesystems/
Dsysv-fs.rst8 - 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 …]
Dapi-summary.rst14 .. 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 …]
/kernel/liteos_a/fs/vfs/
DMakefile34 $(LITEOSTOPDIR)/fs/vfs/mount.c \
35 $(LITEOSTOPDIR)/fs/vfs/vnode.c \
36 $(LITEOSTOPDIR)/fs/vfs/path_cache.c \
37 $(LITEOSTOPDIR)/fs/vfs/vnode_hash.c \
38 $(LITEOSTOPDIR)/fs/vfs/epoll/fs_epoll.c \
39 $(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_close.c \
40 $(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dup2.c \
41 $(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dup.c \
42 $(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dupfd2.c \
43 $(LITEOSTHIRDPARTY)/NuttX/fs/vfs/fs_dupfd.c \
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h100 int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs,
102 void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple);
103 int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs);
104 int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs);
108 static inline int mlx5e_arfs_create_tables(struct mlx5e_flow_steering *fs, in mlx5e_arfs_create_tables() argument
111 static inline void mlx5e_arfs_destroy_tables(struct mlx5e_flow_steering *fs, bool ntuple) {} in mlx5e_arfs_destroy_tables() argument
112 static inline int mlx5e_arfs_enable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_enable() argument
114 static inline int mlx5e_arfs_disable(struct mlx5e_flow_steering *fs) in mlx5e_arfs_disable() argument
127 void mlx5e_set_ttc_params(struct mlx5e_flow_steering *fs,
131 void mlx5e_destroy_ttc_table(struct mlx5e_flow_steering *fs);
[all …]
/kernel/liteos_a/fs/jffs2/
DBUILD.gn39 …path}/jffs2_build ]; then rm -r ${out_path}/jffs2_build; fi && mkdir -p ${out_path}/jffs2_build/fs"
40 cmd += " && cp ${linux_path}/fs/jffs2 ${out_path}/jffs2_build/fs/. -r"
51 "${out_path}/jffs2_build/fs/jffs2/background.c",
52 "${out_path}/jffs2_build/fs/jffs2/build.c",
53 "${out_path}/jffs2_build/fs/jffs2/compr.c",
54 "${out_path}/jffs2_build/fs/jffs2/compr_rtime.c",
55 "${out_path}/jffs2_build/fs/jffs2/compr_rubin.c",
56 "${out_path}/jffs2_build/fs/jffs2/compr_zlib.c",
57 "${out_path}/jffs2_build/fs/jffs2/debug.c",
58 "${out_path}/jffs2_build/fs/jffs2/dir.c",
[all …]
DMakefile39 $(TEMP_SRC_PATH)/fs/jffs2/background.c \
40 $(TEMP_SRC_PATH)/fs/jffs2/build.c \
41 $(TEMP_SRC_PATH)/fs/jffs2/compr.c \
42 $(TEMP_SRC_PATH)/fs/jffs2/compr_rtime.c \
43 $(TEMP_SRC_PATH)/fs/jffs2/compr_rubin.c \
44 $(TEMP_SRC_PATH)/fs/jffs2/compr_zlib.c \
45 $(TEMP_SRC_PATH)/fs/jffs2/debug.c \
46 $(TEMP_SRC_PATH)/fs/jffs2/dir.c \
47 $(TEMP_SRC_PATH)/fs/jffs2/erase.c \
48 $(TEMP_SRC_PATH)/fs/jffs2/file.c \
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
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 …]
/kernel/liteos_a/fs/fat/os_adapt/
Dfatfs.c37 #include "fs/file.h"
38 #include "fs/fs.h"
39 #include "fs/dirent_fs.h"
40 #include "fs/mount.h"
179 static bool fatfs_is_last_cluster(FATFS *fs, DWORD cclust) in fatfs_is_last_cluster() argument
181 switch (fs->fs_type) { in fatfs_is_last_cluster()
192 static int fatfs_sync(unsigned long mountflags, FATFS *fs) in fatfs_sync() argument
197 part = get_part((INT)fs->pdrv); in fatfs_sync()
259 static FRESULT init_cluster(DIR_FILE *pdfp, DIR *dp_new, FATFS *fs, int type, const char *target, D… in init_cluster() argument
276 result = sync_window(fs); /* Flush FAT */ in init_cluster()
[all …]
/kernel/linux/linux-6.6/tools/lib/api/fs/
Dfs.c18 #include "fs.h"
86 "/sys/fs/bpf",
90 struct fs { struct
102 static void fs__init_once(struct fs *fs); argument
103 static const char *fs__mountpoint(const struct fs *fs);
104 static const char *fs__mount(struct fs *fs);
106 #define FS(lower_name, fs_name, upper_name) \ macro
107 static struct fs fs__##lower_name = { \
116 struct fs *fs = &fs__##lower_name; \
118 fs__init_once(fs); \
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/tools/lib/api/fs/
Dfs.c16 #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 …]
/kernel/linux/linux-5.10/drivers/clk/st/
Dclkgen-fsyn.c72 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 …]

12345678910>>...215