/fs/xfs/libxfs/ |
D | xfs_trans_space.h | 40 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument 41 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument 44 XFS_EXTENTADD_SPACE_RES(mp,w)) 47 #define XFS_SWAP_RMAP_SPACE_RES(mp,b,w)\ argument 48 (XFS_NEXTENTADD_SPACE_RES((mp), (b), (w)) + \ 51 #define XFS_DAENTER_1B(mp,w) \ argument 52 ((w) == XFS_DATA_FORK ? (mp)->m_dir_geo->fsbcount : 1) 53 #define XFS_DAENTER_DBS(mp,w) \ argument 54 (XFS_DA_NODE_MAXDEPTH + (((w) == XFS_DATA_FORK) ? 2 : 0)) 55 #define XFS_DAENTER_BLOCKS(mp,w) \ argument [all …]
|
D | xfs_inode_fork.h | 92 #define XFS_IFORK_PTR(ip,w) \ argument 93 ((w) == XFS_DATA_FORK ? \ 95 ((w) == XFS_ATTR_FORK ? \ 107 #define XFS_IFORK_SIZE(ip,w) \ argument 108 ((w) == XFS_DATA_FORK ? \ 110 ((w) == XFS_ATTR_FORK ? \ 113 #define XFS_IFORK_FORMAT(ip,w) \ argument 114 ((w) == XFS_DATA_FORK ? \ 116 ((w) == XFS_ATTR_FORK ? \ 119 #define XFS_IFORK_FMT_SET(ip,w,n) \ argument [all …]
|
D | xfs_bit.h | 62 __uint32_t w = (__uint32_t)v; in xfs_lowbit64() local 65 if (w) { /* lower bits */ in xfs_lowbit64() 66 n = ffs(w); in xfs_lowbit64() 68 w = (__uint32_t)(v >> 32); in xfs_lowbit64() 69 if (w) { in xfs_lowbit64() 70 n = ffs(w); in xfs_lowbit64()
|
D | xfs_bmap.h | 130 static inline int xfs_bmapi_aflag(int w) in xfs_bmapi_aflag() argument 132 return (w == XFS_ATTR_FORK ? XFS_BMAPI_ATTRFORK : in xfs_bmapi_aflag() 133 (w == XFS_COW_FORK ? XFS_BMAPI_COWFORK : 0)); in xfs_bmapi_aflag() 191 #define XFS_BMAP_TRACE_EXLIST(ip,c,w) \ argument 192 xfs_bmap_trace_exlist(ip,c,w, _THIS_IP_) 194 #define XFS_BMAP_TRACE_EXLIST(ip,c,w) argument
|
D | xfs_log_format.h | 349 static inline int xfs_ilog_fbroot(int w) in xfs_ilog_fbroot() argument 351 return (w == XFS_DATA_FORK ? XFS_ILOG_DBROOT : XFS_ILOG_ABROOT); in xfs_ilog_fbroot() 354 static inline int xfs_ilog_fext(int w) in xfs_ilog_fext() argument 356 return (w == XFS_DATA_FORK ? XFS_ILOG_DEXT : XFS_ILOG_AEXT); in xfs_ilog_fext() 359 static inline int xfs_ilog_fdata(int w) in xfs_ilog_fdata() argument 361 return (w == XFS_DATA_FORK ? XFS_ILOG_DDATA : XFS_ILOG_ADATA); in xfs_ilog_fdata()
|
D | xfs_format.h | 977 #define XFS_DFORK_SIZE(dip,mp,w) \ argument 978 ((w) == XFS_DATA_FORK ? \ 989 #define XFS_DFORK_PTR(dip,w) \ argument 990 ((w) == XFS_DATA_FORK ? XFS_DFORK_DPTR(dip) : XFS_DFORK_APTR(dip)) 992 #define XFS_DFORK_FORMAT(dip,w) \ argument 993 ((w) == XFS_DATA_FORK ? \ 996 #define XFS_DFORK_NEXTENTS(dip,w) \ argument 997 ((w) == XFS_DATA_FORK ? \ 1138 #define XFS_RTLOBIT(w) xfs_lowbit32(w) argument 1139 #define XFS_RTHIBIT(w) xfs_highbit32(w) argument
|
D | xfs_da_btree.c | 2012 int w = args->whichfork; in xfs_da_grow_inode_int() local 2020 error = xfs_bmap_first_unused(tp, dp, count, bno, w); in xfs_da_grow_inode_int() 2030 xfs_bmapi_aflag(w)|XFS_BMAPI_METADATA|XFS_BMAPI_CONTIG, in xfs_da_grow_inode_int() 2053 xfs_bmapi_aflag(w)|XFS_BMAPI_METADATA, in xfs_da_grow_inode_int() 2146 int w; in xfs_da3_swap_lastblock() local 2157 w = args->whichfork; in xfs_da3_swap_lastblock() 2158 ASSERT(w == XFS_DATA_FORK); in xfs_da3_swap_lastblock() 2161 error = xfs_bmap_last_before(tp, dp, &lastoff, w); in xfs_da3_swap_lastblock() 2173 error = xfs_da3_node_read(tp, dp, last_blkno, -1, &last_buf, w); in xfs_da3_swap_lastblock() 2209 error = xfs_da3_node_read(tp, dp, sib_blkno, -1, &sib_buf, w); in xfs_da3_swap_lastblock() [all …]
|
D | xfs_bmap_btree.h | 102 #define XFS_BM_MAXLEVELS(mp,w) ((mp)->m_bm_maxlevels[(w)]) argument
|
/fs/fat/ |
D | namei_vfat.c | 200 static inline wchar_t vfat_bad_char(wchar_t w) in vfat_bad_char() argument 202 return (w < 0x0020) in vfat_bad_char() 203 || (w == '*') || (w == '?') || (w == '<') || (w == '>') in vfat_bad_char() 204 || (w == '|') || (w == '"') || (w == ':') || (w == '/') in vfat_bad_char() 205 || (w == '\\'); in vfat_bad_char() 208 static inline wchar_t vfat_replace_char(wchar_t w) in vfat_replace_char() argument 210 return (w == '[') || (w == ']') || (w == ';') || (w == ',') in vfat_replace_char() 211 || (w == '+') || (w == '='); in vfat_replace_char() 214 static wchar_t vfat_skip_char(wchar_t w) in vfat_skip_char() argument 216 return (w == '.') || (w == ' '); in vfat_skip_char()
|
/fs/crypto/ |
D | crypto.c | 73 if (ctx->flags & FS_CTX_HAS_BOUNCE_BUFFER_FL && ctx->w.bounce_page) { in fscrypt_release_ctx() 74 mempool_free(ctx->w.bounce_page, fscrypt_bounce_page_pool); in fscrypt_release_ctx() 75 ctx->w.bounce_page = NULL; in fscrypt_release_ctx() 77 ctx->w.control_page = NULL; in fscrypt_release_ctx() 198 ctx->w.bounce_page = mempool_alloc(fscrypt_bounce_page_pool, gfp_flags); in fscrypt_alloc_bounce_page() 199 if (ctx->w.bounce_page == NULL) in fscrypt_alloc_bounce_page() 202 return ctx->w.bounce_page; in fscrypt_alloc_bounce_page() 271 ctx->w.control_page = page; in fscrypt_encrypt_page()
|
D | bio.c | 88 *page = ctx->w.control_page; in fscrypt_pullback_bio_page()
|
/fs/hostfs/ |
D | hostfs_user.c | 55 int access_file(char *path, int r, int w, int x) in access_file() argument 61 if (w) in access_file() 70 int open_file(char *path, int r, int w, int append) in open_file() argument 74 if (r && !w) in open_file() 76 else if (!r && w) in open_file() 78 else if (r && w) in open_file()
|
D | hostfs.h | 66 extern int access_file(char *path, int r, int w, int x); 67 extern int open_file(char *path, int r, int w, int append);
|
D | hostfs_kern.c | 310 int r, w, fd; in hostfs_open() local 319 r = w = 0; in hostfs_open() 324 r = w = 1; in hostfs_open() 330 fd = open_file(name, r, w, append); in hostfs_open() 783 int r = 0, w = 0, x = 0, err; in hostfs_permission() local 789 if (desired & MAY_WRITE) w = 1; in hostfs_permission() 799 err = access_file(name, r, w, x); in hostfs_permission()
|
/fs/nfsd/ |
D | nfs3acl.c | 180 int w; in nfs3svc_encode_getaclres() local 187 rqstp->rq_res.page_len = w = nfsacl_size( in nfs3svc_encode_getaclres() 190 while (w > 0) { in nfs3svc_encode_getaclres() 193 w -= PAGE_SIZE; in nfs3svc_encode_getaclres()
|
D | nfs2acl.c | 262 int w; in nfsaclsvc_encode_getaclres() local 279 rqstp->rq_res.page_len = w = nfsacl_size( in nfsaclsvc_encode_getaclres() 282 while (w > 0) { in nfsaclsvc_encode_getaclres() 285 w -= PAGE_SIZE; in nfsaclsvc_encode_getaclres()
|
D | nfs4xdr.c | 768 u32 w; in nfsd4_decode_share_access() local 771 w = be32_to_cpup(p++); in nfsd4_decode_share_access() 772 *share_access = w & NFS4_SHARE_ACCESS_MASK; in nfsd4_decode_share_access() 773 *deleg_want = w & NFS4_SHARE_WANT_MASK; in nfsd4_decode_share_access() 775 *deleg_when = w & NFS4_SHARE_WHEN_MASK; in nfsd4_decode_share_access() 777 switch (w & NFS4_SHARE_ACCESS_MASK) { in nfsd4_decode_share_access() 785 w &= ~NFS4_SHARE_ACCESS_MASK; in nfsd4_decode_share_access() 786 if (!w) in nfsd4_decode_share_access() 790 switch (w & NFS4_SHARE_WANT_MASK) { in nfsd4_decode_share_access() 801 w &= ~NFS4_SHARE_WANT_MASK; in nfsd4_decode_share_access() [all …]
|
/fs/jfs/ |
D | jfs_dmap.c | 2727 int budsz, bud, w, bsz, size; in dbBackSplit() local 2758 for (w = leafno, bsz = budsz;; bsz <<= 1, in dbBackSplit() 2759 w = (w < bud) ? w : bud) { in dbBackSplit() 2767 bud = w ^ bsz; in dbBackSplit() 3749 int blkno, w, b, r, nw, nb, i; in dbInitDmap() local 3769 w = blkno >> L2DBWORD; in dbInitDmap() 3785 dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap() 3787 dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap() 3791 w++; in dbInitDmap() 3795 memset(&dp->wmap[w], 0, nw * 4); in dbInitDmap() [all …]
|
/fs/dlm/ |
D | member.c | 390 int i, w, x = 0, total = 0, all_zero = 0, *array; in make_member_array() local 418 w = 1; in make_member_array() 420 w = memb->weight; in make_member_array() 424 for (i = 0; i < w; i++) in make_member_array()
|
/fs/ceph/ |
D | super.h | 595 int w = __ceph_caps_file_wanted(ci) | __ceph_caps_used(ci); in __ceph_caps_wanted() local 596 if (w & CEPH_CAP_FILE_BUFFER) in __ceph_caps_wanted() 597 w |= CEPH_CAP_FILE_EXCL; /* we want EXCL if dirty data */ in __ceph_caps_wanted() 598 return w; in __ceph_caps_wanted()
|
/fs/ |
D | compat_ioctl.c | 178 err |= convert_in_user(&kevent->u.size.w, &up->u.size.w); in do_video_get_event()
|
D | fs-writeback.c | 1998 static void wakeup_dirtytime_writeback(struct work_struct *w); 2001 static void wakeup_dirtytime_writeback(struct work_struct *w) in wakeup_dirtytime_writeback() argument
|