Home
last modified time | relevance | path

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

12345678910>>...151

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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 …]
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 …]
/openbmc/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 …]
/openbmc/u-boot/fs/ext4/
H A Dext4_write.c16 * based on code from grub2 fs/ext2.c and fs/fshelp.c by
41 (struct ext2_block_group *bg, const struct ext_filesystem *fs) in ext4fs_bg_free_inodes_inc() argument
44 if (fs->gdsize == 64) in ext4fs_bg_free_inodes_inc()
49 if (fs->gdsize == 64) in ext4fs_bg_free_inodes_inc()
54 (struct ext2_block_group *bg, const struct ext_filesystem *fs) in ext4fs_bg_free_blocks_inc() argument
57 if (fs->gdsize == 64) in ext4fs_bg_free_blocks_inc()
62 if (fs->gdsize == 64) in ext4fs_bg_free_blocks_inc()
70 struct ext_filesystem *fs = get_fs(); in ext4fs_update() local
75 (struct ext2_sblock *)fs->sb, (uint32_t)SUPERBLOCK_SIZE); in ext4fs_update()
78 for (i = 0; i < fs->no_blkgrp; i++) { in ext4fs_update()
[all …]
H A Dext4_journal.c36 struct ext_filesystem *fs = get_fs(); in ext4fs_init_journal() local
59 if (fs->blksz == 4096) { in ext4fs_init_journal()
60 temp = zalloc(fs->blksz); in ext4fs_init_journal()
63 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_init_journal()
66 ext4fs_devread(0, 0, fs->blksz, temp); in ext4fs_init_journal()
67 memcpy(temp + SUPERBLOCK_SIZE, fs->sb, SUPERBLOCK_SIZE); in ext4fs_init_journal()
68 memcpy(journal_ptr[gindex]->buf, temp, fs->blksz); in ext4fs_init_journal()
72 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_init_journal()
75 memcpy(journal_ptr[gindex]->buf, fs->sb, SUPERBLOCK_SIZE); in ext4fs_init_journal()
93 struct ext_filesystem *fs = get_fs(); in ext4fs_dump_metadata() local
[all …]
H A Dext4_common.c14 * based on code from grub2 fs/ext2.c and fs/fshelp.c by
49 (const struct ext_filesystem *fs, uint32_t bg_idx) in ext4fs_get_group_descriptor() argument
51 return (struct ext2_block_group *)(fs->gdtable + (bg_idx * fs->gdsize)); in ext4fs_get_group_descriptor()
70 (struct ext2_block_group *bg, const struct ext_filesystem *fs) in ext4fs_bg_free_inodes_dec() argument
73 if (fs->gdsize == 64) in ext4fs_bg_free_inodes_dec()
78 if (fs->gdsize == 64) in ext4fs_bg_free_inodes_dec()
83 (struct ext2_block_group *bg, const struct ext_filesystem *fs) in ext4fs_bg_free_blocks_dec() argument
86 if (fs->gdsize == 64) in ext4fs_bg_free_blocks_dec()
91 if (fs->gdsize == 64) in ext4fs_bg_free_blocks_dec()
96 (struct ext2_block_group *bg, const struct ext_filesystem *fs) in ext4fs_bg_itable_unused_dec() argument
[all …]
/openbmc/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 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 …]
H A DKconfig31 source "fs/ext2/Kconfig"
32 source "fs/ext4/Kconfig"
33 source "fs/jbd2/Kconfig"
42 source "fs/reiserfs/Kconfig"
43 source "fs/jfs/Kconfig"
45 source "fs/xfs/Kconfig"
46 source "fs/gfs2/Kconfig"
47 source "fs/ocfs2/Kconfig"
48 source "fs/btrfs/Kconfig"
49 source "fs/nilfs2/Kconfig"
[all …]
H A 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 …]
/openbmc/linux/Documentation/filesystems/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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 …]
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 …]
/openbmc/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 …]
/openbmc/qemu/hw/virtio/
H A Dvhost-user-fs.c24 #include "hw/virtio/vhost-user-fs.h"
43 VHostUserFS *fs = VHOST_USER_FS(vdev); in vuf_get_config() local
46 memcpy((char *)fscfg.tag, fs->conf.tag, in vuf_get_config()
47 MIN(strlen(fs->conf.tag) + 1, sizeof(fscfg.tag))); in vuf_get_config()
49 virtio_stl_p(vdev, &fscfg.num_request_queues, fs->conf.num_request_queues); in vuf_get_config()
56 VHostUserFS *fs = VHOST_USER_FS(vdev); in vuf_start() local
67 ret = vhost_dev_enable_notifiers(&fs->vhost_dev, vdev); in vuf_start()
73 ret = k->set_guest_notifiers(qbus->parent, fs->vhost_dev.nvqs, true); in vuf_start()
79 fs->vhost_dev.acked_features = vdev->guest_features; in vuf_start()
80 ret = vhost_dev_start(&fs->vhost_dev, vdev, true); in vuf_start()
[all …]
/openbmc/linux/tools/lib/api/fs/
H A 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 …]
/openbmc/phosphor-power/test/
H A Dtemporary_subdirectory_tests.cpp26 namespace fs = std::filesystem;
32 fs::path path = subdirectory.getPath(); in TEST()
34 EXPECT_TRUE(fs::exists(path)); in TEST()
35 EXPECT_TRUE(fs::is_directory(path)); in TEST()
37 fs::path parentDir = path.parent_path(); in TEST()
49 EXPECT_TRUE(fs::exists(subdirectory1.getPath())); in TEST()
52 fs::path path = subdirectory1.getPath(); in TEST()
62 EXPECT_TRUE(fs::exists(subdirectory2.getPath())); in TEST()
72 EXPECT_TRUE(fs::exists(subdirectory1.getPath())); in TEST()
75 fs::path path1 = subdirectory1.getPath(); in TEST()
[all …]
H A Dtemporary_file_tests.cpp26 namespace fs = std::filesystem;
29 * Modify the specified file so that fs::remove() fails with an exception.
35 inline void makeFileUnRemovable(const fs::path& path) in makeFileUnRemovable()
38 fs::path savePath{path.native() + ".save"}; in makeFileUnRemovable()
39 fs::rename(path, savePath); in makeFileUnRemovable()
42 fs::create_directory(path); in makeFileUnRemovable()
44 // Create a file within the directory. fs::remove() will throw an exception in makeFileUnRemovable()
50 * Modify the specified file so that fs::remove() can successfully delete it.
56 inline void makeFileRemovable(const fs::path& path) in makeFileRemovable()
60 fs::remove_all(path); in makeFileRemovable()
[all …]
/openbmc/qemu/target/mips/tcg/
H A Dlmmi_helper.c56 uint64_t helper_paddsb(uint64_t fs, uint64_t ft) in helper_paddsb() argument
61 vs.d = fs; in helper_paddsb()
70 uint64_t helper_paddusb(uint64_t fs, uint64_t ft) in helper_paddusb() argument
75 vs.d = fs; in helper_paddusb()
84 uint64_t helper_paddsh(uint64_t fs, uint64_t ft) in helper_paddsh() argument
89 vs.d = fs; in helper_paddsh()
98 uint64_t helper_paddush(uint64_t fs, uint64_t ft) in helper_paddush() argument
103 vs.d = fs; in helper_paddush()
112 uint64_t helper_paddb(uint64_t fs, uint64_t ft) in helper_paddb() argument
117 vs.d = fs; in helper_paddb()
[all …]
/openbmc/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 …]
/openbmc/qemu/hw/audio/
H A Dasc.c117 static uint8_t asc_fifo_get(ASCFIFOState *fs) in asc_fifo_get() argument
119 ASCState *s = container_of(fs, ASCState, fifos[fs->index]); in asc_fifo_get()
120 bool fifo_half_irq_enabled = fs->extregs[ASC_EXTREGS_INTCTRL] & 1; in asc_fifo_get()
123 assert(fs->cnt); in asc_fifo_get()
125 val = fs->fifo[fs->rptr]; in asc_fifo_get()
126 trace_asc_fifo_get('A' + fs->index, fs->rptr, fs->cnt, val); in asc_fifo_get()
128 fs->rptr++; in asc_fifo_get()
129 fs->rptr &= 0x3ff; in asc_fifo_get()
130 fs->cnt--; in asc_fifo_get()
132 if (fs->cnt <= 0x1ff) { in asc_fifo_get()
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dtemporary_file_test.cpp26 namespace fs = std::filesystem;
29 * Modify the specified file so that fs::remove() can successfully delete it.
35 inline void makeFileRemovable(const fs::path& path) in makeFileRemovable()
39 fs::remove_all(path); in makeFileRemovable()
42 fs::path savePath{path.native() + ".save"}; in makeFileRemovable()
43 fs::rename(savePath, path); in makeFileRemovable()
47 * Modify the specified file so that fs::remove() fails with an exception.
53 inline void makeFileUnRemovable(const fs::path& path) in makeFileUnRemovable()
56 fs::path savePath{path.native() + ".save"}; in makeFileUnRemovable()
57 fs::rename(path, savePath); in makeFileUnRemovable()
[all …]
/openbmc/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()
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 …]
/openbmc/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 …]

12345678910>>...151