i_inode 440 fs/gfs2/aops.c u64 dsize = i_size_read(&ip->i_inode); i_inode 554 fs/gfs2/aops.c struct address_space *mapping = ip->i_inode.i_mapping; i_inode 58 fs/gfs2/bmap.c struct inode *inode = &ip->i_inode; i_inode 133 fs/gfs2/bmap.c if (i_size_read(&ip->i_inode)) { i_inode 142 fs/gfs2/bmap.c gfs2_trans_remove_revoke(GFS2_SB(&ip->i_inode), block, 1); i_inode 162 fs/gfs2/bmap.c if (i_size_read(&ip->i_inode)) { i_inode 164 fs/gfs2/bmap.c gfs2_add_inode_blocks(&ip->i_inode, 1); i_inode 165 fs/gfs2/bmap.c di->di_blocks = cpu_to_be64(gfs2_get_inode_blocks(&ip->i_inode)); i_inode 778 fs/gfs2/bmap.c gfs2_add_inode_blocks(&ip->i_inode, alloced); i_inode 1000 fs/gfs2/bmap.c if (&ip->i_inode == sdp->sd_rindex) { i_inode 1022 fs/gfs2/bmap.c if (&ip->i_inode == sdp->sd_rindex) { i_inode 1444 fs/gfs2/bmap.c ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 1498 fs/gfs2/bmap.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1556 fs/gfs2/bmap.c isize_blks = gfs2_get_inode_blocks(&ip->i_inode); i_inode 1607 fs/gfs2/bmap.c gfs2_add_inode_blocks(&ip->i_inode, -blen); i_inode 1615 fs/gfs2/bmap.c gfs2_add_inode_blocks(&ip->i_inode, -blen); i_inode 1630 fs/gfs2/bmap.c ip->i_inode.i_mtime = ip->i_inode.i_ctime = i_inode 1631 fs/gfs2/bmap.c current_time(&ip->i_inode); i_inode 1754 fs/gfs2/bmap.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1992 fs/gfs2/bmap.c gfs2_quota_change(ip, -(s64)btotal, ip->i_inode.i_uid, i_inode 1993 fs/gfs2/bmap.c ip->i_inode.i_gid); i_inode 1994 fs/gfs2/bmap.c ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 2017 fs/gfs2/bmap.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 2031 fs/gfs2/bmap.c if (!i_size_read(&ip->i_inode)) { i_inode 2037 fs/gfs2/bmap.c ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 2146 fs/gfs2/bmap.c ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 2205 fs/gfs2/bmap.c error = punch_hole(ip, i_size_read(&ip->i_inode), 0); i_inode 2314 fs/gfs2/bmap.c lblock += (bh.b_size >> ip->i_inode.i_blkbits); i_inode 2346 fs/gfs2/bmap.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 2363 fs/gfs2/bmap.c end_of_file = (i_size_read(&ip->i_inode) + sdp->sd_sb.sb_bsize - 1) >> shift; i_inode 2373 fs/gfs2/bmap.c gfs2_block_map(&ip->i_inode, lblock, &bh, 0); i_inode 2377 fs/gfs2/bmap.c lblock += (bh.b_size >> ip->i_inode.i_blkbits); i_inode 33 fs/gfs2/bmap.h const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 114 fs/gfs2/dir.c if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_JD)) { i_inode 134 fs/gfs2/dir.c if (ip->i_inode.i_size < offset + size) i_inode 135 fs/gfs2/dir.c i_size_write(&ip->i_inode, offset + size); i_inode 136 fs/gfs2/dir.c ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 158 fs/gfs2/dir.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 196 fs/gfs2/dir.c error = gfs2_extent_map(&ip->i_inode, lblock, &new, i_inode 231 fs/gfs2/dir.c if (ip->i_inode.i_size < offset + copied) i_inode 232 fs/gfs2/dir.c i_size_write(&ip->i_inode, offset + copied); i_inode 233 fs/gfs2/dir.c ip->i_inode.i_mtime = ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 273 fs/gfs2/dir.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 300 fs/gfs2/dir.c error = gfs2_extent_map(&ip->i_inode, lblock, &new, i_inode 340 fs/gfs2/dir.c struct inode *inode = &ip->i_inode; i_inode 353 fs/gfs2/dir.c if (hsize != i_size_read(&ip->i_inode)) { i_inode 392 fs/gfs2/dir.c spin_lock(&ip->i_inode.i_lock); i_inode 395 fs/gfs2/dir.c spin_unlock(&ip->i_inode.i_lock); i_inode 765 fs/gfs2/dir.c if (!error && gfs2_metatype_check(GFS2_SB(&dip->i_inode), *bhp, GFS2_METATYPE_LF)) { i_inode 948 fs/gfs2/dir.c dent = gfs2_dirent_scan(&dip->i_inode, bh->b_data, bh->b_size, i_inode 982 fs/gfs2/dir.c gfs2_add_inode_blocks(&dip->i_inode, 1); i_inode 1125 fs/gfs2/dir.c if (!gfs2_assert_withdraw(GFS2_SB(&dip->i_inode), !error)) { i_inode 1127 fs/gfs2/dir.c gfs2_add_inode_blocks(&dip->i_inode, 1); i_inode 1202 fs/gfs2/dir.c i_size_write(&dip->i_inode, hsize_bytes); i_inode 1691 fs/gfs2/dir.c if (unlikely(IF2DT(ip->i_inode.i_mode) != i_inode 1766 fs/gfs2/dir.c gfs2_add_inode_blocks(&ip->i_inode, 1); i_inode 1816 fs/gfs2/dir.c dent->de_type = cpu_to_be16(IF2DT(nip->i_inode.i_mode)); i_inode 1818 fs/gfs2/dir.c tv = current_time(&ip->i_inode); i_inode 1829 fs/gfs2/dir.c ip->i_inode.i_mtime = ip->i_inode.i_ctime = tv; i_inode 1830 fs/gfs2/dir.c if (S_ISDIR(nip->i_inode.i_mode)) i_inode 1831 fs/gfs2/dir.c inc_nlink(&ip->i_inode); i_inode 1880 fs/gfs2/dir.c struct timespec64 tv = current_time(&dip->i_inode); i_inode 1884 fs/gfs2/dir.c dent = gfs2_dirent_search(&dip->i_inode, name, gfs2_dirent_prev, &bh); i_inode 1914 fs/gfs2/dir.c dip->i_inode.i_mtime = dip->i_inode.i_ctime = tv; i_inode 1916 fs/gfs2/dir.c drop_nlink(&dip->i_inode); i_inode 1917 fs/gfs2/dir.c mark_inode_dirty(&dip->i_inode); i_inode 1941 fs/gfs2/dir.c dent = gfs2_dirent_search(&dip->i_inode, filename, gfs2_dirent_find, &bh); i_inode 1954 fs/gfs2/dir.c dip->i_inode.i_mtime = dip->i_inode.i_ctime = current_time(&dip->i_inode); i_inode 1955 fs/gfs2/dir.c mark_inode_dirty_sync(&dip->i_inode); i_inode 1975 fs/gfs2/dir.c struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); i_inode 2055 fs/gfs2/dir.c gfs2_add_inode_blocks(&dip->i_inode, -1); i_inode 2073 fs/gfs2/dir.c dip->i_inode.i_mode = S_IFREG; i_inode 577 fs/gfs2/file.c !IS_NOATIME(&ip->i_inode)) { i_inode 650 fs/gfs2/file.c if (S_ISREG(ip->i_inode.i_mode)) { i_inode 794 fs/gfs2/file.c if (offset + len > i_size_read(&ip->i_inode)) i_inode 969 fs/gfs2/file.c const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1192 fs/gfs2/file.c if (__mandatory_lock(&ip->i_inode) && fl->fl_type != F_UNLCK) i_inode 1240 fs/gfs2/file.c error = gfs2_glock_get(GFS2_SB(&ip->i_inode), ip->i_no_addr, i_inode 1261 fs/gfs2/file.c gfs2_assert_warn(GFS2_SB(&ip->i_inode), !error); i_inode 267 fs/gfs2/glops.c int isreg = ip && S_ISREG(ip->i_inode.i_mode); i_inode 273 fs/gfs2/glops.c unmap_shared_mapping_range(ip->i_inode.i_mapping, 0, 0); i_inode 274 fs/gfs2/glops.c inode_dio_wait(&ip->i_inode); i_inode 285 fs/gfs2/glops.c struct address_space *mapping = ip->i_inode.i_mapping; i_inode 326 fs/gfs2/glops.c forget_all_cached_acls(&ip->i_inode); i_inode 327 fs/gfs2/glops.c security_inode_invalidate_secctx(&ip->i_inode); i_inode 338 fs/gfs2/glops.c if (ip && S_ISREG(ip->i_inode.i_mode)) i_inode 339 fs/gfs2/glops.c truncate_inode_pages(ip->i_inode.i_mapping, 0); i_inode 370 fs/gfs2/glops.c ip->i_inode.i_mode = be32_to_cpu(str->di_mode); i_inode 371 fs/gfs2/glops.c ip->i_inode.i_rdev = 0; i_inode 372 fs/gfs2/glops.c switch (ip->i_inode.i_mode & S_IFMT) { i_inode 375 fs/gfs2/glops.c ip->i_inode.i_rdev = MKDEV(be32_to_cpu(str->di_major), i_inode 380 fs/gfs2/glops.c i_uid_write(&ip->i_inode, be32_to_cpu(str->di_uid)); i_inode 381 fs/gfs2/glops.c i_gid_write(&ip->i_inode, be32_to_cpu(str->di_gid)); i_inode 382 fs/gfs2/glops.c set_nlink(&ip->i_inode, be32_to_cpu(str->di_nlink)); i_inode 383 fs/gfs2/glops.c i_size_write(&ip->i_inode, be64_to_cpu(str->di_size)); i_inode 384 fs/gfs2/glops.c gfs2_set_inode_blocks(&ip->i_inode, be64_to_cpu(str->di_blocks)); i_inode 387 fs/gfs2/glops.c if (timespec64_compare(&ip->i_inode.i_atime, &atime) < 0) i_inode 388 fs/gfs2/glops.c ip->i_inode.i_atime = atime; i_inode 389 fs/gfs2/glops.c ip->i_inode.i_mtime.tv_sec = be64_to_cpu(str->di_mtime); i_inode 390 fs/gfs2/glops.c ip->i_inode.i_mtime.tv_nsec = be32_to_cpu(str->di_mtime_nsec); i_inode 391 fs/gfs2/glops.c ip->i_inode.i_ctime.tv_sec = be64_to_cpu(str->di_ctime); i_inode 392 fs/gfs2/glops.c ip->i_inode.i_ctime.tv_nsec = be32_to_cpu(str->di_ctime_nsec); i_inode 400 fs/gfs2/glops.c gfs2_set_inode_flags(&ip->i_inode); i_inode 412 fs/gfs2/glops.c if (S_ISREG(ip->i_inode.i_mode)) i_inode 413 fs/gfs2/glops.c gfs2_set_aops(&ip->i_inode); i_inode 469 fs/gfs2/glops.c inode_dio_wait(&ip->i_inode); i_inode 497 fs/gfs2/glops.c struct inode *inode = &ip->i_inode; i_inode 511 fs/gfs2/glops.c IF2DT(ip->i_inode.i_mode), ip->i_flags, i_inode 403 fs/gfs2/incore.h struct inode i_inode; i_inode 434 fs/gfs2/incore.h return container_of(inode, struct gfs2_inode, i_inode); i_inode 874 fs/gfs2/incore.h return GFS2_SB(&ip->i_inode)->sd_sb.sb_bsize - sizeof(struct gfs2_dinode); i_inode 334 fs/gfs2/inode.c error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC); i_inode 339 fs/gfs2/inode.c if (!dip->i_inode.i_nlink) i_inode 344 fs/gfs2/inode.c if (S_ISDIR(mode) && dip->i_inode.i_nlink == (u32)-1) i_inode 353 fs/gfs2/inode.c if (GFS2_SB(&dip->i_inode)->sd_args.ar_suiddir && i_inode 354 fs/gfs2/inode.c (dip->i_inode.i_mode & S_ISUID) && i_inode 355 fs/gfs2/inode.c !uid_eq(dip->i_inode.i_uid, GLOBAL_ROOT_UID)) { i_inode 358 fs/gfs2/inode.c else if (!uid_eq(dip->i_inode.i_uid, current_fsuid())) i_inode 360 fs/gfs2/inode.c inode->i_uid = dip->i_inode.i_uid; i_inode 364 fs/gfs2/inode.c if (dip->i_inode.i_mode & S_ISGID) { i_inode 367 fs/gfs2/inode.c inode->i_gid = dip->i_inode.i_gid; i_inode 374 fs/gfs2/inode.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 392 fs/gfs2/inode.c ip->i_inode.i_ino = ip->i_no_addr; i_inode 432 fs/gfs2/inode.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 469 fs/gfs2/inode.c di->di_major = cpu_to_be32(MAJOR(ip->i_inode.i_rdev)); i_inode 470 fs/gfs2/inode.c di->di_minor = cpu_to_be32(MINOR(ip->i_inode.i_rdev)); i_inode 478 fs/gfs2/inode.c switch(ip->i_inode.i_mode & S_IFMT) { i_inode 483 fs/gfs2/inode.c memcpy(dibh->b_data + sizeof(struct gfs2_dinode), symname, ip->i_inode.i_size); i_inode 516 fs/gfs2/inode.c struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); i_inode 538 fs/gfs2/inode.c error = gfs2_dir_add(&dip->i_inode, name, ip, da); i_inode 587 fs/gfs2/inode.c struct gfs2_sbd *sdp = GFS2_SB(&dip->i_inode); i_inode 757 fs/gfs2/inode.c error = security_inode_init_security(&ip->i_inode, &dip->i_inode, name, i_inode 942 fs/gfs2/inode.c if (!dip->i_inode.i_nlink) i_inode 951 fs/gfs2/inode.c if (!ip->i_inode.i_nlink) i_inode 954 fs/gfs2/inode.c if (ip->i_inode.i_nlink == (u32)-1) i_inode 989 fs/gfs2/inode.c inc_nlink(&ip->i_inode); i_inode 990 fs/gfs2/inode.c ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 1032 fs/gfs2/inode.c if (IS_IMMUTABLE(&ip->i_inode) || IS_APPEND(&ip->i_inode)) i_inode 1035 fs/gfs2/inode.c if ((dip->i_inode.i_mode & S_ISVTX) && i_inode 1036 fs/gfs2/inode.c !uid_eq(dip->i_inode.i_uid, current_fsuid()) && i_inode 1037 fs/gfs2/inode.c !uid_eq(ip->i_inode.i_uid, current_fsuid()) && !capable(CAP_FOWNER)) i_inode 1040 fs/gfs2/inode.c if (IS_APPEND(&dip->i_inode)) i_inode 1043 fs/gfs2/inode.c error = gfs2_permission(&dip->i_inode, MAY_WRITE | MAY_EXEC); i_inode 1047 fs/gfs2/inode.c return gfs2_dir_check(&dip->i_inode, name, ip); i_inode 1276 fs/gfs2/inode.c struct inode *dir = &to->i_inode; i_inode 1284 fs/gfs2/inode.c if (dir == &this->i_inode) { i_inode 1327 fs/gfs2/inode.c ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 1328 fs/gfs2/inode.c mark_inode_dirty_sync(&ip->i_inode); i_inode 1381 fs/gfs2/inode.c if (S_ISDIR(ip->i_inode.i_mode)) { i_inode 1432 fs/gfs2/inode.c if (ip->i_inode.i_nlink == 0) i_inode 1448 fs/gfs2/inode.c if (nip->i_inode.i_nlink == 0) { i_inode 1453 fs/gfs2/inode.c if (S_ISDIR(nip->i_inode.i_mode)) { i_inode 1481 fs/gfs2/inode.c if (!ndip->i_inode.i_nlink) { i_inode 1489 fs/gfs2/inode.c if (S_ISDIR(ip->i_inode.i_mode) && i_inode 1490 fs/gfs2/inode.c ndip->i_inode.i_nlink == (u32)-1) { i_inode 1597 fs/gfs2/inode.c umode_t old_mode = oip->i_inode.i_mode; i_inode 1598 fs/gfs2/inode.c umode_t new_mode = nip->i_inode.i_mode; i_inode 1651 fs/gfs2/inode.c if (oip->i_inode.i_nlink == 0 || nip->i_inode.i_nlink == 0) i_inode 1695 fs/gfs2/inode.c inc_nlink(&odip->i_inode); i_inode 1696 fs/gfs2/inode.c drop_nlink(&ndip->i_inode); i_inode 1698 fs/gfs2/inode.c inc_nlink(&ndip->i_inode); i_inode 1699 fs/gfs2/inode.c drop_nlink(&odip->i_inode); i_inode 1702 fs/gfs2/inode.c mark_inode_dirty(&ndip->i_inode); i_inode 1704 fs/gfs2/inode.c mark_inode_dirty(&odip->i_inode); i_inode 1768 fs/gfs2/inode.c size = (unsigned int)i_size_read(&ip->i_inode); i_inode 1895 fs/gfs2/inode.c ap.target = gfs2_get_inode_blocks(&ip->i_inode); i_inode 42 fs/gfs2/inode.h return S_ISDIR(ip->i_inode.i_mode); i_inode 554 fs/gfs2/log.c if (ip->i_inode.i_mapping->nrpages == 0) { i_inode 561 fs/gfs2/log.c filemap_fdatawrite(ip->i_inode.i_mapping); i_inode 577 fs/gfs2/log.c if (ip->i_inode.i_mapping->nrpages == 0) i_inode 580 fs/gfs2/log.c filemap_fdatawait(ip->i_inode.i_mapping); i_inode 588 fs/gfs2/log.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 51 fs/gfs2/log.h struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 38 fs/gfs2/main.c inode_init_once(&ip->i_inode); i_inode 373 fs/gfs2/meta_io.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 405 fs/gfs2/meta_io.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 384 fs/gfs2/quota.c bh_map.b_size = BIT(ip->i_inode.i_blkbits); i_inode 385 fs/gfs2/quota.c error = gfs2_block_map(&ip->i_inode, block, &bh_map, 0); i_inode 535 fs/gfs2/quota.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 562 fs/gfs2/quota.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 581 fs/gfs2/quota.c error = qdsb_get(sdp, make_kqid_uid(ip->i_inode.i_uid), qd); i_inode 587 fs/gfs2/quota.c error = qdsb_get(sdp, make_kqid_gid(ip->i_inode.i_gid), qd); i_inode 594 fs/gfs2/quota.c !uid_eq(uid, ip->i_inode.i_uid)) { i_inode 603 fs/gfs2/quota.c !gid_eq(gid, ip->i_inode.i_gid)) { i_inode 619 fs/gfs2/quota.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 690 fs/gfs2/quota.c struct inode *inode = &ip->i_inode; i_inode 814 fs/gfs2/quota.c struct inode *inode = &ip->i_inode; i_inode 891 fs/gfs2/quota.c inode_lock(&ip->i_inode); i_inode 956 fs/gfs2/quota.c inode_unlock(&ip->i_inode); i_inode 1038 fs/gfs2/quota.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1109 fs/gfs2/quota.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1191 fs/gfs2/quota.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1253 fs/gfs2/quota.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1369 fs/gfs2/quota.c error = gfs2_extent_map(&ip->i_inode, x, &new, &dblock, &extlen); i_inode 1680 fs/gfs2/quota.c inode_lock(&ip->i_inode); i_inode 1745 fs/gfs2/quota.c inode_unlock(&ip->i_inode); i_inode 43 fs/gfs2/quota.h struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 55 fs/gfs2/quota.h ret = gfs2_quota_check(ip, ip->i_inode.i_uid, ip->i_inode.i_gid, ap); i_inode 42 fs/gfs2/recovery.c error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen); i_inode 587 fs/gfs2/rgrp.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 899 fs/gfs2/rgrp.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 906 fs/gfs2/rgrp.c if (pos >= i_size_read(&ip->i_inode)) i_inode 1001 fs/gfs2/rgrp.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1572 fs/gfs2/rgrp.c struct inode *inode = &ip->i_inode; i_inode 1983 fs/gfs2/rgrp.c const struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 2041 fs/gfs2/rgrp.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 2062 fs/gfs2/rgrp.c if (S_ISDIR(ip->i_inode.i_mode) && (ap->aflags & GFS2_AF_ORLOV)) i_inode 2385 fs/gfs2/rgrp.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 2450 fs/gfs2/rgrp.c gfs2_quota_change(ip, *nblocks, ip->i_inode.i_uid, ip->i_inode.i_gid); i_inode 2476 fs/gfs2/rgrp.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 2502 fs/gfs2/rgrp.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 2506 fs/gfs2/rgrp.c gfs2_quota_change(ip, -(s64)blen, ip->i_inode.i_uid, ip->i_inode.i_gid); i_inode 2542 fs/gfs2/rgrp.c gfs2_quota_change(ip, -1, ip->i_inode.i_uid, ip->i_inode.i_gid); i_inode 2600 fs/gfs2/rgrp.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 465 fs/gfs2/super.c str->di_mode = cpu_to_be32(ip->i_inode.i_mode); i_inode 466 fs/gfs2/super.c str->di_uid = cpu_to_be32(i_uid_read(&ip->i_inode)); i_inode 467 fs/gfs2/super.c str->di_gid = cpu_to_be32(i_gid_read(&ip->i_inode)); i_inode 468 fs/gfs2/super.c str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); i_inode 469 fs/gfs2/super.c str->di_size = cpu_to_be64(i_size_read(&ip->i_inode)); i_inode 470 fs/gfs2/super.c str->di_blocks = cpu_to_be64(gfs2_get_inode_blocks(&ip->i_inode)); i_inode 471 fs/gfs2/super.c str->di_atime = cpu_to_be64(ip->i_inode.i_atime.tv_sec); i_inode 472 fs/gfs2/super.c str->di_mtime = cpu_to_be64(ip->i_inode.i_mtime.tv_sec); i_inode 473 fs/gfs2/super.c str->di_ctime = cpu_to_be64(ip->i_inode.i_ctime.tv_sec); i_inode 481 fs/gfs2/super.c str->di_payload_format = cpu_to_be32(S_ISDIR(ip->i_inode.i_mode) && i_inode 488 fs/gfs2/super.c str->di_atime_nsec = cpu_to_be32(ip->i_inode.i_atime.tv_nsec); i_inode 489 fs/gfs2/super.c str->di_mtime_nsec = cpu_to_be32(ip->i_inode.i_mtime.tv_nsec); i_inode 490 fs/gfs2/super.c str->di_ctime_nsec = cpu_to_be32(ip->i_inode.i_ctime.tv_nsec); i_inode 1142 fs/gfs2/super.c struct inode *inode = &ip->i_inode; i_inode 1156 fs/gfs2/super.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1161 fs/gfs2/super.c if (gfs2_get_inode_blocks(&ip->i_inode) != 1) { i_inode 1402 fs/gfs2/super.c return &ip->i_inode; i_inode 530 fs/gfs2/trace_gfs2.h (iomap->addr >> ip->i_inode.i_blkbits); i_inode 159 fs/gfs2/util.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 83 fs/gfs2/xattr.c if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_EA)) i_inode 129 fs/gfs2/xattr.c if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_IN)) { i_inode 135 fs/gfs2/xattr.c end = eablk + GFS2_SB(&ip->i_inode)->sd_inptrs; i_inode 228 fs/gfs2/xattr.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 289 fs/gfs2/xattr.c gfs2_add_inode_blocks(&ip->i_inode, -1); i_inode 307 fs/gfs2/xattr.c ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 308 fs/gfs2/xattr.c __mark_inode_dirty(&ip->i_inode, I_DIRTY_DATASYNC); i_inode 323 fs/gfs2/xattr.c error = gfs2_rindex_update(GFS2_SB(&ip->i_inode)); i_inode 442 fs/gfs2/xattr.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 622 fs/gfs2/xattr.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 643 fs/gfs2/xattr.c gfs2_add_inode_blocks(&ip->i_inode, 1); i_inode 663 fs/gfs2/xattr.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 698 fs/gfs2/xattr.c gfs2_add_inode_blocks(&ip->i_inode, 1); i_inode 730 fs/gfs2/xattr.c error = gfs2_rindex_update(GFS2_SB(&ip->i_inode)); i_inode 742 fs/gfs2/xattr.c error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), i_inode 752 fs/gfs2/xattr.c ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 753 fs/gfs2/xattr.c __mark_inode_dirty(&ip->i_inode, I_DIRTY_DATASYNC); i_inode 756 fs/gfs2/xattr.c gfs2_trans_end(GFS2_SB(&ip->i_inode)); i_inode 794 fs/gfs2/xattr.c unsigned int jbsize = GFS2_SB(&ip->i_inode)->sd_jbsize; i_inode 840 fs/gfs2/xattr.c gfs2_assert_withdraw(GFS2_SB(&ip->i_inode), GFS2_EA2NEXT(prev) == ea); i_inode 866 fs/gfs2/xattr.c error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), RES_DINODE + 2 * RES_EATTR, 0); i_inode 880 fs/gfs2/xattr.c ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 881 fs/gfs2/xattr.c __mark_inode_dirty(&ip->i_inode, I_DIRTY_DATASYNC); i_inode 883 fs/gfs2/xattr.c gfs2_trans_end(GFS2_SB(&ip->i_inode)); i_inode 918 fs/gfs2/xattr.c stuffed = ea_calc_size(GFS2_SB(&ip->i_inode), es->es_er->er_name_len, i_inode 945 fs/gfs2/xattr.c GFS2_SB(&ip->i_inode)->sd_jbsize); i_inode 959 fs/gfs2/xattr.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1007 fs/gfs2/xattr.c gfs2_add_inode_blocks(&ip->i_inode, 1); i_inode 1056 fs/gfs2/xattr.c if (GFS2_EAREQ_SIZE_STUFFED(&er) > GFS2_SB(&ip->i_inode)->sd_jbsize) i_inode 1057 fs/gfs2/xattr.c blks += DIV_ROUND_UP(er.er_data_len, GFS2_SB(&ip->i_inode)->sd_jbsize); i_inode 1067 fs/gfs2/xattr.c gfs2_assert_withdraw(GFS2_SB(&ip->i_inode), i_inode 1080 fs/gfs2/xattr.c error = gfs2_trans_begin(GFS2_SB(&ip->i_inode), RES_DINODE + RES_EATTR, 0); i_inode 1098 fs/gfs2/xattr.c ip->i_inode.i_ctime = current_time(&ip->i_inode); i_inode 1099 fs/gfs2/xattr.c __mark_inode_dirty(&ip->i_inode, I_DIRTY_DATASYNC); i_inode 1101 fs/gfs2/xattr.c gfs2_trans_end(GFS2_SB(&ip->i_inode)); i_inode 1248 fs/gfs2/xattr.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1341 fs/gfs2/xattr.c gfs2_add_inode_blocks(&ip->i_inode, -1); i_inode 1368 fs/gfs2/xattr.c struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); i_inode 1396 fs/gfs2/xattr.c gfs2_add_inode_blocks(&ip->i_inode, -1); i_inode 1423 fs/gfs2/xattr.c error = gfs2_rindex_update(GFS2_SB(&ip->i_inode));