Home
last modified time | relevance | path

Searched refs:si (Results 1 – 18 of 18) sorted by relevance

/fs/f2fs/
Ddebug.c29 struct f2fs_stat_info *si = F2FS_STAT(sbi); in update_general_status() local
34 si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); in update_general_status()
35 si->main_area_sections = le32_to_cpu(raw_super->section_count); in update_general_status()
36 si->main_area_zones = si->main_area_sections / in update_general_status()
40 si->hit_largest = atomic64_read(&sbi->read_hit_largest); in update_general_status()
41 si->hit_cached = atomic64_read(&sbi->read_hit_cached); in update_general_status()
42 si->hit_rbtree = atomic64_read(&sbi->read_hit_rbtree); in update_general_status()
43 si->hit_total = si->hit_largest + si->hit_cached + si->hit_rbtree; in update_general_status()
44 si->total_ext = atomic64_read(&sbi->total_hit_ext); in update_general_status()
45 si->ext_tree = atomic_read(&sbi->total_ext_tree); in update_general_status()
[all …]
Df2fs.h3333 #define stat_inc_cp_count(si) ((si)->cp_count++) argument
3334 #define stat_inc_bg_cp_count(si) ((si)->bg_cp_count++) argument
3335 #define stat_inc_call_count(si) ((si)->call_count++) argument
3416 struct f2fs_stat_info *si = F2FS_STAT(sbi); \
3417 si->tot_segs++; \
3419 si->data_segs++; \
3420 si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \
3422 si->node_segs++; \
3423 si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \
3427 #define stat_inc_tot_blk_count(si, blks) \ argument
[all …]
/fs/ocfs2/
Dslot_map.c46 static int __ocfs2_node_num_to_slot(struct ocfs2_slot_info *si,
49 static void ocfs2_invalidate_slot(struct ocfs2_slot_info *si, in ocfs2_invalidate_slot() argument
52 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_invalidate_slot()
53 si->si_slots[slot_num].sl_valid = 0; in ocfs2_invalidate_slot()
56 static void ocfs2_set_slot(struct ocfs2_slot_info *si, in ocfs2_set_slot() argument
59 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_set_slot()
61 si->si_slots[slot_num].sl_valid = 1; in ocfs2_set_slot()
62 si->si_slots[slot_num].sl_node_num = node_num; in ocfs2_set_slot()
66 static void ocfs2_update_slot_info_extended(struct ocfs2_slot_info *si) in ocfs2_update_slot_info_extended() argument
72 for (b = 0; b < si->si_blocks; b++) { in ocfs2_update_slot_info_extended()
[all …]
Dnamei.c242 struct ocfs2_security_xattr_info si = { in ocfs2_mknod() local
314 status = ocfs2_init_security_get(inode, dir, &dentry->d_name, &si); in ocfs2_mknod()
317 si.enable = 0; in ocfs2_mknod()
326 &si, &want_clusters, in ocfs2_mknod()
412 if (si.enable) { in ocfs2_mknod()
413 status = ocfs2_init_security_set(handle, inode, new_fe_bh, &si, in ocfs2_mknod()
458 kfree(si.value); in ocfs2_mknod()
1800 struct ocfs2_security_xattr_info si = { in ocfs2_symlink() local
1869 status = ocfs2_init_security_get(inode, dir, &dentry->d_name, &si); in ocfs2_symlink()
1872 si.enable = 0; in ocfs2_symlink()
[all …]
Dxattr.c579 struct ocfs2_security_xattr_info *si, in ocfs2_calc_security_init() argument
586 int s_size = ocfs2_xattr_entry_real_size(strlen(si->name), in ocfs2_calc_security_init()
587 si->value_len); in ocfs2_calc_security_init()
605 if (si->value_len > OCFS2_XATTR_INLINE_SIZE) { in ocfs2_calc_security_init()
607 si->value_len); in ocfs2_calc_security_init()
619 struct ocfs2_security_xattr_info *si, in ocfs2_calc_xattr_init() argument
628 if (si->enable) in ocfs2_calc_xattr_init()
629 s_size = ocfs2_xattr_entry_real_size(strlen(si->name), in ocfs2_calc_xattr_init()
630 si->value_len); in ocfs2_calc_xattr_init()
681 if (si->enable && si->value_len > OCFS2_XATTR_INLINE_SIZE) { in ocfs2_calc_xattr_init()
[all …]
/fs/sysv/
Dinode.c176 struct sysv_inode_info * si; in sysv_iget() local
212 si = SYSV_I(inode); in sysv_iget()
215 (u8 *)&si->i_data[block]); in sysv_iget()
217 si->i_dir_start_lookup = 0; in sysv_iget()
220 old_decode_dev(fs32_to_cpu(sbi, si->i_data[0]))); in sysv_iget()
237 struct sysv_inode_info * si; in __sysv_write_inode() local
262 si = SYSV_I(inode); in __sysv_write_inode()
264 si->i_data[0] = cpu_to_fs32(sbi, old_encode_dev(inode->i_rdev)); in __sysv_write_inode()
266 write3byte(sbi, (u8 *)&si->i_data[block], in __sysv_write_inode()
308 struct sysv_inode_info *si; in sysv_alloc_inode() local
[all …]
/fs/jfs/
Djfs_dtree.c161 static int dtCompare(struct component_name * key, dtpage_t * p, int si);
163 static int ciCompare(struct component_name * key, dtpage_t * p, int si,
175 static void dtMoveEntry(dtpage_t * sp, int si, dtpage_t * dp,
1332 int skip, nextindex, half, left, nxt, off, si; in dtSplitPage() local
1509 si = stbl[nxt]; in dtSplitPage()
1512 ldtentry = (struct ldtentry *) & sp->slot[si]; in dtSplitPage()
1521 idtentry = (struct idtentry *) & sp->slot[si]; in dtSplitPage()
3580 int si) in dtCompare() argument
3607 ih = (struct idtentry *) & p->slot[si]; in dtCompare()
3608 si = ih->next; in dtCompare()
[all …]
Djfs_txnmgr.c228 struct sysinfo si; in txInit() local
235 si_meminfo(&si); in txInit()
236 if (si.totalram > (256 * 1024)) /* 1 GB */ in txInit()
239 nTxLock = si.totalram >> 2; in txInit()
/fs/incfs/
Dintegrity.c204 void incfs_free_signature_info(struct signature_info *si) in incfs_free_signature_info() argument
206 if (!si) in incfs_free_signature_info()
208 kfree(si->root_hash.data); in incfs_free_signature_info()
209 kfree(si->additional_data.data); in incfs_free_signature_info()
210 kfree(si->signature.data); in incfs_free_signature_info()
211 kfree(si); in incfs_free_signature_info()
Dvfs.c938 struct signature_info *si = NULL; in init_new_file() local
989 si = incfs_copy_signature_info_from_user(fsi); in init_new_file()
991 if (IS_ERR(si)) { in init_new_file()
992 error = PTR_ERR(si); in init_new_file()
993 si = NULL; in init_new_file()
997 if (si->hash_alg) { in init_new_file()
998 hash_tree = incfs_alloc_mtree(si->hash_alg, block_count, in init_new_file()
999 si->root_hash); in init_new_file()
1008 if (si->signature.len > 0) in init_new_file()
1010 si->signature, in init_new_file()
[all …]
Dintegrity.h70 void incfs_free_signature_info(struct signature_info *si);
/fs/
Dfcntl.c738 kernel_siginfo_t si; in send_sigio_to_task() local
746 clear_siginfo(&si); in send_sigio_to_task()
747 si.si_signo = signum; in send_sigio_to_task()
748 si.si_errno = 0; in send_sigio_to_task()
749 si.si_code = reason; in send_sigio_to_task()
759 si.si_code = SI_SIGIO; in send_sigio_to_task()
766 si.si_band = ~0L; in send_sigio_to_task()
768 si.si_band = mangle_poll(band_table[reason - POLL_IN]); in send_sigio_to_task()
769 si.si_fd = fd; in send_sigio_to_task()
770 if (!do_send_sig_info(signum, &si, p, type)) in send_sigio_to_task()
Deventpoll.c2359 struct sysinfo si; in eventpoll_init() local
2361 si_meminfo(&si); in eventpoll_init()
2365 max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) / in eventpoll_init()
/fs/nilfs2/
Dsufile.c817 struct nilfs_suinfo *si = buf; in nilfs_sufile_get_suinfo() local
842 memset(si, 0, sisz * n); in nilfs_sufile_get_suinfo()
843 si = (void *)si + sisz * n; in nilfs_sufile_get_suinfo()
851 j++, su = (void *)su + susz, si = (void *)si + sisz) { in nilfs_sufile_get_suinfo()
852 si->sui_lastmod = le64_to_cpu(su->su_lastmod); in nilfs_sufile_get_suinfo()
853 si->sui_nblocks = le32_to_cpu(su->su_nblocks); in nilfs_sufile_get_suinfo()
854 si->sui_flags = le32_to_cpu(su->su_flags) & in nilfs_sufile_get_suinfo()
857 si->sui_flags |= in nilfs_sufile_get_suinfo()
/fs/unicode/
Dutf8-norm.c277 unsigned int si; in utf8hangul() local
284 si = utf8decode3(str) - SB; in utf8hangul()
285 li = si / NC; in utf8hangul()
286 vi = (si % NC) / TC; in utf8hangul()
287 ti = si % TC; in utf8hangul()
Dmkutf8data.c2449 unsigned int si = unichar - sb; in hangul_decompose() local
2450 unsigned int li = si / nc; in hangul_decompose()
2451 unsigned int vi = (si % nc) / tc; in hangul_decompose()
2452 unsigned int ti = si % tc; in hangul_decompose()
2664 unsigned int si; in utf8hangul() local
2671 si = utf8decode(str) - SB; in utf8hangul()
2672 li = si / NC; in utf8hangul()
2673 vi = (si % NC) / TC; in utf8hangul()
2674 ti = si % TC; in utf8hangul()
/fs/ntfs/
Drunlist.c520 int di, si; /* Current index into @[ds]rl. */ in ntfs_runlists_merge() local
563 si = di = 0; in ntfs_runlists_merge()
566 while (srl[si].length && srl[si].lcn < LCN_HOLE) in ntfs_runlists_merge()
567 si++; in ntfs_runlists_merge()
570 BUG_ON(!srl[si].length); in ntfs_runlists_merge()
573 sstart = si; in ntfs_runlists_merge()
587 if ((drl[di].vcn == srl[si].vcn) && (drl[di].lcn >= 0) && in ntfs_runlists_merge()
588 (srl[si].lcn >= 0)) { in ntfs_runlists_merge()
594 for (send = si; srl[send].length; send++) in ntfs_runlists_merge()
Dinode.c530 STANDARD_INFORMATION *si; in ntfs_read_locked_inode() local
631 si = (STANDARD_INFORMATION*)((u8*)a + in ntfs_read_locked_inode()
644 vi->i_mtime = ntfs2utc(si->last_data_change_time); in ntfs_read_locked_inode()
650 vi->i_ctime = ntfs2utc(si->last_mft_change_time); in ntfs_read_locked_inode()
655 vi->i_atime = ntfs2utc(si->last_access_time); in ntfs_read_locked_inode()
2943 STANDARD_INFORMATION *si; in __ntfs_write_inode() local
2977 si = (STANDARD_INFORMATION*)((u8*)ctx->attr + in __ntfs_write_inode()
2981 if (si->last_data_change_time != nt) { in __ntfs_write_inode()
2984 sle64_to_cpu(si->last_data_change_time), in __ntfs_write_inode()
2986 si->last_data_change_time = nt; in __ntfs_write_inode()
[all …]