/fs/gfs2/ |
D | lops.h | 49 int x; in lops_before_commit() local 50 for (x = 0; gfs2_log_ops[x]; x++) in lops_before_commit() 51 if (gfs2_log_ops[x]->lo_before_commit) in lops_before_commit() 52 gfs2_log_ops[x]->lo_before_commit(sdp, tr); in lops_before_commit() 58 int x; in lops_after_commit() local 59 for (x = 0; gfs2_log_ops[x]; x++) in lops_after_commit() 60 if (gfs2_log_ops[x]->lo_after_commit) in lops_after_commit() 61 gfs2_log_ops[x]->lo_after_commit(sdp, tr); in lops_after_commit() 68 int x; in lops_before_scan() local 69 for (x = 0; gfs2_log_ops[x]; x++) in lops_before_scan() [all …]
|
D | quota.c | 620 u32 x; in gfs2_quota_unhold() local 626 for (x = 0; x < ip->i_qadata->qa_qd_num; x++) { in gfs2_quota_unhold() 627 qdsb_put(ip->i_qadata->qa_qd[x]); in gfs2_quota_unhold() 628 ip->i_qadata->qa_qd[x] = NULL; in gfs2_quota_unhold() 650 s64 x; in do_qc() local 663 x = be64_to_cpu(qc->qc_change) + change; in do_qc() 664 qc->qc_change = cpu_to_be64(x); in do_qc() 667 qd->qd_change = x; in do_qc() 670 if (!x) { in do_qc() 872 unsigned int qx, x; in do_sync() local [all …]
|
D | rgrp.c | 455 int buf, x; in gfs2_rgrp_verify() local 462 for (x = 0; x < 4; x++) in gfs2_rgrp_verify() 463 count[x] += gfs2_bitcount(rgd, in gfs2_rgrp_verify() 466 bi->bi_bytes, x); in gfs2_rgrp_verify() 594 int x; in gfs2_free_clones() local 596 for (x = 0; x < rgd->rd_length; x++) { in gfs2_free_clones() 597 struct gfs2_bitmap *bi = rgd->rd_bits + x; in gfs2_free_clones() 772 int x; in compute_bitstructs() local 783 for (x = 0; x < length; x++) { in compute_bitstructs() 784 bi = rgd->rd_bits + x; in compute_bitstructs() [all …]
|
D | xattr.c | 236 unsigned int x; in ea_dealloc_unstuffed() local 247 for (x = 0; x < ea->ea_num_ptrs; x++, dataptrs++) { in ea_dealloc_unstuffed() 274 for (x = 0; x < ea->ea_num_ptrs; x++, dataptrs++) { in ea_dealloc_unstuffed() 447 unsigned int x; in gfs2_iter_unstuffed() local 456 for (x = 0; x < nptrs; x++) { in gfs2_iter_unstuffed() 458 bh + x); in gfs2_iter_unstuffed() 460 while (x--) in gfs2_iter_unstuffed() 461 brelse(bh[x]); in gfs2_iter_unstuffed() 467 for (x = 0; x < nptrs; x++) { in gfs2_iter_unstuffed() 468 error = gfs2_meta_wait(sdp, bh[x]); in gfs2_iter_unstuffed() [all …]
|
/fs/ntfs/ |
D | endian.h | 19 static inline s16 sle16_to_cpu(sle16 x) in sle16_to_cpu() argument 21 return le16_to_cpu((__force le16)x); in sle16_to_cpu() 24 static inline s32 sle32_to_cpu(sle32 x) in sle32_to_cpu() argument 26 return le32_to_cpu((__force le32)x); in sle32_to_cpu() 29 static inline s64 sle64_to_cpu(sle64 x) in sle64_to_cpu() argument 31 return le64_to_cpu((__force le64)x); in sle64_to_cpu() 34 static inline s16 sle16_to_cpup(sle16 *x) in sle16_to_cpup() argument 36 return le16_to_cpu(*(__force le16*)x); in sle16_to_cpup() 39 static inline s32 sle32_to_cpup(sle32 *x) in sle32_to_cpup() argument 41 return le32_to_cpu(*(__force le32*)x); in sle32_to_cpup() [all …]
|
D | ntfs.h | 121 static inline int ntfs_ffs(int x) in ntfs_ffs() argument 125 if (!x) in ntfs_ffs() 127 if (!(x & 0xffff)) { in ntfs_ffs() 128 x >>= 16; in ntfs_ffs() 131 if (!(x & 0xff)) { in ntfs_ffs() 132 x >>= 8; in ntfs_ffs() 135 if (!(x & 0xf)) { in ntfs_ffs() 136 x >>= 4; in ntfs_ffs() 139 if (!(x & 3)) { in ntfs_ffs() 140 x >>= 2; in ntfs_ffs() [all …]
|
D | layout.h | 120 static inline bool __ntfs_is_magic(le32 x, NTFS_RECORD_TYPE r) in __ntfs_is_magic() argument 122 return (x == r); in __ntfs_is_magic() 124 #define ntfs_is_magic(x, m) __ntfs_is_magic(x, magic_##m) argument 135 #define ntfs_is_file_record(x) ( ntfs_is_magic (x, FILE) ) argument 137 #define ntfs_is_mft_record(x) ( ntfs_is_file_record (x) ) argument 139 #define ntfs_is_indx_record(x) ( ntfs_is_magic (x, INDX) ) argument 141 #define ntfs_is_hole_record(x) ( ntfs_is_magic (x, HOLE) ) argument 144 #define ntfs_is_rstr_record(x) ( ntfs_is_magic (x, RSTR) ) argument 146 #define ntfs_is_rcrd_record(x) ( ntfs_is_magic (x, RCRD) ) argument 149 #define ntfs_is_chkd_record(x) ( ntfs_is_magic (x, CHKD) ) argument [all …]
|
/fs/jffs2/ |
D | nodelist.h | 36 #define cpu_to_je16(x) ((jint16_t){x}) argument 37 #define cpu_to_je32(x) ((jint32_t){x}) argument 38 #define cpu_to_jemode(x) ((jmode_t){os_to_jffs2_mode(x)}) argument 40 #define constant_cpu_to_je16(x) ((jint16_t){x}) argument 41 #define constant_cpu_to_je32(x) ((jint32_t){x}) argument 43 #define je16_to_cpu(x) ((x).v16) argument 44 #define je32_to_cpu(x) ((x).v32) argument 45 #define jemode_to_cpu(x) (jffs2_to_os_mode((x).m)) argument 47 #define cpu_to_je16(x) ((jint16_t){cpu_to_be16(x)}) argument 48 #define cpu_to_je32(x) ((jint32_t){cpu_to_be32(x)}) argument [all …]
|
D | malloc.c | 121 void jffs2_free_full_dirent(struct jffs2_full_dirent *x) in jffs2_free_full_dirent() argument 123 dbg_memalloc("%p\n", x); in jffs2_free_full_dirent() 124 kfree(x); in jffs2_free_full_dirent() 135 void jffs2_free_full_dnode(struct jffs2_full_dnode *x) in jffs2_free_full_dnode() argument 137 dbg_memalloc("%p\n", x); in jffs2_free_full_dnode() 138 kmem_cache_free(full_dnode_slab, x); in jffs2_free_full_dnode() 149 void jffs2_free_raw_dirent(struct jffs2_raw_dirent *x) in jffs2_free_raw_dirent() argument 151 dbg_memalloc("%p\n", x); in jffs2_free_raw_dirent() 152 kmem_cache_free(raw_dirent_slab, x); in jffs2_free_raw_dirent() 163 void jffs2_free_raw_inode(struct jffs2_raw_inode *x) in jffs2_free_raw_inode() argument [all …]
|
D | debug.h | 55 #define D1(x) x argument 57 #define D1(x) argument 61 #define D2(x) x argument 63 #define D2(x) argument
|
D | os-linux.h | 16 #define os_to_jffs2_mode(x) (x) argument 17 #define jffs2_to_os_mode(x) (x) argument 65 #define SECTOR_ADDR(x) ( (((unsigned long)(x) / c->sector_size) * c->sector_size) ) argument
|
/fs/freevxfs/ |
D | vxfs.h | 247 #define VXFS_ISFIFO(x) VXFS_IS_TYPE((x),VXFS_IFIFO) argument 248 #define VXFS_ISCHR(x) VXFS_IS_TYPE((x),VXFS_IFCHR) argument 249 #define VXFS_ISDIR(x) VXFS_IS_TYPE((x),VXFS_IFDIR) argument 250 #define VXFS_ISNAM(x) VXFS_IS_TYPE((x),VXFS_IFNAM) argument 251 #define VXFS_ISBLK(x) VXFS_IS_TYPE((x),VXFS_IFBLK) argument 252 #define VXFS_ISLNK(x) VXFS_IS_TYPE((x),VXFS_IFLNK) argument 253 #define VXFS_ISREG(x) VXFS_IS_TYPE((x),VXFS_IFREG) argument 254 #define VXFS_ISCMP(x) VXFS_IS_TYPE((x),VXFS_IFCMP) argument 255 #define VXFS_ISSOC(x) VXFS_IS_TYPE((x),VXFS_IFSOC) argument 257 #define VXFS_ISFSH(x) VXFS_IS_TYPE((x),VXFS_IFFSH) argument [all …]
|
/fs/reiserfs/ |
D | procfs.c | 49 #define SF( x ) ( r -> x ) argument 50 #define SFP( x ) SF( s_proc_info_data.x ) argument 51 #define SFPL( x ) SFP( x[ level ] ) argument 52 #define SFPF( x ) SFP( scan_bitmap.x ) argument 53 #define SFPJ( x ) SFP( journal.x ) argument 55 #define D2C( x ) le16_to_cpu( x ) argument 56 #define D4C( x ) le32_to_cpu( x ) argument 57 #define DF( x ) D2C( rs -> s_v1.x ) argument 58 #define DFL( x ) D4C( rs -> s_v1.x ) argument 65 #define DJF( x ) le32_to_cpu( rs -> x ) argument [all …]
|
/fs/jfs/ |
D | jfs_debug.h | 100 #define INCREMENT(x) ((x)++) argument 101 #define DECREMENT(x) ((x)--) argument 102 #define HIGHWATERMARK(x,y) ((x) = max((x), (y))) argument 104 #define INCREMENT(x) argument 105 #define DECREMENT(x) argument 106 #define HIGHWATERMARK(x,y) argument
|
D | jfs_filsys.h | 137 #define LBOFFSET(x) ((x) & (PBSIZE - 1)) argument 138 #define LBNUMBER(x) ((x) >> L2PBSIZE) argument
|
/fs/xfs/libxfs/ |
D | xfs_rmap_btree.c | 232 __u64 x, y; in xfs_rmapbt_key_diff() local 239 x = be64_to_cpu(kp->rm_owner); in xfs_rmapbt_key_diff() 241 if (x > y) in xfs_rmapbt_key_diff() 243 else if (y > x) in xfs_rmapbt_key_diff() 246 x = XFS_RMAP_OFF(be64_to_cpu(kp->rm_offset)); in xfs_rmapbt_key_diff() 248 if (x > y) in xfs_rmapbt_key_diff() 250 else if (y > x) in xfs_rmapbt_key_diff() 264 __u64 x, y; in xfs_rmapbt_diff_two_keys() local 271 x = be64_to_cpu(kp1->rm_owner); in xfs_rmapbt_diff_two_keys() 273 if (x > y) in xfs_rmapbt_diff_two_keys() [all …]
|
D | xfs_rmap.h | 51 __u64 x; in xfs_rmap_irec_offset_pack() local 53 x = XFS_RMAP_OFF(irec->rm_offset); in xfs_rmap_irec_offset_pack() 55 x |= XFS_RMAP_OFF_ATTR_FORK; in xfs_rmap_irec_offset_pack() 57 x |= XFS_RMAP_OFF_BMBT_BLOCK; in xfs_rmap_irec_offset_pack() 59 x |= XFS_RMAP_OFF_UNWRITTEN; in xfs_rmap_irec_offset_pack() 60 return x; in xfs_rmap_irec_offset_pack()
|
/fs/xfs/ |
D | xfs_linux.h | 141 #define howmany(x, y) (((x)+((y)-1))/(y)) argument 208 static inline uint64_t roundup_64(uint64_t x, uint32_t y) in roundup_64() argument 210 x += y - 1; in roundup_64() 211 do_div(x, y); in roundup_64() 212 return x * y; in roundup_64() 215 static inline uint64_t howmany_64(uint64_t x, uint32_t y) in howmany_64() argument 217 x += y - 1; in howmany_64() 218 do_div(x, y); in howmany_64() 219 return x; in howmany_64()
|
D | xfs_error.h | 43 #define XFS_WANT_CORRUPTED_GOTO(mp, x, l) \ argument 45 int fs_is_ok = (x); \ 55 #define XFS_WANT_CORRUPTED_RETURN(mp, x) \ argument 57 int fs_is_ok = (x); \
|
/fs/afs/ |
D | yfsclient.c | 25 #define xdr_size(x) (sizeof(*x) / sizeof(__be32)) argument 29 const struct yfs_xdr_YFSFid *x = (const void *)*_bp; in xdr_decode_YFSFid() local 31 fid->vid = xdr_to_u64(x->volume); in xdr_decode_YFSFid() 32 fid->vnode = xdr_to_u64(x->vnode.lo); in xdr_decode_YFSFid() 33 fid->vnode_hi = ntohl(x->vnode.hi); in xdr_decode_YFSFid() 34 fid->unique = ntohl(x->vnode.unique); in xdr_decode_YFSFid() 35 *_bp += xdr_size(x); in xdr_decode_YFSFid() 46 struct yfs_xdr_u64 *x = (void *)bp; in xdr_encode_u64() local 48 *x = u64_to_xdr(n); in xdr_encode_u64() 49 return bp + xdr_size(x); in xdr_encode_u64() [all …]
|
D | protocol_yfs.h | 64 static inline u64 xdr_to_u64(const struct yfs_xdr_u64 x) in xdr_to_u64() argument 66 return ((u64)ntohl(x.msw) << 32) | ntohl(x.lsw); in xdr_to_u64() 69 static inline struct yfs_xdr_u64 u64_to_xdr(const u64 x) in u64_to_xdr() argument 71 return (struct yfs_xdr_u64){ .msw = htonl(x >> 32), .lsw = htonl(x) }; in u64_to_xdr()
|
/fs/ext4/ |
D | hash.c | 34 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument 35 #define G(x, y, z) (((x) & (y)) + (((x) ^ (y)) & (z))) argument 36 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument 44 #define ROUND(f, a, b, c, d, x, s) \ argument 45 (a += f(b, c, d) + x, a = rol32(a, s))
|
/fs/cachefiles/ |
D | proc.c | 23 unsigned x, y, z, t; in cachefiles_histogram_show() local 34 x = atomic_read(&cachefiles_lookup_histogram[index]); in cachefiles_histogram_show() 37 if (x == 0 && y == 0 && z == 0) in cachefiles_histogram_show() 42 seq_printf(m, "%4lu 0.%03u %9u %9u %9u\n", index, t, x, y, z); in cachefiles_histogram_show()
|
/fs/udf/ |
D | udfdecl.h | 37 #define udf_fixed_to_variable(x) ( ( ( (x) >> 5 ) * 39 ) + ( (x) & 0x0000001F ) ) argument 38 #define udf_variable_to_fixed(x) ( ( ( (x) / 39 ) << 5 ) + ( (x) % 39 ) ) argument
|
/fs/sysv/ |
D | sysv.h | 175 static inline u32 PDP_swab(u32 x) in PDP_swab() argument 178 return ((x & 0xffff) << 16) | ((x & 0xffff0000) >> 16); in PDP_swab() 181 return ((x & 0xff00ff) << 8) | ((x & 0xff00ff00) >> 8); in PDP_swab()
|