/fs/gfs2/ |
D | lops.h | 52 int x; in lops_before_commit() local 53 for (x = 0; gfs2_log_ops[x]; x++) in lops_before_commit() 54 if (gfs2_log_ops[x]->lo_before_commit) in lops_before_commit() 55 gfs2_log_ops[x]->lo_before_commit(sdp); in lops_before_commit() 61 int x; in lops_after_commit() local 62 for (x = 0; gfs2_log_ops[x]; x++) in lops_after_commit() 63 if (gfs2_log_ops[x]->lo_after_commit) in lops_after_commit() 64 gfs2_log_ops[x]->lo_after_commit(sdp, tr); in lops_after_commit() 71 int x; in lops_before_scan() local 72 for (x = 0; gfs2_log_ops[x]; x++) in lops_before_scan() [all …]
|
D | quota.c | 555 unsigned int x; in gfs2_quota_unhold() local 561 for (x = 0; x < ip->i_res->rs_qa_qd_num; x++) { in gfs2_quota_unhold() 562 qdsb_put(ip->i_res->rs_qa_qd[x]); in gfs2_quota_unhold() 563 ip->i_res->rs_qa_qd[x] = NULL; in gfs2_quota_unhold() 585 s64 x; in do_qc() local 598 x = be64_to_cpu(qc->qc_change) + change; in do_qc() 599 qc->qc_change = cpu_to_be64(x); in do_qc() 602 qd->qd_change = x; in do_qc() 605 if (!x) { in do_qc() 764 unsigned int qx, x; in do_sync() local [all …]
|
D | rgrp.c | 255 u32 x; in gfs2_rbm_from_block() local 271 x = rbm->offset / rbm->rgd->rd_sbd->sd_blocks_per_bitmap; in gfs2_rbm_from_block() 272 rbm->offset -= x * rbm->rgd->rd_sbd->sd_blocks_per_bitmap; in gfs2_rbm_from_block() 273 rbm->bi += x; in gfs2_rbm_from_block() 417 int buf, x; in gfs2_rgrp_verify() local 424 for (x = 0; x < 4; x++) in gfs2_rgrp_verify() 425 count[x] += gfs2_bitcount(rgd, in gfs2_rgrp_verify() 428 bi->bi_len, x); in gfs2_rgrp_verify() 549 int x; in gfs2_free_clones() local 551 for (x = 0; x < rgd->rd_length; x++) { in gfs2_free_clones() [all …]
|
D | xattr.c | 238 unsigned int x; in ea_dealloc_unstuffed() local 249 for (x = 0; x < ea->ea_num_ptrs; x++, dataptrs++) { in ea_dealloc_unstuffed() 276 for (x = 0; x < ea->ea_num_ptrs; x++, dataptrs++) { in ea_dealloc_unstuffed() 469 unsigned int x; in gfs2_iter_unstuffed() local 478 for (x = 0; x < nptrs; x++) { in gfs2_iter_unstuffed() 480 bh + x); in gfs2_iter_unstuffed() 482 while (x--) in gfs2_iter_unstuffed() 483 brelse(bh[x]); in gfs2_iter_unstuffed() 489 for (x = 0; x < nptrs; x++) { in gfs2_iter_unstuffed() 490 error = gfs2_meta_wait(sdp, bh[x]); in gfs2_iter_unstuffed() [all …]
|
D | ops_fstype.c | 258 unsigned int x; in gfs2_read_sb() local 304 for (x = 2;; x++) { in gfs2_read_sb() 308 space = sdp->sd_heightsize[x - 1] * sdp->sd_inptrs; in gfs2_read_sb() 312 if (d != sdp->sd_heightsize[x - 1] || m) in gfs2_read_sb() 314 sdp->sd_heightsize[x] = space; in gfs2_read_sb() 316 sdp->sd_max_height = x; in gfs2_read_sb() 317 sdp->sd_heightsize[x] = ~0; in gfs2_read_sb() 323 for (x = 2;; x++) { in gfs2_read_sb() 327 space = sdp->sd_jheightsize[x - 1] * sdp->sd_inptrs; in gfs2_read_sb() 331 if (d != sdp->sd_jheightsize[x - 1] || m) in gfs2_read_sb() [all …]
|
/fs/ntfs/ |
D | endian.h | 33 static inline s16 sle16_to_cpu(sle16 x) in sle16_to_cpu() argument 35 return le16_to_cpu((__force le16)x); in sle16_to_cpu() 38 static inline s32 sle32_to_cpu(sle32 x) in sle32_to_cpu() argument 40 return le32_to_cpu((__force le32)x); in sle32_to_cpu() 43 static inline s64 sle64_to_cpu(sle64 x) in sle64_to_cpu() argument 45 return le64_to_cpu((__force le64)x); in sle64_to_cpu() 48 static inline s16 sle16_to_cpup(sle16 *x) in sle16_to_cpup() argument 50 return le16_to_cpu(*(__force le16*)x); in sle16_to_cpup() 53 static inline s32 sle32_to_cpup(sle32 *x) in sle32_to_cpup() argument 55 return le32_to_cpu(*(__force le32*)x); in sle32_to_cpup() [all …]
|
D | ntfs.h | 135 static inline int ntfs_ffs(int x) in ntfs_ffs() argument 139 if (!x) in ntfs_ffs() 141 if (!(x & 0xffff)) { in ntfs_ffs() 142 x >>= 16; in ntfs_ffs() 145 if (!(x & 0xff)) { in ntfs_ffs() 146 x >>= 8; in ntfs_ffs() 149 if (!(x & 0xf)) { in ntfs_ffs() 150 x >>= 4; in ntfs_ffs() 153 if (!(x & 3)) { in ntfs_ffs() 154 x >>= 2; in ntfs_ffs() [all …]
|
D | layout.h | 134 static inline bool __ntfs_is_magic(le32 x, NTFS_RECORD_TYPE r) in __ntfs_is_magic() argument 136 return (x == r); in __ntfs_is_magic() 138 #define ntfs_is_magic(x, m) __ntfs_is_magic(x, magic_##m) argument 149 #define ntfs_is_file_record(x) ( ntfs_is_magic (x, FILE) ) argument 151 #define ntfs_is_mft_record(x) ( ntfs_is_file_record (x) ) argument 153 #define ntfs_is_indx_record(x) ( ntfs_is_magic (x, INDX) ) argument 155 #define ntfs_is_hole_record(x) ( ntfs_is_magic (x, HOLE) ) argument 158 #define ntfs_is_rstr_record(x) ( ntfs_is_magic (x, RSTR) ) argument 160 #define ntfs_is_rcrd_record(x) ( ntfs_is_magic (x, RCRD) ) argument 163 #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 | 130 void jffs2_free_full_dirent(struct jffs2_full_dirent *x) in jffs2_free_full_dirent() argument 132 dbg_memalloc("%p\n", x); in jffs2_free_full_dirent() 133 kfree(x); in jffs2_free_full_dirent() 144 void jffs2_free_full_dnode(struct jffs2_full_dnode *x) in jffs2_free_full_dnode() argument 146 dbg_memalloc("%p\n", x); in jffs2_free_full_dnode() 147 kmem_cache_free(full_dnode_slab, x); in jffs2_free_full_dnode() 158 void jffs2_free_raw_dirent(struct jffs2_raw_dirent *x) in jffs2_free_raw_dirent() argument 160 dbg_memalloc("%p\n", x); in jffs2_free_raw_dirent() 161 kmem_cache_free(raw_dirent_slab, x); in jffs2_free_raw_dirent() 172 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 64 #define SECTOR_ADDR(x) ( (((unsigned long)(x) / c->sector_size) * c->sector_size) ) argument
|
/fs/freevxfs/ |
D | vxfs.h | 221 #define VXFS_ISFIFO(x) VXFS_IS_TYPE((x),VXFS_IFIFO) argument 222 #define VXFS_ISCHR(x) VXFS_IS_TYPE((x),VXFS_IFCHR) argument 223 #define VXFS_ISDIR(x) VXFS_IS_TYPE((x),VXFS_IFDIR) argument 224 #define VXFS_ISNAM(x) VXFS_IS_TYPE((x),VXFS_IFNAM) argument 225 #define VXFS_ISBLK(x) VXFS_IS_TYPE((x),VXFS_IFBLK) argument 226 #define VXFS_ISLNK(x) VXFS_IS_TYPE((x),VXFS_IFLNK) argument 227 #define VXFS_ISREG(x) VXFS_IS_TYPE((x),VXFS_IFREG) argument 228 #define VXFS_ISCMP(x) VXFS_IS_TYPE((x),VXFS_IFCMP) argument 229 #define VXFS_ISSOC(x) VXFS_IS_TYPE((x),VXFS_IFSOC) argument 231 #define VXFS_ISFSH(x) VXFS_IS_TYPE((x),VXFS_IFFSH) argument [all …]
|
/fs/jfs/ |
D | endian24.h | 27 #define __swab24(x) \ argument 29 __u32 __x = (x); \ 37 #define __cpu_to_le24(x) ((__u32)(x)) argument 38 #define __le24_to_cpu(x) ((__u32)(x)) argument 40 #define __cpu_to_le24(x) __swab24(x) argument 41 #define __le24_to_cpu(x) __swab24(x) argument
|
D | jfs_debug.h | 113 #define INCREMENT(x) ((x)++) argument 114 #define DECREMENT(x) ((x)--) argument 115 #define HIGHWATERMARK(x,y) ((x) = max((x), (y))) argument 117 #define INCREMENT(x) argument 118 #define DECREMENT(x) argument 119 #define HIGHWATERMARK(x,y) argument
|
D | jfs_filsys.h | 150 #define LBOFFSET(x) ((x) & (PBSIZE - 1)) argument 151 #define LBNUMBER(x) ((x) >> L2PBSIZE) argument
|
/fs/reiserfs/ |
D | procfs.c | 48 #define SF( x ) ( r -> x ) argument 49 #define SFP( x ) SF( s_proc_info_data.x ) argument 50 #define SFPL( x ) SFP( x[ level ] ) argument 51 #define SFPF( x ) SFP( scan_bitmap.x ) argument 52 #define SFPJ( x ) SFP( journal.x ) argument 54 #define D2C( x ) le16_to_cpu( x ) argument 55 #define D4C( x ) le32_to_cpu( x ) argument 56 #define DF( x ) D2C( rs -> s_v1.x ) argument 57 #define DFL( x ) D4C( rs -> s_v1.x ) argument 64 #define DJF( x ) le32_to_cpu( rs -> x ) argument [all …]
|
/fs/xfs/ |
D | xfs_bmap_btree.h | 72 static inline int isnullstartblock(xfs_fsblock_t x) in isnullstartblock() argument 74 return ((x) & STARTBLOCKMASK) == STARTBLOCKMASK; in isnullstartblock() 77 static inline int isnulldstartblock(xfs_dfsbno_t x) in isnulldstartblock() argument 79 return ((x) & DSTARTBLOCKMASK) == DSTARTBLOCKMASK; in isnulldstartblock() 88 static inline xfs_filblks_t startblockval(xfs_fsblock_t x) in startblockval() argument 90 return (xfs_filblks_t)((x) & ~STARTBLOCKMASK); in startblockval() 112 #define XFS_EXTFMT_INODE(x) \ argument 113 (xfs_sb_version_hasextflgbit(&((x)->i_mount->m_sb)) ? \ 115 #define ISUNWRITTEN(x) ((x)->br_state == XFS_EXT_UNWRITTEN) argument
|
D | xfs_linux.h | 160 #define howmany(x, y) (((x)+((y)-1))/(y)) argument 272 static inline __uint64_t roundup_64(__uint64_t x, __uint32_t y) in roundup_64() argument 274 x += y - 1; in roundup_64() 275 do_div(x, y); in roundup_64() 276 return(x * y); in roundup_64() 279 static inline __uint64_t howmany_64(__uint64_t x, __uint32_t y) in howmany_64() argument 281 x += y - 1; in howmany_64() 282 do_div(x, y); in howmany_64() 283 return x; in howmany_64()
|
D | xfs_attr_leaf.h | 189 #define XFS_ATTR_NSP_ARGS_TO_ONDISK(x) (((x) & ATTR_ROOT ? XFS_ATTR_ROOT : 0) |\ argument 190 ((x) & ATTR_SECURE ? XFS_ATTR_SECURE : 0)) 191 #define XFS_ATTR_NSP_ONDISK_TO_ARGS(x) (((x) & XFS_ATTR_ROOT ? ATTR_ROOT : 0) |\ argument 192 ((x) & XFS_ATTR_SECURE ? ATTR_SECURE : 0))
|
D | xfs_error.h | 51 #define XFS_WANT_CORRUPTED_GOTO(x,l) \ argument 53 int fs_is_ok = (x); \ 63 #define XFS_WANT_CORRUPTED_RETURN(x) \ argument 65 int fs_is_ok = (x); \
|
/fs/proc/ |
D | loadavg.c | 10 #define LOAD_INT(x) ((x) >> FSHIFT) argument 11 #define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100) argument
|
/fs/cachefiles/ |
D | proc.c | 27 unsigned x, y, z, t; in cachefiles_histogram_show() local 38 x = atomic_read(&cachefiles_lookup_histogram[index]); in cachefiles_histogram_show() 41 if (x == 0 && y == 0 && z == 0) in cachefiles_histogram_show() 46 seq_printf(m, "%4lu 0.%03u %9u %9u %9u\n", index, t, x, y, z); in cachefiles_histogram_show()
|
/fs/udf/ |
D | udfdecl.h | 45 #define udf_fixed_to_variable(x) ( ( ( (x) >> 5 ) * 39 ) + ( (x) & 0x0000001F ) ) argument 46 #define udf_variable_to_fixed(x) ( ( ( (x) / 39 ) << 5 ) + ( (x) % 39 ) ) argument
|
/fs/btrfs/ |
D | raid56.h | 39 #define is_parity_stripe(x) (((x) == RAID5_P_STRIPE) || \ argument 40 ((x) == RAID6_Q_STRIPE))
|