/fs/xfs/libxfs/ |
D | xfs_trans_space.h | 28 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument 29 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument 32 XFS_EXTENTADD_SPACE_RES(mp,w)) 35 #define XFS_SWAP_RMAP_SPACE_RES(mp,b,w)\ argument 36 (XFS_NEXTENTADD_SPACE_RES((mp), (b), (w)) + \ 39 #define XFS_DAENTER_1B(mp,w) \ argument 40 ((w) == XFS_DATA_FORK ? (mp)->m_dir_geo->fsbcount : 1) 41 #define XFS_DAENTER_DBS(mp,w) \ argument 42 (XFS_DA_NODE_MAXDEPTH + (((w) == XFS_DATA_FORK) ? 2 : 0)) 43 #define XFS_DAENTER_BLOCKS(mp,w) \ argument [all …]
|
D | xfs_bit.h | 50 uint32_t w = (uint32_t)v; in xfs_lowbit64() local 53 if (w) { /* lower bits */ in xfs_lowbit64() 54 n = ffs(w); in xfs_lowbit64() 56 w = (uint32_t)(v >> 32); in xfs_lowbit64() 57 if (w) { in xfs_lowbit64() 58 n = ffs(w); in xfs_lowbit64()
|
D | xfs_inode_fork.h | 97 #define XFS_IFORK_PTR(ip,w) \ argument 98 ((w) == XFS_DATA_FORK ? \ 100 ((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_MAXEXT(ip, w) \ argument 114 (XFS_IFORK_SIZE(ip, w) / sizeof(xfs_bmbt_rec_t))
|
D | xfs_format.h | 899 #define XFS_DFORK_SIZE(dip,mp,w) \ argument 900 ((w) == XFS_DATA_FORK ? \ 904 #define XFS_DFORK_MAXEXT(dip, mp, w) \ argument 905 (XFS_DFORK_SIZE(dip, mp, w) / sizeof(struct xfs_bmbt_rec)) 914 #define XFS_DFORK_PTR(dip,w) \ argument 915 ((w) == XFS_DATA_FORK ? XFS_DFORK_DPTR(dip) : XFS_DFORK_APTR(dip)) 917 #define XFS_DFORK_FORMAT(dip,w) \ argument 918 ((w) == XFS_DATA_FORK ? \ 921 #define XFS_DFORK_NEXTENTS(dip,w) \ argument 922 ((w) == XFS_DATA_FORK ? \ [all …]
|
D | xfs_log_format.h | 347 static inline int xfs_ilog_fbroot(int w) in xfs_ilog_fbroot() argument 349 return (w == XFS_DATA_FORK ? XFS_ILOG_DBROOT : XFS_ILOG_ABROOT); in xfs_ilog_fbroot() 352 static inline int xfs_ilog_fext(int w) in xfs_ilog_fext() argument 354 return (w == XFS_DATA_FORK ? XFS_ILOG_DEXT : XFS_ILOG_AEXT); in xfs_ilog_fext() 357 static inline int xfs_ilog_fdata(int w) in xfs_ilog_fdata() argument 359 return (w == XFS_DATA_FORK ? XFS_ILOG_DDATA : XFS_ILOG_ADATA); in xfs_ilog_fdata()
|
D | xfs_bmap.h | 118 static inline int xfs_bmapi_aflag(int w) in xfs_bmapi_aflag() argument 120 return (w == XFS_ATTR_FORK ? XFS_BMAPI_ATTRFORK : in xfs_bmapi_aflag() 121 (w == XFS_COW_FORK ? XFS_BMAPI_COWFORK : 0)); in xfs_bmapi_aflag()
|
D | xfs_bmap_btree.h | 82 #define XFS_BM_MAXLEVELS(mp,w) ((mp)->m_bm_maxlevels[(w)]) argument
|
D | xfs_da_btree.c | 2147 int w = args->whichfork; in xfs_da_grow_inode_int() local 2155 error = xfs_bmap_first_unused(tp, dp, count, bno, w); in xfs_da_grow_inode_int() 2164 xfs_bmapi_aflag(w)|XFS_BMAPI_METADATA|XFS_BMAPI_CONTIG, in xfs_da_grow_inode_int() 2186 xfs_bmapi_aflag(w)|XFS_BMAPI_METADATA, in xfs_da_grow_inode_int() 2278 int w; in xfs_da3_swap_lastblock() local 2289 w = args->whichfork; in xfs_da3_swap_lastblock() 2290 ASSERT(w == XFS_DATA_FORK); in xfs_da3_swap_lastblock() 2293 error = xfs_bmap_last_before(tp, dp, &lastoff, w); in xfs_da3_swap_lastblock() 2302 error = xfs_da3_node_read(tp, dp, last_blkno, &last_buf, w); in xfs_da3_swap_lastblock() 2339 error = xfs_da3_node_read(tp, dp, sib_blkno, &sib_buf, w); in xfs_da3_swap_lastblock() [all …]
|
/fs/fat/ |
D | namei_vfat.c | 203 static inline wchar_t vfat_bad_char(wchar_t w) in vfat_bad_char() argument 205 return (w < 0x0020) in vfat_bad_char() 206 || (w == '*') || (w == '?') || (w == '<') || (w == '>') in vfat_bad_char() 207 || (w == '|') || (w == '"') || (w == ':') || (w == '/') in vfat_bad_char() 208 || (w == '\\'); in vfat_bad_char() 211 static inline wchar_t vfat_replace_char(wchar_t w) in vfat_replace_char() argument 213 return (w == '[') || (w == ']') || (w == ';') || (w == ',') in vfat_replace_char() 214 || (w == '+') || (w == '='); in vfat_replace_char() 217 static wchar_t vfat_skip_char(wchar_t w) in vfat_skip_char() argument 219 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 | 71 extern int access_file(char *path, int r, int w, int x); 72 extern int open_file(char *path, int r, int w, int append);
|
D | hostfs_kern.c | 303 int r, w, fd; in hostfs_open() local 312 r = w = 0; in hostfs_open() 317 r = w = 1; in hostfs_open() 323 fd = open_file(name, r, w, append); in hostfs_open() 768 int r = 0, w = 0, x = 0, err; in hostfs_permission() local 774 if (desired & MAY_WRITE) w = 1; in hostfs_permission() 784 err = access_file(name, r, w, x); in hostfs_permission()
|
/fs/nfsd/ |
D | nfs3acl.c | 178 int w; in nfs3svc_encode_getaclres() local 192 rqstp->rq_res.page_len = w = nfsacl_size( in nfs3svc_encode_getaclres() 195 while (w > 0) { in nfs3svc_encode_getaclres() 198 w -= PAGE_SIZE; in nfs3svc_encode_getaclres()
|
D | nfs4xdr.c | 1030 u32 w; in nfsd4_decode_share_access() local 1032 if (xdr_stream_decode_u32(argp->xdr, &w) < 0) in nfsd4_decode_share_access() 1034 *share_access = w & NFS4_SHARE_ACCESS_MASK; in nfsd4_decode_share_access() 1035 *deleg_want = w & NFS4_SHARE_WANT_MASK; in nfsd4_decode_share_access() 1037 *deleg_when = w & NFS4_SHARE_WHEN_MASK; in nfsd4_decode_share_access() 1039 switch (w & NFS4_SHARE_ACCESS_MASK) { in nfsd4_decode_share_access() 1047 w &= ~NFS4_SHARE_ACCESS_MASK; in nfsd4_decode_share_access() 1048 if (!w) in nfsd4_decode_share_access() 1052 switch (w & NFS4_SHARE_WANT_MASK) { in nfsd4_decode_share_access() 1063 w &= ~NFS4_SHARE_WANT_MASK; in nfsd4_decode_share_access() [all …]
|
/fs/fuse/ |
D | virtio_fs.c | 589 struct virtio_fs_req_work *w = in virtio_fs_complete_req_work() local 590 container_of(work, typeof(*w), done_work); in virtio_fs_complete_req_work() 592 virtio_fs_request_complete(w->req, w->fsvq); in virtio_fs_complete_req_work() 593 kfree(w); in virtio_fs_complete_req_work() 626 struct virtio_fs_req_work *w; in virtio_fs_requests_done_work() local 628 w = kzalloc(sizeof(*w), GFP_NOFS | __GFP_NOFAIL); in virtio_fs_requests_done_work() 629 INIT_WORK(&w->done_work, virtio_fs_complete_req_work); in virtio_fs_requests_done_work() 630 w->fsvq = fsvq; in virtio_fs_requests_done_work() 631 w->req = req; in virtio_fs_requests_done_work() 632 schedule_work(&w->done_work); in virtio_fs_requests_done_work()
|
/fs/jfs/ |
D | jfs_dmap.c | 2759 int budsz, bud, w, bsz, size; in dbBackSplit() local 2790 for (w = leafno, bsz = budsz;; bsz <<= 1, in dbBackSplit() 2791 w = (w < bud) ? w : bud) { in dbBackSplit() 2799 bud = w ^ bsz; in dbBackSplit() 3792 int blkno, w, b, r, nw, nb, i; in dbInitDmap() local 3812 w = blkno >> L2DBWORD; in dbInitDmap() 3828 dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap() 3830 dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap() 3834 w++; in dbInitDmap() 3838 memset(&dp->wmap[w], 0, nw * 4); in dbInitDmap() [all …]
|
/fs/dlm/ |
D | member.c | 397 int i, w, x = 0, total = 0, all_zero = 0, *array; in make_member_array() local 424 w = 1; in make_member_array() 426 w = memb->weight; in make_member_array() 430 for (i = 0; i < w; i++) in make_member_array()
|
/fs/xfs/ |
D | xfs_bmap_util.c | 1679 int w = XFS_DATA_FORK; in xfs_swap_extents() local 1688 resblks = XFS_SWAP_RMAP_SPACE_RES(mp, ipnext, w); in xfs_swap_extents() 1689 resblks += XFS_SWAP_RMAP_SPACE_RES(mp, tipnext, w); in xfs_swap_extents()
|
/fs/ntfs3/ |
D | ntfs_fs.h | 554 #define _ni_write_inode(i, w) ni_write_inode(i, w, __func__) argument
|
/fs/ceph/ |
D | caps.c | 1052 int w = __ceph_caps_file_wanted(ci) | __ceph_caps_used(ci); in __ceph_caps_wanted() local 1055 if (w & CEPH_CAP_ANY_DIR_OPS) in __ceph_caps_wanted() 1056 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted() 1059 if (w & CEPH_CAP_FILE_BUFFER) in __ceph_caps_wanted() 1060 w |= CEPH_CAP_FILE_EXCL; in __ceph_caps_wanted() 1062 return w; in __ceph_caps_wanted()
|
/fs/ksmbd/ |
D | transport_ipc.c | 839 static void ipc_timer_heartbeat(struct work_struct *w) in ipc_timer_heartbeat() argument
|
D | smb2pdu.c | 53 #define WORK_BUFFERS(w, rq, rs) __wbuf((w), (void **)&(rq), (void **)&(rs)) argument
|
/fs/ |
D | fs-writeback.c | 2368 static void wakeup_dirtytime_writeback(struct work_struct *w); 2371 static void wakeup_dirtytime_writeback(struct work_struct *w) in wakeup_dirtytime_writeback() argument
|