• Home
  • Raw
  • Download

Lines Matching refs:str

250 	const struct gfs2_dinode *str = buf;  in gfs2_dinode_in()  local
254 if (unlikely(ip->i_no_addr != be64_to_cpu(str->di_num.no_addr))) in gfs2_dinode_in()
256 ip->i_no_formal_ino = be64_to_cpu(str->di_num.no_formal_ino); in gfs2_dinode_in()
257 ip->i_inode.i_mode = be32_to_cpu(str->di_mode); in gfs2_dinode_in()
262 ip->i_inode.i_rdev = MKDEV(be32_to_cpu(str->di_major), in gfs2_dinode_in()
263 be32_to_cpu(str->di_minor)); in gfs2_dinode_in()
267 ip->i_inode.i_uid = be32_to_cpu(str->di_uid); in gfs2_dinode_in()
268 ip->i_inode.i_gid = be32_to_cpu(str->di_gid); in gfs2_dinode_in()
274 ip->i_inode.i_nlink = be32_to_cpu(str->di_nlink); in gfs2_dinode_in()
275 ip->i_disksize = be64_to_cpu(str->di_size); in gfs2_dinode_in()
277 gfs2_set_inode_blocks(&ip->i_inode, be64_to_cpu(str->di_blocks)); in gfs2_dinode_in()
278 atime.tv_sec = be64_to_cpu(str->di_atime); in gfs2_dinode_in()
279 atime.tv_nsec = be32_to_cpu(str->di_atime_nsec); in gfs2_dinode_in()
282 ip->i_inode.i_mtime.tv_sec = be64_to_cpu(str->di_mtime); in gfs2_dinode_in()
283 ip->i_inode.i_mtime.tv_nsec = be32_to_cpu(str->di_mtime_nsec); in gfs2_dinode_in()
284 ip->i_inode.i_ctime.tv_sec = be64_to_cpu(str->di_ctime); in gfs2_dinode_in()
285 ip->i_inode.i_ctime.tv_nsec = be32_to_cpu(str->di_ctime_nsec); in gfs2_dinode_in()
287 ip->i_goal = be64_to_cpu(str->di_goal_meta); in gfs2_dinode_in()
288 ip->i_generation = be64_to_cpu(str->di_generation); in gfs2_dinode_in()
290 ip->i_diskflags = be32_to_cpu(str->di_flags); in gfs2_dinode_in()
292 height = be16_to_cpu(str->di_height); in gfs2_dinode_in()
297 depth = be16_to_cpu(str->di_depth); in gfs2_dinode_in()
301 ip->i_entries = be32_to_cpu(str->di_entries); in gfs2_dinode_in()
303 ip->i_eattr = be64_to_cpu(str->di_eattr); in gfs2_dinode_in()
526 const struct gfs2_inum_range *str = buf; in gfs2_inum_range_in() local
528 ir->ir_start = be64_to_cpu(str->ir_start); in gfs2_inum_range_in()
529 ir->ir_length = be64_to_cpu(str->ir_length); in gfs2_inum_range_in()
534 struct gfs2_inum_range *str = buf; in gfs2_inum_range_out() local
536 str->ir_start = cpu_to_be64(ir->ir_start); in gfs2_inum_range_out()
537 str->ir_length = cpu_to_be64(ir->ir_length); in gfs2_inum_range_out()
1242 struct gfs2_dinode *str = buf; in gfs2_dinode_out() local
1244 str->di_header.mh_magic = cpu_to_be32(GFS2_MAGIC); in gfs2_dinode_out()
1245 str->di_header.mh_type = cpu_to_be32(GFS2_METATYPE_DI); in gfs2_dinode_out()
1246 str->di_header.__pad0 = 0; in gfs2_dinode_out()
1247 str->di_header.mh_format = cpu_to_be32(GFS2_FORMAT_DI); in gfs2_dinode_out()
1248 str->di_header.__pad1 = 0; in gfs2_dinode_out()
1249 str->di_num.no_addr = cpu_to_be64(ip->i_no_addr); in gfs2_dinode_out()
1250 str->di_num.no_formal_ino = cpu_to_be64(ip->i_no_formal_ino); in gfs2_dinode_out()
1251 str->di_mode = cpu_to_be32(ip->i_inode.i_mode); in gfs2_dinode_out()
1252 str->di_uid = cpu_to_be32(ip->i_inode.i_uid); in gfs2_dinode_out()
1253 str->di_gid = cpu_to_be32(ip->i_inode.i_gid); in gfs2_dinode_out()
1254 str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); in gfs2_dinode_out()
1255 str->di_size = cpu_to_be64(ip->i_disksize); in gfs2_dinode_out()
1256 str->di_blocks = cpu_to_be64(gfs2_get_inode_blocks(&ip->i_inode)); in gfs2_dinode_out()
1257 str->di_atime = cpu_to_be64(ip->i_inode.i_atime.tv_sec); in gfs2_dinode_out()
1258 str->di_mtime = cpu_to_be64(ip->i_inode.i_mtime.tv_sec); in gfs2_dinode_out()
1259 str->di_ctime = cpu_to_be64(ip->i_inode.i_ctime.tv_sec); in gfs2_dinode_out()
1261 str->di_goal_meta = cpu_to_be64(ip->i_goal); in gfs2_dinode_out()
1262 str->di_goal_data = cpu_to_be64(ip->i_goal); in gfs2_dinode_out()
1263 str->di_generation = cpu_to_be64(ip->i_generation); in gfs2_dinode_out()
1265 str->di_flags = cpu_to_be32(ip->i_diskflags); in gfs2_dinode_out()
1266 str->di_height = cpu_to_be16(ip->i_height); in gfs2_dinode_out()
1267 str->di_payload_format = cpu_to_be32(S_ISDIR(ip->i_inode.i_mode) && in gfs2_dinode_out()
1270 str->di_depth = cpu_to_be16(ip->i_depth); in gfs2_dinode_out()
1271 str->di_entries = cpu_to_be32(ip->i_entries); in gfs2_dinode_out()
1273 str->di_eattr = cpu_to_be64(ip->i_eattr); in gfs2_dinode_out()
1274 str->di_atime_nsec = cpu_to_be32(ip->i_inode.i_atime.tv_nsec); in gfs2_dinode_out()
1275 str->di_mtime_nsec = cpu_to_be32(ip->i_inode.i_mtime.tv_nsec); in gfs2_dinode_out()
1276 str->di_ctime_nsec = cpu_to_be32(ip->i_inode.i_ctime.tv_nsec); in gfs2_dinode_out()