Searched refs:sb (Results 76 - 100 of 935) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_shared_buf.c13 static u32 nfp_shared_buf_pool_unit(struct nfp_pf *pf, unsigned int sb) argument
15 __le32 sb_id = cpu_to_le32(sb);
26 int nfp_shared_buf_pool_get(struct nfp_pf *pf, unsigned int sb, u16 pool_index, argument
31 .shared_buf = cpu_to_le32(sb),
37 unit_size = nfp_shared_buf_pool_unit(pf, sb);
56 int nfp_shared_buf_pool_set(struct nfp_pf *pf, unsigned int sb, argument
62 .shared_buf = cpu_to_le32(sb),
69 unit_size = nfp_shared_buf_pool_unit(pf, sb);
110 struct nfp_shared_buf *sb = &pf->shared_bufs[i]; local
113 memcpy_fromio(sb, sb_des
[all...]
/linux-master/fs/ufs/
H A Dutil.h32 ufs_get_fs_state(struct super_block *sb, struct ufs_super_block_first *usb1, argument
35 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) {
37 if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT)
38 return fs32_to_cpu(sb, usb1->fs_u0.fs_sun.fs_state);
41 return fs32_to_cpu(sb, usb3->fs_un2.fs_sun.fs_state);
43 return fs32_to_cpu(sb, usb1->fs_u1.fs_sunx86.fs_state);
46 return fs32_to_cpu(sb, usb3->fs_un2.fs_44.fs_state);
51 ufs_set_fs_state(struct super_block *sb, struct ufs_super_block_first *usb1, argument
54 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) {
56 if (fs32_to_cpu(sb, usb
74 ufs_get_fs_npsect(struct super_block *sb, struct ufs_super_block_first *usb1, struct ufs_super_block_third *usb3) argument
84 ufs_get_fs_qbmask(struct super_block *sb, struct ufs_super_block_third *usb3) argument
108 ufs_get_fs_qfmask(struct super_block *sb, struct ufs_super_block_third *usb3) argument
132 ufs_get_de_namlen(struct super_block *sb, struct ufs_dir_entry *de) argument
141 ufs_set_de_namlen(struct super_block *sb, struct ufs_dir_entry *de, u16 value) argument
150 ufs_set_de_type(struct super_block *sb, struct ufs_dir_entry *de, int mode) argument
186 ufs_get_inode_uid(struct super_block *sb, struct ufs_inode *inode) argument
201 ufs_set_inode_uid(struct super_block *sb, struct ufs_inode *inode, u32 value) argument
220 ufs_get_inode_gid(struct super_block *sb, struct ufs_inode *inode) argument
235 ufs_set_inode_gid(struct super_block *sb, struct ufs_inode *inode, u32 value) argument
521 ufs_fragacct(struct super_block * sb, unsigned blockmap, __fs32 * fraglist, int cnt) argument
553 ufs_data_ptr_to_cpu(struct super_block *sb, void *p) argument
560 ufs_cpu_to_data_ptr(struct super_block *sb, void *p, u64 val) argument
[all...]
H A Ddir.c35 static inline int ufs_match(struct super_block *sb, int len, argument
38 if (len != ufs_get_de_namlen(sb, de))
119 struct super_block *sb = dir->i_sb; local
123 const unsigned chunk_mask = UFS_SB(sb)->s_uspi->s_dirblksize - 1;
136 rec_len = fs16_to_cpu(sb, p->d_reclen);
142 if (rec_len < UFS_DIR_REC_LEN(ufs_get_de_namlen(sb, p)))
146 if (fs32_to_cpu(sb, p->d_ino) > (UFS_SB(sb)->s_uspi->s_ipg *
147 UFS_SB(sb)->s_uspi->s_ncg))
159 ufs_error(sb, "ufs_check_pag
229 ufs_next_entry(struct super_block *sb, struct ufs_dir_entry *p) argument
259 struct super_block *sb = dir->i_sb; local
316 struct super_block *sb = dir->i_sb; local
415 ufs_validate_entry(struct super_block *sb, char *base, unsigned offset, unsigned mask) argument
434 struct super_block *sb = inode->i_sb; local
505 struct super_block *sb = inode->i_sb; local
553 struct super_block * sb = dir->i_sb; local
602 struct super_block *sb = inode->i_sb; local
[all...]
H A Dballoc.c41 struct super_block * sb; local
48 sb = inode->i_sb;
49 uspi = UFS_SB(sb)->s_uspi;
55 ufs_error (sb, "ufs_free_fragments", "internal error");
57 mutex_lock(&UFS_SB(sb)->s_lock);
62 ufs_panic (sb, "ufs_free_fragments", "freeing blocks are outside device");
66 ucpi = ufs_load_cylinder (sb, cgno);
70 if (!ufs_cg_chkmagic(sb, ucg)) {
71 ufs_panic (sb, "ufs_free_fragments", "internal error, bad magic number on cg %u", cgno);
78 ufs_fragacct (sb, blkma
137 struct super_block * sb; local
342 struct super_block * sb; local
505 struct super_block * sb; local
584 struct super_block * sb; local
698 struct super_block * sb; local
789 ufs_bitmap_search(struct super_block *sb, struct ufs_cg_private_info *ucpi, u64 goal, unsigned count) argument
865 ufs_clusteracct(struct super_block * sb, struct ufs_cg_private_info * ucpi, unsigned blkno, int cnt) argument
[all...]
H A Dinode.c128 struct super_block *sb = inode->i_sb; local
129 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi;
134 unsigned flags = UFS_SB(sb)->s_flags;
159 bh = sb_bread(sb, uspi->s_sbbase +
160 fs32_to_cpu(sb, q->key32) + (n>>shift));
169 res = fs32_to_cpu(sb, q->key32);
183 bh = sb_bread(sb, uspi->s_sbbase +
184 fs64_to_cpu(sb, q->key64) + (n>>shift));
193 res = fs64_to_cpu(sb, q->key64);
226 struct super_block *sb local
261 struct super_block *sb = inode->i_sb; local
339 struct super_block *sb = inode->i_sb; local
399 struct super_block *sb = inode->i_sb; local
567 struct super_block *sb = inode->i_sb; local
615 struct super_block *sb = inode->i_sb; local
659 ufs_iget(struct super_block *sb, unsigned long ino) argument
723 struct super_block *sb = inode->i_sb; local
769 struct super_block *sb = inode->i_sb; local
812 struct super_block *sb = inode->i_sb; local
904 struct super_block * sb; local
991 struct super_block *sb = inode->i_sb; local
1024 struct super_block *sb = inode->i_sb; local
1064 struct super_block *sb = inode->i_sb; local
1132 struct super_block *sb = inode->i_sb; local
[all...]
/linux-master/fs/hfs/
H A Dsuper.c33 static int hfs_sync_fs(struct super_block *sb, int wait) argument
35 hfs_mdb_commit(sb);
44 * associated with the superblock sb.
46 static void hfs_put_super(struct super_block *sb) argument
48 cancel_delayed_work_sync(&HFS_SB(sb)->mdb_work);
49 hfs_mdb_close(sb);
51 hfs_mdb_put(sb);
57 struct super_block *sb; local
60 sb = sbi->sb;
69 hfs_mark_mdb_dirty(struct super_block *sb) argument
97 struct super_block *sb = dentry->d_sb; local
113 hfs_remount(struct super_block *sb, int *flags, char *data) argument
161 hfs_alloc_inode(struct super_block *sb) argument
378 hfs_fill_super(struct super_block *sb, void *data, int silent) argument
[all...]
H A Dbitmap.c139 u32 hfs_vbm_search_free(struct super_block *sb, u32 goal, u32 *num_bits) argument
148 mutex_lock(&HFS_SB(sb)->bitmap_lock);
149 bitmap = HFS_SB(sb)->bitmap;
151 pos = hfs_find_set_zero_bits(bitmap, HFS_SB(sb)->fs_ablocks, goal, num_bits);
152 if (pos >= HFS_SB(sb)->fs_ablocks) {
155 if (pos >= HFS_SB(sb)->fs_ablocks) {
162 HFS_SB(sb)->free_ablocks -= *num_bits;
163 hfs_bitmap_dirty(sb);
165 mutex_unlock(&HFS_SB(sb)->bitmap_lock);
193 int hfs_clear_vbm_bits(struct super_block *sb, u1 argument
[all...]
/linux-master/fs/orangefs/
H A Dsuper.c54 static int parse_mount_options(struct super_block *sb, char *options, argument
57 struct orangefs_sb_info_s *orangefs_sb = ORANGEFS_SB(sb);
65 sb->s_flags &= ~SB_POSIXACL;
78 sb->s_flags |= SB_POSIXACL;
106 static struct inode *orangefs_alloc_inode(struct super_block *sb) argument
110 orangefs_inode = alloc_inode_sb(sb, orangefs_inode_cache, GFP_KERNEL);
169 struct super_block *sb = NULL; local
171 sb = dentry->d_sb;
174 "%s: called on sb %p (fs_id is %d)\n",
176 sb,
226 orangefs_remount_fs(struct super_block *sb, int *flags, char *data) argument
326 orangefs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
412 orangefs_fill_sb(struct super_block *sb, struct orangefs_fs_mount_response *fs_mount, void *data, int silent) argument
479 struct super_block *sb = ERR_PTR(-EINVAL); local
595 orangefs_kill_sb(struct super_block *sb) argument
[all...]
/linux-master/fs/exfat/
H A Dsuper.c34 static void exfat_put_super(struct super_block *sb) argument
36 struct exfat_sb_info *sbi = EXFAT_SB(sb);
44 static int exfat_sync_fs(struct super_block *sb, int wait) argument
46 struct exfat_sb_info *sbi = EXFAT_SB(sb);
54 sync_blockdev(sb->s_bdev);
55 if (exfat_clear_volume_dirty(sb))
63 struct super_block *sb = dentry->d_sb; local
64 struct exfat_sb_info *sbi = EXFAT_SB(sb);
65 unsigned long long id = huge_encode_dev(sb->s_bdev->bd_dev);
69 if (exfat_count_used_clusters(sb,
87 exfat_set_vol_flags(struct super_block *sb, unsigned short new_flags) argument
117 exfat_set_volume_dirty(struct super_block *sb) argument
124 exfat_clear_volume_dirty(struct super_block *sb) argument
133 struct super_block *sb = root->d_sb; local
170 exfat_alloc_inode(struct super_block *sb) argument
324 exfat_hash_init(struct super_block *sb) argument
336 struct super_block *sb = inode->i_sb; local
382 exfat_calibrate_blocksize(struct super_block *sb, int logical_sect) argument
416 exfat_read_boot_sector(struct super_block *sb) argument
529 exfat_verify_boot_region(struct super_block *sb) argument
574 __exfat_fill_super(struct super_block *sb) argument
618 exfat_fill_super(struct super_block *sb, struct fs_context *fc) argument
776 exfat_kill_sb(struct super_block *sb) argument
[all...]
H A Dexfat_fs.h96 #define EXFAT_BLK_TO_B(b, sb) ((b) << (sb)->s_blocksize_bits)
97 #define EXFAT_B_TO_BLK(b, sb) ((b) >> (sb)->s_blocksize_bits)
98 #define EXFAT_B_TO_BLK_ROUND_UP(b, sb) \
99 (((b - 1) >> (sb)->s_blocksize_bits) + 1)
100 #define EXFAT_BLK_OFFSET(off, sb) ((off) & ((sb)->s_blocksize - 1))
121 #define FAT_ENT_OFFSET_SECTOR(sb, loc) (EXFAT_SB(sb)
191 struct super_block *sb; member in struct:exfat_entry_set_cache
331 EXFAT_SB(struct super_block *sb) argument
[all...]
/linux-master/fs/nilfs2/
H A Dsuper.c63 static int nilfs_setup_super(struct super_block *sb, int is_mount);
65 void __nilfs_msg(struct super_block *sb, const char *fmt, ...) argument
77 if (sb)
79 KERN_SOH_ASCII, level, sb->s_id, &vaf);
87 static void nilfs_set_error(struct super_block *sb) argument
89 struct the_nilfs *nilfs = sb->s_fs_info;
95 sbp = nilfs_prepare_super(sb, 0);
100 nilfs_commit_super(sb, NILFS_SB_COMMIT_ALL);
119 void __nilfs_error(struct super_block *sb, const char *function, argument
122 struct the_nilfs *nilfs = sb
150 nilfs_alloc_inode(struct super_block *sb) argument
173 nilfs_sync_super(struct super_block *sb, int flag) argument
246 nilfs_prepare_super(struct super_block *sb, int flip) argument
272 nilfs_commit_super(struct super_block *sb, int flag) argument
308 nilfs_cleanup_super(struct super_block *sb) argument
338 nilfs_move_2nd_super(struct super_block *sb, loff_t sb2off) argument
419 nilfs_resize_fs(struct super_block *sb, __u64 newsize) argument
494 nilfs_put_super(struct super_block *sb) argument
515 nilfs_sync_fs(struct super_block *sb, int wait) argument
541 nilfs_attach_checkpoint(struct super_block *sb, __u64 cno, int curr_mnt, struct nilfs_root **rootp) argument
575 nilfs_freeze(struct super_block *sb) argument
590 nilfs_unfreeze(struct super_block *sb) argument
605 struct super_block *sb = dentry->d_sb; local
672 struct super_block *sb = dentry->d_sb; local
768 struct super_block *sb = fc->root->d_sb; local
798 nilfs_setup_super(struct super_block *sb, int is_mount) argument
838 nilfs_read_super_block(struct super_block *sb, u64 pos, int blocksize, struct buffer_head **pbh) argument
852 nilfs_store_magic(struct super_block *sb, struct nilfs_super_block *sbp) argument
872 nilfs_check_feature_compatibility(struct super_block *sb, struct nilfs_super_block *sbp) argument
896 nilfs_get_root_dentry(struct super_block *sb, struct nilfs_root *root, struct dentry **root_dentry) argument
993 nilfs_checkpoint_is_mounted(struct super_block *sb, __u64 cno) argument
1033 nilfs_fill_super(struct super_block *sb, struct fs_context *fc) argument
1115 struct super_block *sb = fc->root->d_sb; local
[all...]
/linux-master/fs/ext2/
H A Dballoc.c39 struct ext2_group_desc * ext2_get_group_desc(struct super_block * sb, argument
46 struct ext2_sb_info *sbi = EXT2_SB(sb);
56 group_desc = block_group >> EXT2_DESC_PER_BLOCK_BITS(sb);
57 offset = block_group & (EXT2_DESC_PER_BLOCK(sb) - 1);
71 static int ext2_valid_block_bitmap(struct super_block *sb, argument
81 group_first_block = ext2_group_first_block_no(sb, block_group);
101 offset + EXT2_SB(sb)->s_itb_per_group,
103 if (next_zero_bit >= offset + EXT2_SB(sb)->s_itb_per_group)
108 ext2_error(sb, __func__,
122 read_block_bitmap(struct super_block *sb, unsigne argument
161 group_adjust_blocks(struct super_block *sb, int group_no, struct ext2_group_desc *desc, struct buffer_head *bh, int count) argument
263 goal_in_my_reservation(struct ext2_reserve_window *rsv, ext2_grpblk_t grp_goal, unsigned int group, struct super_block * sb) argument
328 ext2_rsv_window_add(struct super_block *sb, struct ext2_reserve_window_node *rsv) argument
367 rsv_window_remove(struct super_block *sb, struct ext2_reserve_window_node *rsv) argument
413 struct super_block *sb = inode->i_sb; local
484 struct super_block * sb = inode->i_sb; local
661 ext2_try_to_allocate(struct super_block *sb, int group, struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, unsigned long *count, struct ext2_reserve_window *my_rsv) argument
748 find_next_reservable_window( struct ext2_reserve_window_node *search_head, struct ext2_reserve_window_node *my_rsv, struct super_block * sb, ext2_fsblk_t start_block, ext2_fsblk_t last_block) argument
863 alloc_new_reservation(struct ext2_reserve_window_node *my_rsv, ext2_grpblk_t grp_goal, struct super_block *sb, unsigned int group, struct buffer_head *bitmap_bh) argument
1005 try_to_extend_reservation(struct ext2_reserve_window_node *my_rsv, struct super_block *sb, int size) argument
1057 ext2_try_to_allocate_with_rsv(struct super_block *sb, unsigned int group, struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, struct ext2_reserve_window_node * my_rsv, unsigned long *count) argument
1214 struct super_block *sb; local
1438 ext2_count_free_blocks(struct super_block * sb) argument
1507 ext2_bg_has_super(struct super_block *sb, int group) argument
1524 ext2_bg_num_gdb(struct super_block *sb, int group) argument
[all...]
/linux-master/fs/udf/
H A Dsuper.c94 static int udf_fill_super(struct super_block *sb, struct fs_context *fc);
109 struct logicalVolIntegrityDescImpUse *udf_sb_lvidiu(struct super_block *sb) argument
115 if (!UDF_SB(sb)->s_lvid_bh)
117 lvid = (struct logicalVolIntegrityDesc *)UDF_SB(sb)->s_lvid_bh->b_data;
150 static struct inode *udf_alloc_inode(struct super_block *sb) argument
153 ei = alloc_inode_sb(sb, udf_inode_cachep, GFP_KERNEL);
242 struct super_block *sb = fc->root->d_sb; local
243 struct udf_sb_info *sbi = UDF_SB(sb);
319 static int udf_sb_alloc_partition_maps(struct super_block *sb, u32 count) argument
321 struct udf_sb_info *sbi = UDF_SB(sb);
369 udf_sb_free_partitions(struct super_block *sb) argument
384 struct super_block *sb = root->d_sb; local
652 struct super_block *sb = fc->root->d_sb; local
737 udf_check_vsd(struct super_block *sb) argument
805 udf_verify_domain_identifier(struct super_block *sb, struct regid *ident, char *dname) argument
837 udf_load_fileset(struct super_block *sb, struct fileSetDesc *fset, struct kernel_lb_addr *root) argument
854 udf_find_fileset(struct super_block *sb, struct kernel_lb_addr *fileset, struct kernel_lb_addr *root) argument
889 udf_load_pvoldesc(struct super_block *sb, sector_t block) argument
948 udf_find_metadata_inode_efe(struct super_block *sb, u32 meta_file_loc, u32 partition_ref) argument
972 udf_load_metadata_files(struct super_block *sb, int partition, int type1_index) argument
1036 udf_compute_nr_groups(struct super_block *sb, u32 partition) argument
1044 udf_sb_alloc_bitmap(struct super_block *sb, u32 index) argument
1058 check_partition_desc(struct super_block *sb, struct partitionDesc *p, struct udf_part_map *map) argument
1107 udf_fill_partdesc_info(struct super_block *sb, struct partitionDesc *p, int p_index) argument
1181 udf_find_vat_block(struct super_block *sb, int p_index, int type1_index, sector_t start_block) argument
1207 udf_load_vat(struct super_block *sb, int p_index, int type1_index) argument
1265 udf_load_partdesc(struct super_block *sb, sector_t block) argument
1363 udf_load_sparable_map(struct super_block *sb, struct udf_part_map *map, struct sparablePartitionMap *spm) argument
1417 udf_load_logicalvol(struct super_block *sb, sector_t block, struct kernel_lb_addr *fileset) argument
1573 udf_lvid_valid(struct super_block *sb, struct logicalVolIntegrityDesc *lvid) argument
1590 udf_load_logicalvolint(struct super_block *sb, struct kernel_extent_ad loc) argument
1715 udf_process_sequence( struct super_block *sb, sector_t block, sector_t lastblock, struct kernel_lb_addr *fileset) argument
1836 udf_load_sequence(struct super_block *sb, struct buffer_head *bh, struct kernel_lb_addr *fileset) argument
1880 udf_check_anchor_block(struct super_block *sb, sector_t block, struct kernel_lb_addr *fileset) argument
1905 udf_scan_anchors(struct super_block *sb, udf_pblk_t *lastblock, struct kernel_lb_addr *fileset) argument
1975 udf_load_vrs(struct super_block *sb, struct udf_options *uopt, int silent, struct kernel_lb_addr *fileset) argument
2029 udf_open_lvid(struct super_block *sb) argument
2059 udf_close_lvid(struct super_block *sb) argument
2099 lvid_get_unique_id(struct super_block *sb) argument
2126 udf_fill_super(struct super_block *sb, struct fs_context *fc) argument
2309 _udf_err(struct super_block *sb, const char *function, const char *fmt, ...) argument
2325 _udf_warn(struct super_block *sb, const char *function, const char *fmt, ...) argument
2341 udf_put_super(struct super_block *sb) argument
2358 udf_sync_fs(struct super_block *sb, int wait) argument
2384 struct super_block *sb = dentry->d_sb; local
2409 udf_count_free_bitmap(struct super_block *sb, struct udf_bitmap *bitmap) argument
2462 udf_count_free_table(struct super_block *sb, struct inode *table) argument
2484 udf_count_free(struct super_block *sb) argument
[all...]
/linux-master/fs/minix/
H A Dbitmap.c44 struct super_block *sb = inode->i_sb; local
45 struct minix_sb_info *sbi = minix_sb(sb);
47 int k = sb->s_blocksize_bits + 3;
65 sb->s_id, block);
97 unsigned long minix_count_free_blocks(struct super_block *sb) argument
99 struct minix_sb_info *sbi = minix_sb(sb);
102 return (count_free(sbi->s_zmap, sb->s_blocksize, bits)
107 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) argument
110 struct minix_sb_info *sbi = minix_sb(sb);
115 sb
131 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) argument
185 struct super_block *sb = inode->i_sb; local
215 struct super_block *sb = dir->i_sb; local
263 minix_count_free_inodes(struct super_block *sb) argument
[all...]
/linux-master/fs/coda/
H A Dcoda_cache.h17 void coda_cache_clear_all(struct super_block *sb);
/linux-master/arch/mips/include/asm/sibyte/
H A Dboard.h28 sb t1, 0x18(t0); \
30 sb t1, 0x10(t0); \
32 sb t1, 0x08(t0); \
34 sb t1, 0x00(t0)
/linux-master/fs/hfsplus/
H A Dpart_tbl.c70 static int hfs_parse_old_pmap(struct super_block *sb, struct old_pmap *pm, argument
73 struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb);
91 static int hfs_parse_new_pmap(struct super_block *sb, void *buf, argument
94 struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb);
96 int buf_size = hfsplus_min_io_size(sb);
113 res = hfsplus_submit_bio(sb,
128 int hfs_part_find(struct super_block *sb, argument
134 buf = kmalloc(hfsplus_min_io_size(sb), GFP_KERNEL);
138 res = hfsplus_submit_bio(sb, *part_start + HFS_PMAP_BLK,
145 res = hfs_parse_old_pmap(sb, dat
[all...]
/linux-master/include/linux/
H A Dramfs.h7 struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir,
10 extern void ramfs_kill_sb(struct super_block *sb);
/linux-master/drivers/gpu/drm/amd/display/modules/info_packet/
H A Dinfo_packet.c185 info_packet->sb[i] = 0;
207 info_packet->sb[i] = 0;
255 info_packet->sb[0] = 0x02; // Stacked Frame, Left view is on top and right view on bottom.
259 info_packet->sb[0] = 0x01; // Frame/Field Sequential, L + R view indication based on MISC1 bit 2:1
263 info_packet->sb[0] = 0x04; // Side-by-side
266 info_packet->sb[0] = 0x00; // No Stereo Video, Shall be cleared to 0x0.
398 info_packet->sb[16] = (pixelEncoding << 4) | colorimetryFormat;
406 info_packet->sb[17] = 0;
409 info_packet->sb[17] = 1;
412 info_packet->sb[1
[all...]
/linux-master/fs/jffs2/
H A Dsuper.c38 static struct inode *jffs2_alloc_inode(struct super_block *sb) argument
42 f = alloc_inode_sb(sb, jffs2_inode_cachep, GFP_KERNEL);
98 static int jffs2_sync_fs(struct super_block *sb, int wait) argument
100 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb);
113 static struct inode *jffs2_nfs_get_inode(struct super_block *sb, uint64_t ino, argument
119 return jffs2_iget(sb, ino);
122 static struct dentry *jffs2_fh_to_dentry(struct super_block *sb, struct fid *fid, argument
125 return generic_fh_to_dentry(sb, fid, fh_len, fh_type,
129 static struct dentry *jffs2_fh_to_parent(struct super_block *sb, struct fid *fid, argument
132 return generic_fh_to_parent(sb, fi
236 struct super_block *sb = fc->root->d_sb; local
259 jffs2_fill_super(struct super_block *sb, struct fs_context *fc) argument
323 jffs2_put_super(struct super_block *sb) argument
345 jffs2_kill_sb(struct super_block *sb) argument
[all...]
/linux-master/fs/
H A Ddrop_caches.c19 static void drop_pagecache_sb(struct super_block *sb, void *unused) argument
23 spin_lock(&sb->s_inode_list_lock);
24 list_for_each_entry(inode, &sb->s_inodes, i_sb_list) {
38 spin_unlock(&sb->s_inode_list_lock);
45 spin_lock(&sb->s_inode_list_lock);
47 spin_unlock(&sb->s_inode_list_lock);
/linux-master/fs/ocfs2/
H A Dquota_local.c29 static inline unsigned int ol_quota_entries_per_block(struct super_block *sb) argument
31 return ((sb->s_blocksize - OCFS2_QBLK_RESERVED_SPACE) /
36 static inline unsigned int ol_chunk_blocks(struct super_block *sb) argument
38 return ((sb->s_blocksize - sizeof(struct ocfs2_local_disk_chunk) -
40 ol_quota_entries_per_block(sb);
44 static unsigned int ol_chunk_entries(struct super_block *sb) argument
46 return ol_chunk_blocks(sb) * ol_quota_entries_per_block(sb);
50 static unsigned int ol_quota_chunk_block(struct super_block *sb, int c) argument
53 return 1 + (ol_chunk_blocks(sb)
56 ol_dqblk_block(struct super_block *sb, int c, int off) argument
63 ol_dqblk_block_off(struct super_block *sb, int c, int off) argument
71 ol_dqblk_off(struct super_block *sb, int c, int off) argument
77 ol_dqblk_block_offset(struct super_block *sb, loff_t off) argument
83 ol_dqblk_chunk_off(struct super_block *sb, int c, loff_t off) argument
97 struct super_block *sb = inode->i_sb; local
160 ocfs2_local_check_quota_file(struct super_block *sb, int type) argument
294 ocfs2_add_recovery_chunk(struct super_block *sb, struct ocfs2_local_disk_chunk *dchunk, int chunk, struct list_head *head) argument
343 struct super_block *sb = lqinode->i_sb; local
393 struct super_block *sb = osb->sb; local
462 struct super_block *sb = lqinode->i_sb; local
591 struct super_block *sb = osb->sb; local
686 ocfs2_local_read_info(struct super_block *sb, int type) argument
792 ocfs2_local_write_info(struct super_block *sb, int type) argument
810 ocfs2_local_free_info(struct super_block *sb, int type) argument
873 struct super_block *sb = od->dq_dquot.dq_sb; local
895 struct super_block *sb = dquot->dq_sb; local
918 ocfs2_find_free_entry(struct super_block *sb, int type, int *offset) argument
960 ocfs2_local_quota_add_chunk( struct super_block *sb, int type, int *offset) argument
1091 ocfs2_extend_local_quota_file( struct super_block *sb, int type, int *offset) argument
1218 struct super_block *sb = dquot->dq_sb; local
1279 struct super_block *sb = dquot->dq_sb; local
[all...]
H A Djournal.h363 static inline int ocfs2_quota_trans_credits(struct super_block *sb) argument
367 if (OCFS2_HAS_RO_COMPAT_FEATURE(sb, OCFS2_FEATURE_RO_COMPAT_USRQUOTA))
369 if (OCFS2_HAS_RO_COMPAT_FEATURE(sb, OCFS2_FEATURE_RO_COMPAT_GRPQUOTA))
384 static inline int ocfs2_inline_to_extents_credits(struct super_block *sb) argument
387 ocfs2_quota_trans_credits(sb);
397 static inline int ocfs2_remove_extent_credits(struct super_block *sb) argument
400 ocfs2_quota_trans_credits(sb);
407 static inline int ocfs2_add_dir_index_credits(struct super_block *sb) argument
412 ocfs2_clusters_to_blocks(sb, 1);
418 static inline int ocfs2_mknod_credits(struct super_block *sb, in argument
441 ocfs2_link_credits(struct super_block *sb) argument
449 ocfs2_unlink_credits(struct super_block *sb) argument
468 ocfs2_rename_credits(struct super_block *sb) argument
484 ocfs2_calc_dxi_expand_credits(struct super_block *sb) argument
516 ocfs2_calc_extend_credits(struct super_block *sb, struct ocfs2_extent_list *root_el) argument
543 ocfs2_calc_symlink_credits(struct super_block *sb) argument
554 ocfs2_calc_group_alloc_credits(struct super_block *sb, unsigned int cpg) argument
572 ocfs2_calc_bg_discontig_credits(struct super_block *sb) argument
[all...]
/linux-master/fs/zonefs/
H A Dsuper.c50 static void zonefs_account_active(struct super_block *sb, argument
53 struct zonefs_sb_info *sbi = ZONEFS_SB(sb);
99 static int zonefs_zone_mgmt(struct super_block *sb, argument
115 trace_zonefs_zone_mgmt(sb, z, op);
116 ret = blkdev_zone_mgmt(sb->s_bdev, op, z->z_sector,
119 zonefs_err(sb,
156 struct super_block *sb = inode->i_sb; local
157 struct zonefs_sb_info *sbi = ZONEFS_SB(sb);
171 nr_blocks = (old_isize - new_isize) >> sb->s_blocksize_bits;
178 (new_isize - old_isize) >> sb
190 zonefs_check_zone_condition(struct super_block *sb, struct zonefs_zone *z, struct blk_zone *zone) argument
263 struct super_block *sb = inode->i_sb; local
370 struct super_block *sb = inode->i_sb; local
418 zonefs_alloc_inode(struct super_block *sb) argument
443 struct super_block *sb = dentry->d_sb; local
627 struct super_block *sb = dir->i_sb; local
674 zonefs_get_zgroup_inode(struct super_block *sb, enum zonefs_ztype ztype) argument
708 struct super_block *sb = dir->i_sb; local
750 struct super_block *sb = inode->i_sb; local
787 struct super_block *sb = inode->i_sb; local
846 struct super_block *sb; member in struct:zonefs_zone_data
856 struct super_block *sb = zd->sb; local
935 zonefs_init_zgroup(struct super_block *sb, struct zonefs_zone_data *zd, enum zonefs_ztype ztype) argument
1056 zonefs_free_zgroups(struct super_block *sb) argument
1073 zonefs_init_zgroups(struct super_block *sb) argument
1108 zonefs_read_super(struct super_block *sb) argument
1194 zonefs_get_zgroup_inodes(struct super_block *sb) argument
1214 zonefs_release_zgroup_inodes(struct super_block *sb) argument
1235 zonefs_fill_super(struct super_block *sb, struct fs_context *fc) argument
1346 zonefs_kill_super(struct super_block *sb) argument
1375 struct super_block *sb = fc->root->d_sb; local
[all...]
/linux-master/fs/ext4/
H A Dfsmap.c16 void ext4_fsmap_from_internal(struct super_block *sb, struct fsmap *dest, argument
21 dest->fmr_physical = src->fmr_physical << sb->s_blocksize_bits;
24 dest->fmr_length = src->fmr_length << sb->s_blocksize_bits;
31 void ext4_fsmap_to_internal(struct super_block *sb, struct ext4_fsmap *dest, argument
36 dest->fmr_physical = src->fmr_physical >> sb->s_blocksize_bits;
38 dest->fmr_length = src->fmr_length >> sb->s_blocksize_bits;
58 int (*gfd_fn)(struct super_block *sb,
84 static int ext4_getfsmap_helper(struct super_block *sb, argument
89 struct ext4_sb_info *sbi = EXT4_SB(sb);
137 ext4_get_group_no_and_offset(sb, inf
189 ext4_getfsmap_datadev_helper(struct super_block *sb, ext4_group_t agno, ext4_grpblk_t start, ext4_grpblk_t len, void *priv) argument
256 ext4_getfsmap_logdev(struct super_block *sb, struct ext4_fsmap *keys, struct ext4_getfsmap_info *info) argument
314 ext4_getfsmap_find_sb(struct super_block *sb, ext4_group_t agno, struct list_head *meta_list) argument
408 ext4_getfsmap_find_fixed_metadata(struct super_block *sb, struct list_head *meta_list) argument
466 ext4_getfsmap_datadev(struct super_block *sb, struct ext4_fsmap *keys, struct ext4_getfsmap_info *info) argument
573 ext4_getfsmap_is_valid_device(struct super_block *sb, struct ext4_fsmap *fm) argument
630 ext4_getfsmap(struct super_block *sb, struct ext4_fsmap_head *head, ext4_fsmap_format_t formatter, void *arg) argument
[all...]

Completed in 392 milliseconds

1234567891011>>