Home
last modified time | relevance | path

Searched refs:cpu_to_fs32 (Results 1 – 14 of 14) sorted by relevance

/fs/sysv/
Dinode.c48 if (*sbi->s_sb_state == cpu_to_fs32(sbi, 0x7c269d38 - old_time)) in sysv_sync_fs()
49 *sbi->s_sb_state = cpu_to_fs32(sbi, 0x7c269d38 - time); in sysv_sync_fs()
50 *sbi->s_sb_time = cpu_to_fs32(sbi, time); in sysv_sync_fs()
257 raw_inode->i_size = cpu_to_fs32(sbi, inode->i_size); in __sysv_write_inode()
258 raw_inode->i_atime = cpu_to_fs32(sbi, inode->i_atime.tv_sec); in __sysv_write_inode()
259 raw_inode->i_mtime = cpu_to_fs32(sbi, inode->i_mtime.tv_sec); in __sysv_write_inode()
260 raw_inode->i_ctime = cpu_to_fs32(sbi, inode->i_ctime.tv_sec); in __sysv_write_inode()
264 si->i_data[0] = cpu_to_fs32(sbi, old_encode_dev(inode->i_rdev)); in __sysv_write_inode()
Dsysv.h200 static inline __fs32 cpu_to_fs32(struct sysv_sb_info *sbi, __u32 n) in cpu_to_fs32() function
Dballoc.c235 *sbi->s_free_blocks = cpu_to_fs32(sbi, count); in sysv_count_free_blocks()
/fs/ufs/
Dutil.h62 usb1->fs_u0.fs_sun.fs_state = cpu_to_fs32(sb, value); in ufs_set_fs_state()
67 usb3->fs_un2.fs_sun.fs_state = cpu_to_fs32(sb, value); in ufs_set_fs_state()
70 usb1->fs_u1.fs_sunx86.fs_state = cpu_to_fs32(sb, value); in ufs_set_fs_state()
73 usb3->fs_un2.fs_44.fs_state = cpu_to_fs32(sb, value); in ufs_set_fs_state()
210 inode->ui_u3.ui_44.ui_uid = cpu_to_fs32(sb, value); in ufs_set_inode_uid()
214 inode->ui_u3.ui_sun.ui_uid = cpu_to_fs32(sb, value); in ufs_set_inode_uid()
244 inode->ui_u3.ui_44.ui_gid = cpu_to_fs32(sb, value); in ufs_set_inode_gid()
248 inode->ui_u3.ui_sun.ui_gid = cpu_to_fs32(sb, value); in ufs_set_inode_gid()
577 *(__fs32 *)p = cpu_to_fs32(sb, val); in ufs_cpu_to_data_ptr()
Dinode.c717 ufs_inode->ui_atime.tv_sec = cpu_to_fs32(sb, inode->i_atime.tv_sec); in ufs1_update_inode()
719 ufs_inode->ui_ctime.tv_sec = cpu_to_fs32(sb, inode->i_ctime.tv_sec); in ufs1_update_inode()
721 ufs_inode->ui_mtime.tv_sec = cpu_to_fs32(sb, inode->i_mtime.tv_sec); in ufs1_update_inode()
723 ufs_inode->ui_blocks = cpu_to_fs32(sb, inode->i_blocks); in ufs1_update_inode()
724 ufs_inode->ui_flags = cpu_to_fs32(sb, ufsi->i_flags); in ufs1_update_inode()
725 ufs_inode->ui_gen = cpu_to_fs32(sb, inode->i_generation); in ufs1_update_inode()
728 ufs_inode->ui_u3.ui_sun.ui_shadow = cpu_to_fs32(sb, ufsi->i_shadow); in ufs1_update_inode()
729 ufs_inode->ui_u3.ui_sun.ui_oeftflag = cpu_to_fs32(sb, ufsi->i_oeftflag); in ufs1_update_inode()
757 ufs_inode->ui_uid = cpu_to_fs32(sb, i_uid_read(inode)); in ufs2_update_inode()
758 ufs_inode->ui_gid = cpu_to_fs32(sb, i_gid_read(inode)); in ufs2_update_inode()
[all …]
Dcylinder.c108 ucg->cg_rotor = cpu_to_fs32(sb, ucpi->c_rotor); in ufs_put_cylinder()
109 ucg->cg_frotor = cpu_to_fs32(sb, ucpi->c_frotor); in ufs_put_cylinder()
110 ucg->cg_irotor = cpu_to_fs32(sb, ucpi->c_irotor); in ufs_put_cylinder()
Ddir.c97 de->d_ino = cpu_to_fs32(dir->i_sb, inode->i_ino); in ufs_set_link()
388 de->d_ino = cpu_to_fs32(sb, inode->i_ino); in ufs_add_link()
566 de->d_ino = cpu_to_fs32(sb, inode->i_ino); in ufs_make_empty()
573 de->d_ino = cpu_to_fs32(sb, dir->i_ino); in ufs_make_empty()
Dutil.c226 ufsi->i_u1.i_data[1] = cpu_to_fs32(sb, fs32); in ufs_set_inode_dev()
228 ufsi->i_u1.i_data[0] = cpu_to_fs32(sb, fs32); in ufs_set_inode_dev()
Dballoc.c460 usb1->fs_optim = cpu_to_fs32(sb, UFS_OPTTIME); in ufs_new_fragments()
463 usb1->fs_optim = cpu_to_fs32(sb, UFS_OPTTIME); in ufs_new_fragments()
470 usb1->fs_optim = cpu_to_fs32(sb, UFS_OPTTIME); in ufs_new_fragments()
555 ucg->cg_time = cpu_to_fs32(sb, get_seconds()); in ufs_add_fragments()
647 ucg->cg_time = cpu_to_fs32(sb, get_seconds()); in ufs_alloc_fragments()
Dialloc.c91 ucg->cg_time = cpu_to_fs32(sb, get_seconds()); in ufs_free_inode()
327 ufs2_inode->ui_birthnsec = cpu_to_fs32(sb, CURRENT_TIME.tv_nsec); in ufs_new_inode()
Dswab.h53 cpu_to_fs32(struct super_block *sbp, u32 n) in cpu_to_fs32() function
Dsuper.c613 cpu_to_fs32(sb, uspi->cs_total.cs_ndir); in ufs_put_cstotal()
615 cpu_to_fs32(sb, uspi->cs_total.cs_nbfree); in ufs_put_cstotal()
617 cpu_to_fs32(sb, uspi->cs_total.cs_nifree); in ufs_put_cstotal()
619 cpu_to_fs32(sb, uspi->cs_total.cs_nffree); in ufs_put_cstotal()
690 usb1->fs_time = cpu_to_fs32(sb, get_seconds()); in ufs_sync_fs()
1315 usb1->fs_time = cpu_to_fs32(sb, get_seconds()); in ufs_remount()
/fs/qnx6/
Dqnx6.h101 static inline __fs32 cpu_to_fs32(struct qnx6_sb_info *sbi, __u32 n) in cpu_to_fs32() function
/fs/befs/
Dendian.h42 cpu_to_fs32(const struct super_block *sb, u32 n) in cpu_to_fs32() function