Searched refs:sb (Results 1 - 25 of 924) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/
H A Dstrbuf.c20 int strbuf_init(struct strbuf *sb, ssize_t hint) argument
22 sb->alloc = sb->len = 0;
23 sb->buf = strbuf_slopbuf;
25 return strbuf_grow(sb, hint);
29 void strbuf_release(struct strbuf *sb) argument
31 if (sb->alloc) {
32 zfree(&sb->buf);
33 strbuf_init(sb, 0);
37 char *strbuf_detach(struct strbuf *sb, size_ argument
46 strbuf_grow(struct strbuf *sb, size_t extra) argument
73 strbuf_addch(struct strbuf *sb, int c) argument
84 strbuf_add(struct strbuf *sb, const void *data, size_t len) argument
94 strbuf_addv(struct strbuf *sb, const char *fmt, va_list ap) argument
128 strbuf_addf(struct strbuf *sb, const char *fmt, ...) argument
139 strbuf_read(struct strbuf *sb, int fd, ssize_t hint) argument
[all...]
H A Dstrbuf.h26 * strbuf_grow(sb, SOME_SIZE);
27 * ... Here, the memory array starting at sb->buf, and of length
28 * ... strbuf_avail(sb) is all yours, and you are sure that
29 * ... strbuf_avail(sb) is at least SOME_SIZE.
30 * strbuf_setlen(sb, sb->len + SOME_OTHER_SIZE);
32 * Of course, SOME_OTHER_SIZE must be smaller or equal to strbuf_avail(sb).
64 static inline ssize_t strbuf_avail(const struct strbuf *sb) { argument
65 return sb->alloc ? sb
70 strbuf_setlen(struct strbuf *sb, size_t len) argument
86 strbuf_addstr(struct strbuf *sb, const char *s) argument
[all...]
/linux-master/fs/befs/
H A Dsuper.h5 int befs_load_sb(struct super_block *sb, befs_super_block *disk_sb);
6 int befs_check_sb(struct super_block *sb);
H A Ddebug.c29 befs_error(const struct super_block *sb, const char *fmt, ...) argument
37 pr_err("(%s): %pV\n", sb->s_id, &vaf);
42 befs_warning(const struct super_block *sb, const char *fmt, ...) argument
50 pr_warn("(%s): %pV\n", sb->s_id, &vaf);
55 befs_debug(const struct super_block *sb, const char *fmt, ...) argument
65 pr_debug("(%s): %pV\n", sb->s_id, &vaf);
72 befs_dump_inode(const struct super_block *sb, befs_inode *inode) argument
78 befs_debug(sb, "befs_inode information");
80 befs_debug(sb, " magic1 %08x", fs32_to_cpu(sb, inod
156 befs_dump_super_block(const struct super_block *sb, befs_super_block *sup) argument
226 befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super *super) argument
248 befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *node) argument
[all...]
H A Dinode.c19 befs_check_inode(struct super_block *sb, befs_inode *raw_inode, argument
22 u32 magic1 = fs32_to_cpu(sb, raw_inode->magic1);
23 befs_inode_addr ino_num = fsrun_to_cpu(sb, raw_inode->inode_num);
24 u32 flags = fs32_to_cpu(sb, raw_inode->flags);
28 befs_error(sb,
37 if (inode != iaddr2blockno(sb, &ino_num)) {
38 befs_error(sb, "inode blocknr field disagrees with vfs "
40 inode, (unsigned long)iaddr2blockno(sb, &ino_num));
49 befs_error(sb, "inode is not used - inode = %lu",
H A Dinode.h6 int befs_check_inode(struct super_block *sb, befs_inode *raw_inode,
H A Dio.h5 struct buffer_head *befs_bread_iaddr(struct super_block *sb,
H A Dio.c27 befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr) argument
31 struct befs_sb_info *befs_sb = BEFS_SB(sb);
33 befs_debug(sb, "---> Enter %s "
38 befs_error(sb, "BEFS: Invalid allocation group %u, max is %u",
43 block = iaddr2blockno(sb, &iaddr);
45 befs_debug(sb, "%s: offset = %lu", __func__, (unsigned long)block);
47 bh = sb_bread(sb, block);
50 befs_error(sb, "Failed to read block %lu",
55 befs_debug(sb, "<--- %s", __func__);
59 befs_debug(sb, "<
[all...]
H A Dsuper.c21 befs_load_sb(struct super_block *sb, befs_super_block *disk_sb) argument
23 struct befs_sb_info *befs_sb = BEFS_SB(sb);
31 befs_sb->magic1 = fs32_to_cpu(sb, disk_sb->magic1);
32 befs_sb->magic2 = fs32_to_cpu(sb, disk_sb->magic2);
33 befs_sb->magic3 = fs32_to_cpu(sb, disk_sb->magic3);
34 befs_sb->block_size = fs32_to_cpu(sb, disk_sb->block_size);
35 befs_sb->block_shift = fs32_to_cpu(sb, disk_sb->block_shift);
36 befs_sb->num_blocks = fs64_to_cpu(sb, disk_sb->num_blocks);
37 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks);
38 befs_sb->inode_size = fs32_to_cpu(sb, disk_s
58 befs_check_sb(struct super_block *sb) argument
[all...]
H A Ddatastream.c24 static int befs_find_brun_direct(struct super_block *sb,
28 static int befs_find_brun_indirect(struct super_block *sb,
33 static int befs_find_brun_dblindirect(struct super_block *sb,
40 * @sb: Filesystem superblock
49 befs_read_datastream(struct super_block *sb, const befs_data_stream *ds, argument
56 befs_debug(sb, "---> %s %llu", __func__, pos);
57 block = pos >> BEFS_SB(sb)->block_shift;
59 *off = pos - (block << BEFS_SB(sb)->block_shift);
61 if (befs_fblock2brun(sb, ds, block, &run) != BEFS_OK) {
62 befs_error(sb, "BeF
95 befs_fblock2brun(struct super_block *sb, const befs_data_stream *data, befs_blocknr_t fblock, befs_block_run *run) argument
130 befs_read_lsymlink(struct super_block *sb, const befs_data_stream *ds, void *buff, befs_off_t len) argument
172 befs_count_blocks(struct super_block *sb, const befs_data_stream *ds) argument
251 befs_find_brun_direct(struct super_block *sb, const befs_data_stream *data, befs_blocknr_t blockno, befs_block_run *run) argument
305 befs_find_brun_indirect(struct super_block *sb, const befs_data_stream *data, befs_blocknr_t blockno, befs_block_run *run) argument
414 befs_find_brun_dblindirect(struct super_block *sb, const befs_data_stream *data, befs_blocknr_t blockno, befs_block_run *run) argument
[all...]
H A Ddatastream.h7 struct buffer_head *befs_read_datastream(struct super_block *sb,
11 int befs_fblock2brun(struct super_block *sb, const befs_data_stream *data,
14 size_t befs_read_lsymlink(struct super_block *sb, const befs_data_stream *data,
17 befs_blocknr_t befs_count_blocks(struct super_block *sb,
/linux-master/fs/btrfs/
H A Dsuper.h15 int btrfs_sync_fs(struct super_block *sb, int wait);
20 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb) argument
22 return sb->s_fs_info;
25 static inline void btrfs_set_sb_rdonly(struct super_block *sb) argument
27 sb->s_flags |= SB_RDONLY;
28 set_bit(BTRFS_FS_STATE_RO, &btrfs_sb(sb)->fs_state);
31 static inline void btrfs_clear_sb_rdonly(struct super_block *sb) argument
33 sb->s_flags &= ~SB_RDONLY;
34 clear_bit(BTRFS_FS_STATE_RO, &btrfs_sb(sb)->fs_state);
/linux-master/drivers/md/bcache/
H A Dfeatures.h27 #define BCH_HAS_COMPAT_FEATURE(sb, mask) \
28 ((sb)->feature_compat & (mask))
29 #define BCH_HAS_RO_COMPAT_FEATURE(sb, mask) \
30 ((sb)->feature_ro_compat & (mask))
31 #define BCH_HAS_INCOMPAT_FEATURE(sb, mask) \
32 ((sb)->feature_incompat & (mask))
35 static inline int bch_has_feature_##name(struct cache_sb *sb) \
37 if (sb->version < BCACHE_SB_VERSION_CDEV_WITH_FEATURES) \
39 return (((sb)->feature_compat & \
42 static inline void bch_set_feature_##name(struct cache_sb *sb) \
94 bch_has_unknown_compat_features(struct cache_sb *sb) argument
99 bch_has_unknown_ro_compat_features(struct cache_sb *sb) argument
104 bch_has_unknown_incompat_features(struct cache_sb *sb) argument
[all...]
/linux-master/fs/ocfs2/
H A Dsuper.h14 int __ocfs2_error(struct super_block *sb, const char *function,
17 #define ocfs2_error(sb, fmt, ...) \
18 __ocfs2_error(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
21 void __ocfs2_abort(struct super_block *sb, const char *function,
24 #define ocfs2_abort(sb, fmt, ...) \
25 __ocfs2_abort(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
/linux-master/fs/minix/
H A Ditree_v2.c25 #define INDIRCOUNT(sb) (1 << ((sb)->s_blocksize_bits - 2))
30 struct super_block *sb = inode->i_sb; local
34 block, sb->s_bdev);
37 if ((u64)block * (u64)sb->s_blocksize >= sb->s_maxbytes)
42 } else if ((block -= DIRCOUNT) < INDIRCOUNT(sb)) {
45 } else if ((block -= INDIRCOUNT(sb)) < INDIRCOUNT(sb) * INDIRCOUNT(sb)) {
72 V2_minix_blocks(loff_t size, struct super_block *sb) argument
[all...]
/linux-master/fs/hfs/
H A Dmdb.c32 static int hfs_get_last_session(struct super_block *sb, argument
35 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk);
39 *size = bdev_nr_sectors(sb->s_bdev);
41 if (HFS_SB(sb)->session >= 0) {
47 te.cdte_track = HFS_SB(sb)->session;
73 int hfs_mdb_get(struct super_block *sb) argument
85 size = sb_min_blocksize(sb, HFS_SECTOR_SIZE);
89 if (hfs_get_last_session(sb, &part_start, &part_size))
93 bh = sb_bread512(sb, part_start + HFS_MDB_BLK, mdb);
104 if (hfs_part_find(sb,
264 hfs_mdb_commit(struct super_block *sb) argument
340 hfs_mdb_close(struct super_block *sb) argument
354 hfs_mdb_put(struct super_block *sb) argument
[all...]
/linux-master/include/linux/
H A Dsbitmap.h106 * @sb: Scalable bitmap.
108 struct sbitmap sb; member in struct:sbitmap_queue
151 * @sb: Bitmap to initialize.
165 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift,
169 static inline unsigned int __map_depth(const struct sbitmap *sb, int index) argument
171 if (index == sb->map_nr - 1)
172 return sb->depth - (index << sb->shift);
173 return 1U << sb->shift;
178 * @sb
180 sbitmap_free(struct sbitmap *sb) argument
247 __sbitmap_for_each_set(struct sbitmap *sb, unsigned int start, sb_for_each_fn fn, void *data) argument
299 sbitmap_for_each_set(struct sbitmap *sb, sb_for_each_fn fn, void *data) argument
305 __sbitmap_word(struct sbitmap *sb, unsigned int bitnr) argument
313 sbitmap_set_bit(struct sbitmap *sb, unsigned int bitnr) argument
318 sbitmap_clear_bit(struct sbitmap *sb, unsigned int bitnr) argument
329 sbitmap_deferred_clear_bit(struct sbitmap *sb, unsigned int bitnr) argument
340 sbitmap_put(struct sbitmap *sb, unsigned int bitnr) argument
348 sbitmap_test_bit(struct sbitmap *sb, unsigned int bitnr) argument
[all...]
/linux-master/fs/
H A Dsuper.c42 static int thaw_super_locked(struct super_block *sb, enum freeze_holder who);
53 static inline void __super_lock(struct super_block *sb, bool excl) argument
56 down_write(&sb->s_umount);
58 down_read(&sb->s_umount);
61 static inline void super_unlock(struct super_block *sb, bool excl) argument
64 up_write(&sb->s_umount);
66 up_read(&sb->s_umount);
69 static inline void __super_lock_excl(struct super_block *sb) argument
71 __super_lock(sb, true);
74 static inline void super_unlock_excl(struct super_block *sb) argument
79 super_unlock_shared(struct super_block *sb) argument
84 super_flags(const struct super_block *sb, unsigned int flags) argument
109 super_lock(struct super_block *sb, bool excl) argument
137 super_lock_shared(struct super_block *sb) argument
143 super_lock_excl(struct super_block *sb) argument
150 super_wake(struct super_block *sb, unsigned int flag) argument
180 struct super_block *sb; local
237 struct super_block *sb; local
421 put_super(struct super_block *sb) argument
428 kill_super_notify(struct super_block *sb) argument
523 grab_super(struct super_block *sb) argument
559 super_trylock_shared(struct super_block *sb) argument
587 retire_super(struct super_block *sb) argument
614 generic_shutdown_super(struct super_block *sb) argument
863 drop_super(struct super_block *sb) argument
871 drop_super_exclusive(struct super_block *sb) argument
880 struct super_block *sb, *p = NULL; local
910 struct super_block *sb, *p = NULL; local
948 struct super_block *sb, *p = NULL; local
978 struct super_block *sb; local
1012 struct super_block *sb = fc->root->d_sb; local
1102 do_emergency_remount_callback(struct super_block *sb) argument
1139 do_thaw_all_callback(struct super_block *sb) argument
1222 kill_anon_super(struct super_block *sb) argument
1231 kill_litter_super(struct super_block *sb) argument
1239 set_anon_super_fc(struct super_block *sb, struct fs_context *fc) argument
1245 test_keyed_super(struct super_block *sb, struct fs_context *fc) argument
1255 vfs_get_super(struct fs_context *fc, int (*test)(struct super_block *, struct fs_context *), int (*fill_super)(struct super_block *sb, struct fs_context *fc)) argument
1260 struct super_block *sb; local
1283 get_tree_nodev(struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc)) argument
1291 get_tree_single(struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc)) argument
1299 get_tree_keyed(struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc), void *key) argument
1364 struct super_block *sb = bdev->bd_holder; variable in typeref:struct:super_block
1384 put_super(sb); variable
1399 struct super_block *sb; local
1417 struct super_block *sb; local
1430 struct super_block *sb; local
1459 struct super_block *sb; local
1499 struct super_block *sb; local
1526 setup_bdev_super(struct super_block *sb, int sb_flags, struct fs_context *fc) argument
1671 kill_block_super(struct super_block *sb) argument
1770 struct super_block *sb; local
1827 super_setup_bdi_name(struct super_block *sb, char *fmt, ...) argument
1856 super_setup_bdi(struct super_block *sb) argument
1873 sb_wait_write(struct super_block *sb, int level) argument
1882 lockdep_sb_freeze_release(struct super_block *sb) argument
1893 lockdep_sb_freeze_acquire(struct super_block *sb) argument
1901 sb_freeze_unlock(struct super_block *sb, int level) argument
1907 wait_for_partially_frozen(struct super_block *sb) argument
1928 freeze_inc(struct super_block *sb, enum freeze_holder who) argument
1940 freeze_dec(struct super_block *sb, enum freeze_holder who) argument
1952 may_freeze(struct super_block *sb, enum freeze_holder who) argument
2021 freeze_super(struct super_block *sb, enum freeze_holder who) argument
2116 thaw_super_locked(struct super_block *sb, enum freeze_holder who) argument
2177 thaw_super(struct super_block *sb, enum freeze_holder who) argument
2193 sb_init_dio_done_wq(struct super_block *sb) argument
[all...]
/linux-master/fs/ext4/
H A Dialloc.c79 static int ext4_validate_inode_bitmap(struct super_block *sb, argument
87 if (EXT4_SB(sb)->s_mount_state & EXT4_FC_REPLAY)
90 grp = ext4_get_group_info(sb, block_group);
97 ext4_lock_group(sb, block_group);
100 blk = ext4_inode_bitmap(sb, desc);
101 if (!ext4_inode_bitmap_csum_verify(sb, desc, bh,
102 EXT4_INODES_PER_GROUP(sb) / 8) ||
103 ext4_simulate_fail(sb, EXT4_SIM_IBITMAP_CRC)) {
104 ext4_unlock_group(sb, block_group);
105 ext4_error(sb, "Corrup
124 ext4_read_inode_bitmap(struct super_block *sb, ext4_group_t block_group) argument
237 struct super_block *sb = inode->i_sb; local
376 get_orlov_stats(struct super_block *sb, ext4_group_t g, int flex_size, struct orlov_stats *stats) argument
423 find_group_orlov(struct super_block *sb, struct inode *parent, ext4_group_t *group, umode_t mode, const struct qstr *qstr) argument
569 find_group_other(struct super_block *sb, struct inode *parent, ext4_group_t *group, umode_t mode) argument
674 recently_deleted(struct super_block *sb, ext4_group_t group, int ino) argument
717 find_inode_bit(struct super_block *sb, ext4_group_t group, struct buffer_head *bitmap, unsigned long *ino) argument
751 ext4_mark_inode_used(struct super_block *sb, int ino) argument
869 struct super_block *sb = dir->i_sb; local
930 struct super_block *sb; local
1369 ext4_orphan_get(struct super_block *sb, unsigned long ino) argument
1441 ext4_count_free_inodes(struct super_block *sb) argument
1492 ext4_count_dirs(struct super_block * sb) argument
1514 ext4_init_inode_table(struct super_block *sb, ext4_group_t group, int barrier) argument
[all...]
H A Dmballoc-test.c36 static void mbt_kill_sb(struct super_block *sb) argument
38 generic_shutdown_super(sb);
46 static int mbt_mb_init(struct super_block *sb) argument
51 /* needed by ext4_mb_init->bdev_nonrot(sb->s_bdev) */
52 sb->s_bdev = kzalloc(sizeof(*sb->s_bdev), GFP_KERNEL);
53 if (sb->s_bdev == NULL)
56 sb->s_bdev->bd_queue = kzalloc(sizeof(struct request_queue), GFP_KERNEL);
57 if (sb->s_bdev->bd_queue == NULL) {
58 kfree(sb
96 mbt_mb_release(struct super_block *sb) argument
105 mbt_set(struct super_block *sb, void *data) argument
113 struct super_block *sb; local
146 mbt_ext4_free_super_block(struct super_block *sb) argument
164 mbt_init_sb_layout(struct super_block *sb, struct mbt_ext4_block_layout *layout) argument
189 mbt_grp_ctx_init(struct super_block *sb, struct mbt_grp_ctx *grp_ctx) argument
209 mbt_ctx_mark_used(struct super_block *sb, ext4_group_t group, unsigned int start, unsigned int len) argument
217 mbt_ctx_bitmap(struct super_block *sb, ext4_group_t group) argument
225 mbt_ctx_init(struct super_block *sb) argument
256 mbt_ctx_release(struct super_block *sb) argument
267 ext4_read_block_bitmap_nowait_stub(struct super_block *sb, ext4_group_t block_group, bool ignore_locked) argument
277 ext4_wait_block_bitmap_stub(struct super_block *sb, ext4_group_t block_group, struct buffer_head *bh) argument
292 ext4_get_group_desc_stub(struct super_block *sb, ext4_group_t block_group, struct buffer_head **bh) argument
304 ext4_mb_mark_context_stub(handle_t *handle, struct super_block *sb, bool state, ext4_group_t group, ext4_grpblk_t blkoff, ext4_grpblk_t len, int flags, ext4_grpblk_t *ret_changed) argument
325 struct super_block *sb; local
366 struct super_block *sb = (struct super_block *)test->priv; local
375 struct super_block *sb = (struct super_block *)test->priv; local
440 mbt_generate_test_ranges(struct super_block *sb, struct test_range *ranges, int count) argument
458 validate_free_blocks_simple(struct kunit *test, struct super_block *sb, ext4_group_t goal_group, ext4_grpblk_t start, ext4_grpblk_t len) argument
488 struct super_block *sb = (struct super_block *)test->priv; local
510 struct super_block *sb = (struct super_block *)test->priv; local
530 struct super_block *sb = (struct super_block *)test->priv; local
559 struct super_block *sb = (struct super_block *)test->priv; local
580 mbt_generate_buddy(struct super_block *sb, void *buddy, void *bitmap, struct ext4_group_info *grp) argument
651 struct super_block *sb = (struct super_block *)test->priv; local
672 do_test_generate_buddy(struct kunit *test, struct super_block *sb, void *bitmap, void *mbt_buddy, struct ext4_group_info *mbt_grp, void *ext4_buddy, struct ext4_group_info *ext4_grp) argument
695 struct super_block *sb = (struct super_block *)test->priv; local
726 struct super_block *sb = (struct super_block *)test->priv; local
758 struct super_block *sb = (struct super_block *)test->priv; local
793 struct super_block *sb = (struct super_block *)test->priv; local
821 struct super_block *sb = (struct super_block *)test->priv; local
[all...]
/linux-master/lib/
H A Dsbitmap.c12 static int init_alloc_hint(struct sbitmap *sb, gfp_t flags) argument
14 unsigned depth = sb->depth;
16 sb->alloc_hint = alloc_percpu_gfp(unsigned int, flags);
17 if (!sb->alloc_hint)
20 if (depth && !sb->round_robin) {
24 *per_cpu_ptr(sb->alloc_hint, i) = get_random_u32_below(depth);
29 static inline unsigned update_alloc_hint_before_get(struct sbitmap *sb, argument
34 hint = this_cpu_read(*sb->alloc_hint);
37 this_cpu_write(*sb->alloc_hint, hint);
43 static inline void update_alloc_hint_after_get(struct sbitmap *sb, argument
83 sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, gfp_t flags, int node, bool round_robin, bool alloc_hint) argument
123 sbitmap_resize(struct sbitmap *sb, unsigned int depth) argument
189 sbitmap_find_bit(struct sbitmap *sb, unsigned int depth, unsigned int index, unsigned int alloc_hint, bool wrap) argument
219 __sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint) argument
239 sbitmap_get(struct sbitmap *sb) argument
256 __sbitmap_get_shallow(struct sbitmap *sb, unsigned int alloc_hint, unsigned long shallow_depth) argument
268 sbitmap_get_shallow(struct sbitmap *sb, unsigned long shallow_depth) argument
285 sbitmap_any_bit_set(const struct sbitmap *sb) argument
297 __sbitmap_weight(const struct sbitmap *sb, bool set) argument
313 sbitmap_cleared(const struct sbitmap *sb) argument
318 sbitmap_weight(const struct sbitmap *sb) argument
324 sbitmap_show(struct sbitmap *sb, struct seq_file *m) argument
346 sbitmap_bitmap_show(struct sbitmap *sb, struct seq_file *m) argument
480 struct sbitmap *sb = &sbq->sb; local
598 sbitmap_update_cpu_hint(struct sbitmap *sb, int cpu, int tag) argument
607 struct sbitmap *sb = &sbq->sb; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste_v1.h36 void dr_ste_v1_build_eth_l2_src_dst_init(struct mlx5dr_ste_build *sb,
38 void dr_ste_v1_build_eth_l3_ipv6_dst_init(struct mlx5dr_ste_build *sb,
40 void dr_ste_v1_build_eth_l3_ipv6_src_init(struct mlx5dr_ste_build *sb,
42 void dr_ste_v1_build_eth_l3_ipv4_5_tuple_init(struct mlx5dr_ste_build *sb,
44 void dr_ste_v1_build_eth_l2_src_init(struct mlx5dr_ste_build *sb,
46 void dr_ste_v1_build_eth_l2_dst_init(struct mlx5dr_ste_build *sb,
48 void dr_ste_v1_build_eth_l2_tnl_init(struct mlx5dr_ste_build *sb,
50 void dr_ste_v1_build_eth_l3_ipv4_misc_init(struct mlx5dr_ste_build *sb,
52 void dr_ste_v1_build_eth_ipv6_l3_l4_init(struct mlx5dr_ste_build *sb,
54 void dr_ste_v1_build_mpls_init(struct mlx5dr_ste_build *sb,
[all...]
/linux-master/fs/romfs/
H A Dinternal.h16 static inline size_t romfs_maxsize(struct super_block *sb) argument
18 return (size_t) (unsigned long) sb->s_fs_info;
38 extern int romfs_dev_read(struct super_block *sb, unsigned long pos,
40 extern ssize_t romfs_dev_strnlen(struct super_block *sb,
42 extern int romfs_dev_strcmp(struct super_block *sb, unsigned long pos,
/linux-master/fs/bcachefs/
H A Dsuper-io.c14 #include "sb-clean.h"
15 #include "sb-counters.h"
16 #include "sb-downgrade.h"
17 #include "sb-errors.h"
18 #include "sb-members.h"
81 struct bch_sb_field *bch2_sb_field_get_id(struct bch_sb *sb, argument
86 vstruct_for_each(sb, f)
92 static struct bch_sb_field *__bch2_sb_field_resize(struct bch_sb_handle *sb, argument
97 unsigned sb_u64s = le32_to_cpu(sb->sb
131 bch2_sb_field_delete(struct bch_sb_handle *sb, enum bch_sb_field_type type) argument
142 bch2_free_super(struct bch_sb_handle *sb) argument
154 bch2_sb_realloc(struct bch_sb_handle *sb, unsigned u64s) argument
213 bch2_sb_field_resize_id(struct bch_sb_handle *sb, enum bch_sb_field_type type, unsigned u64s) argument
248 bch2_sb_field_get_minsize_id(struct bch_sb_handle *sb, enum bch_sb_field_type type, unsigned u64s) argument
309 bch2_sb_compatible(struct bch_sb *sb, struct printbuf *out) argument
350 struct bch_sb *sb = disk_sb->sb; local
623 read_one_super(struct bch_sb_handle *sb, u64 offset, struct printbuf *err) argument
683 __bch2_read_super(const char *path, struct bch_opts *opts, struct bch_sb_handle *sb, bool ignore_notbchfs_msg) argument
839 bch2_read_super(const char *path, struct bch_opts *opts, struct bch_sb_handle *sb) argument
847 bch2_read_super_silent(const char *path, struct bch_opts *opts, struct bch_sb_handle *sb) argument
876 struct bch_sb *sb = ca->disk_sb.sb; local
894 struct bch_sb *sb = ca->disk_sb.sb; local
922 unsigned sb = 0, nr_wrote; local
1137 bch2_sb_ext_validate(struct bch_sb *sb, struct bch_sb_field *f, struct printbuf *err) argument
1148 bch2_sb_ext_to_text(struct printbuf *out, struct bch_sb *sb, struct bch_sb_field *f) argument
1198 bch2_sb_field_validate(struct bch_sb *sb, struct bch_sb_field *f, struct printbuf *err) argument
1218 __bch2_sb_field_to_text(struct printbuf *out, struct bch_sb *sb, struct bch_sb_field *f) argument
1231 bch2_sb_field_to_text(struct printbuf *out, struct bch_sb *sb, struct bch_sb_field *f) argument
1270 bch2_sb_to_text(struct printbuf *out, struct bch_sb *sb, bool print_layout, unsigned fields) argument
[all...]
/linux-master/fs/coda/
H A Dcoda_psdev.h42 static inline struct venus_comm *coda_vcp(struct super_block *sb) argument
44 return (struct venus_comm *)((sb)->s_fs_info);
48 int venus_rootfid(struct super_block *sb, struct CodaFid *fidp);
49 int venus_getattr(struct super_block *sb, struct CodaFid *fid,
52 int venus_lookup(struct super_block *sb, struct CodaFid *fid,
55 int venus_close(struct super_block *sb, struct CodaFid *fid, int flags,
57 int venus_open(struct super_block *sb, struct CodaFid *fid, int flags,
59 int venus_mkdir(struct super_block *sb, struct CodaFid *dirfid,
62 int venus_create(struct super_block *sb, struct CodaFid *dirfid,
65 int venus_rmdir(struct super_block *sb, struc
[all...]

Completed in 382 milliseconds

1234567891011>>