/fs/yaffs2/ |
D | yportenv.h | 53 #define _Y(x) x argument 68 #define YMALLOC(x) kmalloc(x, GFP_NOFS) argument 69 #define YFREE(x) kfree(x) argument 70 #define YMALLOC_ALT(x) vmalloc(x) argument 71 #define YFREE_ALT(x) vfree(x) argument 72 #define YMALLOC_DMA(x) YMALLOC(x) argument 82 #define Y_TIME_CONVERT(x) (x).tv_sec argument 85 #define Y_TIME_CONVERT(x) (x) argument 88 #define yaffs_SumCompare(x, y) ((x) == (y)) argument 92 #define TSTR(x) KERN_WARNING x argument [all …]
|
D | yaffs_ecc.c | 75 static int yaffs_CountBits(unsigned char x) in yaffs_CountBits() argument 78 while (x) { in yaffs_CountBits() 79 if (x & 1) in yaffs_CountBits() 81 x >>= 1; in yaffs_CountBits() 86 static int yaffs_CountBits32(unsigned x) in yaffs_CountBits32() argument 89 while (x) { in yaffs_CountBits32() 90 if (x & 1) in yaffs_CountBits32() 92 x >>= 1; in yaffs_CountBits32()
|
/fs/gfs2/ |
D | lops.h | 62 int x; in lops_before_commit() local 63 for (x = 0; gfs2_log_ops[x]; x++) in lops_before_commit() 64 if (gfs2_log_ops[x]->lo_before_commit) in lops_before_commit() 65 gfs2_log_ops[x]->lo_before_commit(sdp); in lops_before_commit() 70 int x; in lops_after_commit() local 71 for (x = 0; gfs2_log_ops[x]; x++) in lops_after_commit() 72 if (gfs2_log_ops[x]->lo_after_commit) in lops_after_commit() 73 gfs2_log_ops[x]->lo_after_commit(sdp, ai); in lops_after_commit() 80 int x; in lops_before_scan() local 81 for (x = 0; gfs2_log_ops[x]; x++) in lops_before_scan() [all …]
|
D | quota.c | 507 unsigned int x; in gfs2_quota_unhold() local 511 for (x = 0; x < al->al_qd_num; x++) { in gfs2_quota_unhold() 512 qdsb_put(al->al_qd[x]); in gfs2_quota_unhold() 513 al->al_qd[x] = NULL; in gfs2_quota_unhold() 543 s64 x; in do_qc() local 556 x = be64_to_cpu(qc->qc_change) + change; in do_qc() 557 qc->qc_change = cpu_to_be64(x); in do_qc() 560 qd->qd_change = x; in do_qc() 563 if (!x) { in do_qc() 685 unsigned int qx, x; in do_sync() local [all …]
|
D | eattr.c | 231 unsigned int x; in ea_dealloc_unstuffed() local 238 for (x = 0; x < ea->ea_num_ptrs; x++, dataptrs++) { in ea_dealloc_unstuffed() 265 for (x = 0; x < ea->ea_num_ptrs; x++, dataptrs++) { in ea_dealloc_unstuffed() 448 unsigned int x; in ea_get_unstuffed() local 455 for (x = 0; x < nptrs; x++) { in ea_get_unstuffed() 457 bh + x); in ea_get_unstuffed() 459 while (x--) in ea_get_unstuffed() 460 brelse(bh[x]); in ea_get_unstuffed() 466 for (x = 0; x < nptrs; x++) { in ea_get_unstuffed() 467 error = gfs2_meta_wait(sdp, bh[x]); in ea_get_unstuffed() [all …]
|
D | rgrp.c | 258 int buf, x; in gfs2_rgrp_verify() local 265 for (x = 0; x < 4; x++) in gfs2_rgrp_verify() 266 count[x] += gfs2_bitcount(rgd, in gfs2_rgrp_verify() 269 bi->bi_len, x); in gfs2_rgrp_verify() 423 int x; in compute_bitstructs() local 434 for (x = 0; x < length; x++) { in compute_bitstructs() 435 bi = rgd->rd_bits + x; in compute_bitstructs() 444 } else if (x == 0) { in compute_bitstructs() 450 } else if (x + 1 == length) { in compute_bitstructs() 736 unsigned int x, y; in gfs2_rgrp_bh_get() local [all …]
|
D | ops_fstype.c | 146 unsigned int x; in gfs2_check_sb() local 162 for (x = 0; gfs2_old_fs_formats[x]; x++) in gfs2_check_sb() 163 if (gfs2_old_fs_formats[x] == sb->sb_fs_format) in gfs2_check_sb() 166 if (!gfs2_old_fs_formats[x]) { in gfs2_check_sb() 179 for (x = 0; gfs2_old_multihost_formats[x]; x++) in gfs2_check_sb() 180 if (gfs2_old_multihost_formats[x] == in gfs2_check_sb() 184 if (!gfs2_old_multihost_formats[x]) { in gfs2_check_sb() 314 unsigned int x; in gfs2_read_sb() local 361 for (x = 2;; x++) { in gfs2_read_sb() 365 space = sdp->sd_heightsize[x - 1] * sdp->sd_inptrs; in gfs2_read_sb() [all …]
|
D | glock.c | 60 #define GLOCK_BUG_ON(gl,x) do { if (unlikely(x)) { __dump_glock(NULL, gl); BUG(); } } while(0) argument 114 static inline rwlock_t *gl_lock_addr(unsigned int x) in gl_lock_addr() argument 116 return &gl_hash_locks[x & (GL_HASH_LOCK_SZ-1)]; in gl_lock_addr() 119 static inline rwlock_t *gl_lock_addr(unsigned int x) in gl_lock_addr() argument 1153 unsigned int x; in nq_m_sync() local 1156 for (x = 0; x < num_gh; x++) in nq_m_sync() 1157 p[x] = &ghs[x]; in nq_m_sync() 1161 for (x = 0; x < num_gh; x++) { in nq_m_sync() 1162 p[x]->gh_flags &= ~(LM_FLAG_TRY | GL_ASYNC); in nq_m_sync() 1164 error = gfs2_glock_nq(p[x]); in nq_m_sync() [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 | layout.h | 37 #define const_le16_to_cpu(x) __constant_le16_to_cpu(x) argument 38 #define const_le32_to_cpu(x) __constant_le32_to_cpu(x) argument 39 #define const_le64_to_cpu(x) __constant_le64_to_cpu(x) argument 41 #define const_cpu_to_le16(x) __constant_cpu_to_le16(x) argument 42 #define const_cpu_to_le32(x) __constant_cpu_to_le32(x) argument 43 #define const_cpu_to_le64(x) __constant_cpu_to_le64(x) argument 145 static inline bool __ntfs_is_magic(le32 x, NTFS_RECORD_TYPE r) in __ntfs_is_magic() argument 147 return (x == r); in __ntfs_is_magic() 149 #define ntfs_is_magic(x, m) __ntfs_is_magic(x, magic_##m) argument 160 #define ntfs_is_file_record(x) ( ntfs_is_magic (x, FILE) ) argument [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 …]
|
/fs/jffs2/ |
D | nodelist.h | 37 #define cpu_to_je16(x) ((jint16_t){x}) argument 38 #define cpu_to_je32(x) ((jint32_t){x}) argument 39 #define cpu_to_jemode(x) ((jmode_t){os_to_jffs2_mode(x)}) argument 41 #define constant_cpu_to_je16(x) ((jint16_t){x}) argument 42 #define constant_cpu_to_je32(x) ((jint32_t){x}) argument 44 #define je16_to_cpu(x) ((x).v16) argument 45 #define je32_to_cpu(x) ((x).v32) argument 46 #define jemode_to_cpu(x) (jffs2_to_os_mode((x).m)) argument 48 #define cpu_to_je16(x) ((jint16_t){cpu_to_be16(x)}) argument 49 #define cpu_to_je32(x) ((jint32_t){cpu_to_be32(x)}) argument [all …]
|
D | malloc.c | 128 void jffs2_free_full_dirent(struct jffs2_full_dirent *x) in jffs2_free_full_dirent() argument 130 dbg_memalloc("%p\n", x); in jffs2_free_full_dirent() 131 kfree(x); in jffs2_free_full_dirent() 142 void jffs2_free_full_dnode(struct jffs2_full_dnode *x) in jffs2_free_full_dnode() argument 144 dbg_memalloc("%p\n", x); in jffs2_free_full_dnode() 145 kmem_cache_free(full_dnode_slab, x); in jffs2_free_full_dnode() 156 void jffs2_free_raw_dirent(struct jffs2_raw_dirent *x) in jffs2_free_raw_dirent() argument 158 dbg_memalloc("%p\n", x); in jffs2_free_raw_dirent() 159 kmem_cache_free(raw_dirent_slab, x); in jffs2_free_raw_dirent() 170 void jffs2_free_raw_inode(struct jffs2_raw_inode *x) in jffs2_free_raw_inode() argument [all …]
|
/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
|
/fs/reiserfs/ |
D | procfs.c | 59 #define SF( x ) ( r -> x ) argument 60 #define SFP( x ) SF( s_proc_info_data.x ) argument 61 #define SFPL( x ) SFP( x[ level ] ) argument 62 #define SFPF( x ) SFP( scan_bitmap.x ) argument 63 #define SFPJ( x ) SFP( journal.x ) argument 65 #define D2C( x ) le16_to_cpu( x ) argument 66 #define D4C( x ) le32_to_cpu( x ) argument 67 #define DF( x ) D2C( rs -> s_v1.x ) argument 68 #define DFL( x ) D4C( rs -> s_v1.x ) argument 75 #define DJF( x ) le32_to_cpu( rs -> x ) argument [all …]
|
/fs/xfs/ |
D | xfs_bmap_btree.h | 79 static inline int isnullstartblock(xfs_fsblock_t x) in isnullstartblock() argument 81 return ((x) & STARTBLOCKMASK) == STARTBLOCKMASK; in isnullstartblock() 84 static inline int isnulldstartblock(xfs_dfsbno_t x) in isnulldstartblock() argument 86 return ((x) & DSTARTBLOCKMASK) == DSTARTBLOCKMASK; in isnulldstartblock() 95 static inline xfs_filblks_t startblockval(xfs_fsblock_t x) in startblockval() argument 97 return (xfs_filblks_t)((x) & ~STARTBLOCKMASK); in startblockval() 119 #define XFS_EXTFMT_INODE(x) \ argument 120 (xfs_sb_version_hasextflgbit(&((x)->i_mount->m_sb)) ? \ 122 #define ISUNWRITTEN(x) ((x)->br_state == XFS_EXT_UNWRITTEN) argument
|
D | xfs_attr_leaf.h | 140 #define XFS_ATTR_NSP_ARGS_TO_ONDISK(x) (((x) & ATTR_ROOT ? XFS_ATTR_ROOT : 0) |\ argument 141 ((x) & ATTR_SECURE ? XFS_ATTR_SECURE : 0)) 142 #define XFS_ATTR_NSP_ONDISK_TO_ARGS(x) (((x) & XFS_ATTR_ROOT ? ATTR_ROOT : 0) |\ argument 143 ((x) & XFS_ATTR_SECURE ? ATTR_SECURE : 0))
|
/fs/xfs/linux-2.6/ |
D | xfs_linux.h | 166 #define howmany(x, y) (((x)+((y)-1))/(y)) argument 280 static inline __uint64_t roundup_64(__uint64_t x, __uint32_t y) in roundup_64() argument 282 x += y - 1; in roundup_64() 283 do_div(x, y); in roundup_64() 284 return(x * y); in roundup_64() 287 static inline __uint64_t howmany_64(__uint64_t x, __uint32_t y) in howmany_64() argument 289 x += y - 1; in howmany_64() 290 do_div(x, y); in howmany_64() 291 return x; in howmany_64()
|
/fs/gfs2/locking/dlm/ |
D | mount.c | 56 char *options, *x, *y; in make_args() local 67 for (options = data; (x = strsep(&options, ":")); ) { in make_args() 68 if (!*x) in make_args() 71 y = strchr(x, '='); in make_args() 75 if (!strcmp(x, "jid")) { in make_args() 83 } else if (!strcmp(x, "first")) { in make_args() 91 } else if (!strcmp(x, "id")) { in make_args() 99 } else if (!strcmp(x, "nodir")) { in make_args() 108 log_error("unkonwn option: %s", x); in make_args()
|
/fs/cifs/ |
D | md4.c | 47 lshift(__u32 x, int s) in lshift() argument 49 x &= 0xFFFFFFFF; in lshift() 50 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 150 copy4(unsigned char *out, __u32 x) in copy4() argument 152 out[0] = x & 0xFF; in copy4() 153 out[1] = (x >> 8) & 0xFF; in copy4() 154 out[2] = (x >> 16) & 0xFF; in copy4() 155 out[3] = (x >> 24) & 0xFF; in copy4()
|
D | md5.c | 157 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument 158 #define F2(x, y, z) F1(z, x, y) argument 159 #define F3(x, y, z) (x ^ y ^ z) argument 160 #define F4(x, y, z) (y ^ (x | ~z)) argument 163 #define MD5STEP(f, w, x, y, z, data, s) \ argument 164 (w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += 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/udf/ |
D | udfdecl.h | 36 #define udf_fixed_to_variable(x) ( ( ( (x) >> 5 ) * 39 ) + ( (x) & 0x0000001F ) ) argument 37 #define udf_variable_to_fixed(x) ( ( ( (x) / 39 ) << 5 ) + ( (x) % 39 ) ) argument
|