/fs/xfs/ |
D | xfs_trans_space.h | 26 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument 27 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument 30 XFS_EXTENTADD_SPACE_RES(mp,w)) 31 #define XFS_DAENTER_1B(mp,w) ((w) == XFS_DATA_FORK ? (mp)->m_dirblkfsbs : 1) argument 32 #define XFS_DAENTER_DBS(mp,w) \ argument 33 (XFS_DA_NODE_MAXDEPTH + (((w) == XFS_DATA_FORK) ? 2 : 0)) 34 #define XFS_DAENTER_BLOCKS(mp,w) \ argument 35 (XFS_DAENTER_1B(mp,w) * XFS_DAENTER_DBS(mp,w)) 36 #define XFS_DAENTER_BMAP1B(mp,w) \ argument 37 XFS_NEXTENTADD_SPACE_RES(mp, XFS_DAENTER_1B(mp, w), w) [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 && (n = ffs(w))) in xfs_lowbit64()
|
D | xfs_dinode.h | 127 #define XFS_DFORK_SIZE(dip,mp,w) \ argument 128 ((w) == XFS_DATA_FORK ? \ 139 #define XFS_DFORK_PTR(dip,w) \ argument 140 ((w) == XFS_DATA_FORK ? XFS_DFORK_DPTR(dip) : XFS_DFORK_APTR(dip)) 142 #define XFS_DFORK_FORMAT(dip,w) \ argument 143 ((w) == XFS_DATA_FORK ? \ 146 #define XFS_DFORK_NEXTENTS(dip,w) \ argument 147 ((w) == XFS_DATA_FORK ? \
|
D | xfs_inode.h | 176 #define XFS_IFORK_PTR(ip,w) \ argument 177 ((w) == XFS_DATA_FORK ? \ 188 #define XFS_IFORK_SIZE(ip,w) \ argument 189 ((w) == XFS_DATA_FORK ? \ 192 #define XFS_IFORK_FORMAT(ip,w) \ argument 193 ((w) == XFS_DATA_FORK ? \ 196 #define XFS_IFORK_FMT_SET(ip,w,n) \ argument 197 ((w) == XFS_DATA_FORK ? \ 200 #define XFS_IFORK_NEXTENTS(ip,w) \ argument 201 ((w) == XFS_DATA_FORK ? \ [all …]
|
D | xfs_inode_item.h | 115 static inline int xfs_ilog_fbroot(int w) in xfs_ilog_fbroot() argument 117 return (w == XFS_DATA_FORK ? XFS_ILOG_DBROOT : XFS_ILOG_ABROOT); in xfs_ilog_fbroot() 120 static inline int xfs_ilog_fext(int w) in xfs_ilog_fext() argument 122 return (w == XFS_DATA_FORK ? XFS_ILOG_DEXT : XFS_ILOG_AEXT); in xfs_ilog_fext() 125 static inline int xfs_ilog_fdata(int w) in xfs_ilog_fdata() argument 127 return (w == XFS_DATA_FORK ? XFS_ILOG_DDATA : XFS_ILOG_ADATA); in xfs_ilog_fdata()
|
D | xfs_bmap.h | 91 static inline int xfs_bmapi_aflag(int w) in xfs_bmapi_aflag() argument 93 return (w == XFS_ATTR_FORK ? XFS_BMAPI_ATTRFORK : 0); in xfs_bmapi_aflag() 161 #define XFS_BMAP_TRACE_EXLIST(ip,c,w) \ argument 162 xfs_bmap_trace_exlist(ip,c,w, _THIS_IP_) 164 #define XFS_BMAP_TRACE_EXLIST(ip,c,w) argument
|
D | xfs_rtalloc.h | 61 #define XFS_RTLOBIT(w) xfs_lowbit32(w) argument 62 #define XFS_RTHIBIT(w) xfs_highbit32(w) argument
|
D | xfs_da_btree.c | 1590 int w = args->whichfork; in xfs_da_grow_inode_int() local 1598 error = xfs_bmap_first_unused(tp, dp, count, bno, w); in xfs_da_grow_inode_int() 1608 xfs_bmapi_aflag(w)|XFS_BMAPI_METADATA|XFS_BMAPI_CONTIG, in xfs_da_grow_inode_int() 1631 xfs_bmapi_aflag(w)|XFS_BMAPI_METADATA, in xfs_da_grow_inode_int() 1715 int error, w, entno, level, dead_level; in xfs_da_swap_lastblock() local 1727 w = args->whichfork; in xfs_da_swap_lastblock() 1728 ASSERT(w == XFS_DATA_FORK); in xfs_da_swap_lastblock() 1731 error = xfs_bmap_last_before(tp, ip, &lastoff, w); in xfs_da_swap_lastblock() 1743 if ((error = xfs_da_read_buf(tp, ip, last_blkno, -1, &last_buf, w))) in xfs_da_swap_lastblock() 1769 if ((error = xfs_da_read_buf(tp, ip, sib_blkno, -1, &sib_buf, w))) in xfs_da_swap_lastblock() [all …]
|
D | xfs_bmap_btree.h | 202 #define XFS_BM_MAXLEVELS(mp,w) ((mp)->m_bm_maxlevels[(w)]) argument
|
/fs/fat/ |
D | namei_vfat.c | 195 static inline wchar_t vfat_bad_char(wchar_t w) in vfat_bad_char() argument 197 return (w < 0x0020) in vfat_bad_char() 198 || (w == '*') || (w == '?') || (w == '<') || (w == '>') in vfat_bad_char() 199 || (w == '|') || (w == '"') || (w == ':') || (w == '/') in vfat_bad_char() 200 || (w == '\\'); in vfat_bad_char() 203 static inline wchar_t vfat_replace_char(wchar_t w) in vfat_replace_char() argument 205 return (w == '[') || (w == ']') || (w == ';') || (w == ',') in vfat_replace_char() 206 || (w == '+') || (w == '='); in vfat_replace_char() 209 static wchar_t vfat_skip_char(wchar_t w) in vfat_skip_char() argument 211 return (w == '.') || (w == ' '); in vfat_skip_char()
|
/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 | 312 int r = 0, w = 0, fd; in hostfs_file_open() local 324 w = 1; in hostfs_file_open() 325 if (w) in hostfs_file_open() 332 fd = open_file(name, r, w, append); in hostfs_file_open() 765 int r = 0, w = 0, x = 0, err; in hostfs_permission() local 771 if (desired & MAY_WRITE) w = 1; in hostfs_permission() 781 err = access_file(name, r, w, x); in hostfs_permission()
|
/fs/nfsd/ |
D | nfs3acl.c | 176 int w; in nfs3svc_encode_getaclres() local 183 rqstp->rq_res.page_len = w = nfsacl_size( in nfs3svc_encode_getaclres() 186 while (w > 0) { in nfs3svc_encode_getaclres() 189 w -= PAGE_SIZE; in nfs3svc_encode_getaclres()
|
D | nfs2acl.c | 236 int w; in nfsaclsvc_encode_getaclres() local 253 rqstp->rq_res.page_len = w = nfsacl_size( in nfsaclsvc_encode_getaclres() 256 while (w > 0) { in nfsaclsvc_encode_getaclres() 259 w -= PAGE_SIZE; in nfsaclsvc_encode_getaclres()
|
D | nfs4xdr.c | 622 u32 w; in nfsd4_decode_share_access() local 625 READ32(w); in nfsd4_decode_share_access() 626 *share_access = w & NFS4_SHARE_ACCESS_MASK; in nfsd4_decode_share_access() 627 *deleg_want = w & NFS4_SHARE_WANT_MASK; in nfsd4_decode_share_access() 629 *deleg_when = w & NFS4_SHARE_WHEN_MASK; in nfsd4_decode_share_access() 631 switch (w & NFS4_SHARE_ACCESS_MASK) { in nfsd4_decode_share_access() 639 w &= ~NFS4_SHARE_ACCESS_MASK; in nfsd4_decode_share_access() 640 if (!w) in nfsd4_decode_share_access() 644 switch (w & NFS4_SHARE_WANT_MASK) { in nfsd4_decode_share_access() 655 w &= ~NFS4_SHARE_WANT_MASK; in nfsd4_decode_share_access() [all …]
|
D | nfs4callback.c | 998 void nfsd4_do_callback_rpc(struct work_struct *w) in nfsd4_do_callback_rpc() argument 1000 struct nfsd4_callback *cb = container_of(w, struct nfsd4_callback, cb_work); in nfsd4_do_callback_rpc()
|
/fs/jfs/ |
D | jfs_dmap.c | 2623 int budsz, bud, w, bsz, size; in dbBackSplit() local 2654 for (w = leafno, bsz = budsz;; bsz <<= 1, in dbBackSplit() 2655 w = (w < bud) ? w : bud) { in dbBackSplit() 2663 bud = w ^ bsz; in dbBackSplit() 3646 int blkno, w, b, r, nw, nb, i; in dbInitDmap() local 3666 w = blkno >> L2DBWORD; in dbInitDmap() 3682 dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap() 3684 dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap() 3688 w++; in dbInitDmap() 3692 memset(&dp->wmap[w], 0, nw * 4); in dbInitDmap() [all …]
|
/fs/dlm/ |
D | member.c | 393 int i, w, x = 0, total = 0, all_zero = 0, *array; in make_member_array() local 421 w = 1; in make_member_array() 423 w = memb->weight; in make_member_array() 427 for (i = 0; i < w; i++) in make_member_array()
|
/fs/ceph/ |
D | super.h | 546 int w = __ceph_caps_file_wanted(ci) | __ceph_caps_used(ci); in __ceph_caps_wanted() local 547 if (w & CEPH_CAP_FILE_BUFFER) in __ceph_caps_wanted() 548 w |= CEPH_CAP_FILE_EXCL; /* we want EXCL if dirty data */ in __ceph_caps_wanted() 549 return w; in __ceph_caps_wanted()
|
/fs/cifs/ |
D | TODO | 84 w) Add support for new vfs entry point for fallocate
|
/fs/yaffs2/ |
D | yaffs_guts.c | 3226 YCHAR *w; local 3231 w = name; 3234 while (is_ascii && *w) { 3235 if ((*w) & 0xff00) 3237 w++;
|
/fs/ |
D | compat_ioctl.c | 157 err |= put_user(kevent.u.size.w, &up->u.size.w); in do_video_get_event()
|