Home
last modified time | relevance | path

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

/fs/ocfs2/
Dslot_map.c62 static int __ocfs2_node_num_to_slot(struct ocfs2_slot_info *si,
65 static void ocfs2_invalidate_slot(struct ocfs2_slot_info *si, in ocfs2_invalidate_slot() argument
68 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_invalidate_slot()
69 si->si_slots[slot_num].sl_valid = 0; in ocfs2_invalidate_slot()
72 static void ocfs2_set_slot(struct ocfs2_slot_info *si, in ocfs2_set_slot() argument
75 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_set_slot()
77 si->si_slots[slot_num].sl_valid = 1; in ocfs2_set_slot()
78 si->si_slots[slot_num].sl_node_num = node_num; in ocfs2_set_slot()
82 static void ocfs2_update_slot_info_extended(struct ocfs2_slot_info *si) in ocfs2_update_slot_info_extended() argument
88 for (b = 0; b < si->si_blocks; b++) { in ocfs2_update_slot_info_extended()
[all …]
Dnamei.c238 struct ocfs2_security_xattr_info si = { in ocfs2_mknod() local
299 status = ocfs2_init_security_get(inode, dir, &si); in ocfs2_mknod()
302 si.enable = 0; in ocfs2_mknod()
311 &si, &want_clusters, in ocfs2_mknod()
386 if (si.enable) { in ocfs2_mknod()
387 status = ocfs2_init_security_set(handle, inode, new_fe_bh, &si, in ocfs2_mknod()
428 kfree(si.name); in ocfs2_mknod()
429 kfree(si.value); in ocfs2_mknod()
1571 struct ocfs2_security_xattr_info si = { in ocfs2_symlink() local
1629 status = ocfs2_init_security_get(inode, dir, &si); in ocfs2_symlink()
[all …]
Dxattr.c472 struct ocfs2_security_xattr_info *si, in ocfs2_calc_security_init() argument
479 int s_size = ocfs2_xattr_entry_real_size(strlen(si->name), in ocfs2_calc_security_init()
480 si->value_len); in ocfs2_calc_security_init()
498 if (si->value_len > OCFS2_XATTR_INLINE_SIZE) { in ocfs2_calc_security_init()
500 si->value_len); in ocfs2_calc_security_init()
512 struct ocfs2_security_xattr_info *si, in ocfs2_calc_xattr_init() argument
521 if (si->enable) in ocfs2_calc_xattr_init()
522 s_size = ocfs2_xattr_entry_real_size(strlen(si->name), in ocfs2_calc_xattr_init()
523 si->value_len); in ocfs2_calc_xattr_init()
575 if (si->enable && si->value_len > OCFS2_XATTR_INLINE_SIZE) { in ocfs2_calc_xattr_init()
[all …]
/fs/sysv/
Dinode.c181 struct sysv_inode_info * si; in sysv_iget() local
217 si = SYSV_I(inode); in sysv_iget()
220 (u8 *)&si->i_data[block]); in sysv_iget()
222 si->i_dir_start_lookup = 0; in sysv_iget()
225 old_decode_dev(fs32_to_cpu(sbi, si->i_data[0]))); in sysv_iget()
242 struct sysv_inode_info * si; in sysv_update_inode() local
266 si = SYSV_I(inode); in sysv_update_inode()
268 si->i_data[0] = cpu_to_fs32(sbi, old_encode_dev(inode->i_rdev)); in sysv_update_inode()
270 write3byte(sbi, (u8 *)&si->i_data[block], in sysv_update_inode()
320 struct sysv_inode_info *si; in sysv_alloc_inode() local
[all …]
/fs/jfs/
Djfs_dtree.c173 static int dtCompare(struct component_name * key, dtpage_t * p, int si);
175 static int ciCompare(struct component_name * key, dtpage_t * p, int si,
187 static void dtMoveEntry(dtpage_t * sp, int si, dtpage_t * dp,
1344 int skip, nextindex, half, left, nxt, off, si; in dtSplitPage() local
1520 si = stbl[nxt]; in dtSplitPage()
1523 ldtentry = (struct ldtentry *) & sp->slot[si]; in dtSplitPage()
1532 idtentry = (struct idtentry *) & sp->slot[si]; in dtSplitPage()
3582 int si) in dtCompare() argument
3609 ih = (struct idtentry *) & p->slot[si]; in dtCompare()
3610 si = ih->next; in dtCompare()
[all …]
Djfs_txnmgr.c242 struct sysinfo si; in txInit() local
249 si_meminfo(&si); in txInit()
250 if (si.totalram > (256 * 1024)) /* 1 GB */ in txInit()
253 nTxLock = si.totalram >> 2; in txInit()
/fs/
Dfcntl.c434 siginfo_t si; in send_sigio_to_task() local
442 si.si_signo = fown->signum; in send_sigio_to_task()
443 si.si_errno = 0; in send_sigio_to_task()
444 si.si_code = reason; in send_sigio_to_task()
450 si.si_band = ~0L; in send_sigio_to_task()
452 si.si_band = band_table[reason - POLL_IN]; in send_sigio_to_task()
453 si.si_fd = fd; in send_sigio_to_task()
454 if (!group_send_sig_info(fown->signum, &si, p)) in send_sigio_to_task()
Deventpoll.c1350 struct sysinfo si; in eventpoll_init() local
1352 si_meminfo(&si); in eventpoll_init()
1356 max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) / in eventpoll_init()
/fs/ntfs/
Drunlist.c534 int di, si; /* Current index into @[ds]rl. */ in ntfs_runlists_merge() local
577 si = di = 0; in ntfs_runlists_merge()
580 while (srl[si].length && srl[si].lcn < LCN_HOLE) in ntfs_runlists_merge()
581 si++; in ntfs_runlists_merge()
584 BUG_ON(!srl[si].length); in ntfs_runlists_merge()
587 sstart = si; in ntfs_runlists_merge()
601 if ((drl[di].vcn == srl[si].vcn) && (drl[di].lcn >= 0) && in ntfs_runlists_merge()
602 (srl[si].lcn >= 0)) { in ntfs_runlists_merge()
608 for (send = si; srl[send].length; send++) in ntfs_runlists_merge()
Dinode.c549 STANDARD_INFORMATION *si; in ntfs_read_locked_inode() local
657 si = (STANDARD_INFORMATION*)((u8*)a + in ntfs_read_locked_inode()
670 vi->i_mtime = ntfs2utc(si->last_data_change_time); in ntfs_read_locked_inode()
676 vi->i_ctime = ntfs2utc(si->last_mft_change_time); in ntfs_read_locked_inode()
681 vi->i_atime = ntfs2utc(si->last_access_time); in ntfs_read_locked_inode()
2966 STANDARD_INFORMATION *si; in ntfs_write_inode() local
3000 si = (STANDARD_INFORMATION*)((u8*)ctx->attr + in ntfs_write_inode()
3004 if (si->last_data_change_time != nt) { in ntfs_write_inode()
3007 sle64_to_cpu(si->last_data_change_time), in ntfs_write_inode()
3009 si->last_data_change_time = nt; in ntfs_write_inode()
[all …]