Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 25) sorted by relevance

/fs/xfs/
Dxfs_trans_space.h26 #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 …]
Dxfs_bit.h62 __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()
Dxfs_dinode.h124 #define XFS_DFORK_SIZE(dip,mp,w) \ argument
125 ((w) == XFS_DATA_FORK ? \
136 #define XFS_DFORK_PTR(dip,w) \ argument
137 ((w) == XFS_DATA_FORK ? XFS_DFORK_DPTR(dip) : XFS_DFORK_APTR(dip))
139 #define XFS_DFORK_FORMAT(dip,w) \ argument
140 ((w) == XFS_DATA_FORK ? \
143 #define XFS_DFORK_NEXTENTS(dip,w) \ argument
144 ((w) == XFS_DATA_FORK ? \
Dxfs_inode_item.h114 static inline int xfs_ilog_fbroot(int w) in xfs_ilog_fbroot() argument
116 return (w == XFS_DATA_FORK ? XFS_ILOG_DBROOT : XFS_ILOG_ABROOT); in xfs_ilog_fbroot()
119 static inline int xfs_ilog_fext(int w) in xfs_ilog_fext() argument
121 return (w == XFS_DATA_FORK ? XFS_ILOG_DEXT : XFS_ILOG_AEXT); in xfs_ilog_fext()
124 static inline int xfs_ilog_fdata(int w) in xfs_ilog_fdata() argument
126 return (w == XFS_DATA_FORK ? XFS_ILOG_DDATA : XFS_ILOG_ADATA); in xfs_ilog_fdata()
Dxfs_inode.h176 #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 …]
Dxfs_attr_sf.h104 #define xfs_attr_trace_l_c(w,c) argument
105 #define xfs_attr_trace_l_cn(w,c,n) argument
106 #define xfs_attr_trace_l_cb(w,c,b) argument
107 #define xfs_attr_trace_l_cl(w,c,l) argument
Dxfs_bmap.h98 static inline int xfs_bmapi_aflag(int w) in xfs_bmapi_aflag() argument
100 return (w == XFS_ATTR_FORK ? XFS_BMAPI_ATTRFORK : 0); in xfs_bmapi_aflag()
160 #define XFS_BMAP_TRACE_EXLIST(ip,c,w) \ argument
161 xfs_bmap_trace_exlist(__func__,ip,c,w)
165 #define XFS_BMAP_TRACE_EXLIST(ip,c,w) argument
Dxfs_rtalloc.h61 #define XFS_RTLOBIT(w) xfs_lowbit32(w) argument
62 #define XFS_RTHIBIT(w) xfs_highbit32(w) argument
Dxfs_da_btree.c1566 int nmap, error, w, count, c, got, i, mapi; in xfs_da_grow_inode() local
1573 w = args->whichfork; in xfs_da_grow_inode()
1580 if (w == XFS_DATA_FORK) { in xfs_da_grow_inode()
1590 if ((error = xfs_bmap_first_unused(tp, dp, count, &bno, w))) in xfs_da_grow_inode()
1592 if (w == XFS_DATA_FORK) in xfs_da_grow_inode()
1600 xfs_bmapi_aflag(w)|XFS_BMAPI_WRITE|XFS_BMAPI_METADATA| in xfs_da_grow_inode()
1621 xfs_bmapi_aflag(w)|XFS_BMAPI_WRITE| in xfs_da_grow_inode()
1677 int error, w, entno, level, dead_level; in xfs_da_swap_lastblock() local
1687 w = args->whichfork; in xfs_da_swap_lastblock()
1688 ASSERT(w == XFS_DATA_FORK); in xfs_da_swap_lastblock()
[all …]
Dxfs_bmap_btree.h210 #define XFS_BM_MAXLEVELS(mp,w) ((mp)->m_bm_maxlevels[(w)]) argument
Dxfs_bmap.c325 #define XFS_BMAP_TRACE_DELETE(d,ip,i,c,w) \ argument
326 xfs_bmap_trace_delete(__func__,d,ip,i,c,w)
327 #define XFS_BMAP_TRACE_INSERT(d,ip,i,c,r1,r2,w) \ argument
328 xfs_bmap_trace_insert(__func__,d,ip,i,c,r1,r2,w)
329 #define XFS_BMAP_TRACE_POST_UPDATE(d,ip,i,w) \ argument
330 xfs_bmap_trace_post_update(__func__,d,ip,i,w)
331 #define XFS_BMAP_TRACE_PRE_UPDATE(d,ip,i,w) \ argument
332 xfs_bmap_trace_pre_update(__func__,d,ip,i,w)
334 #define XFS_BMAP_TRACE_DELETE(d,ip,i,c,w) argument
335 #define XFS_BMAP_TRACE_INSERT(d,ip,i,c,r1,r2,w) argument
[all …]
/fs/fat/
Dnamei_vfat.c183 static inline wchar_t vfat_bad_char(wchar_t w) in vfat_bad_char() argument
185 return (w < 0x0020) in vfat_bad_char()
186 || (w == '*') || (w == '?') || (w == '<') || (w == '>') in vfat_bad_char()
187 || (w == '|') || (w == '"') || (w == ':') || (w == '/') in vfat_bad_char()
188 || (w == '\\'); in vfat_bad_char()
191 static inline wchar_t vfat_replace_char(wchar_t w) in vfat_replace_char() argument
193 return (w == '[') || (w == ']') || (w == ';') || (w == ',') in vfat_replace_char()
194 || (w == '+') || (w == '='); in vfat_replace_char()
197 static wchar_t vfat_skip_char(wchar_t w) in vfat_skip_char() argument
199 return (w == '.') || (w == ' '); in vfat_skip_char()
/fs/dlm/
Dmember.c48 int w; in dlm_add_member() local
54 w = dlm_node_weight(ls->ls_name, nodeid); in dlm_add_member()
55 if (w < 0) { in dlm_add_member()
57 return w; in dlm_add_member()
61 memb->weight = w; in dlm_add_member()
120 int i, w, x = 0, total = 0, all_zero = 0, *array; in make_member_array() local
148 w = 1; in make_member_array()
150 w = memb->weight; in make_member_array()
154 for (i = 0; i < w; i++) in make_member_array()
Dconfig.c919 int w = -EEXIST; in dlm_node_weight() local
929 w = nd->weight; in dlm_node_weight()
935 return w; in dlm_node_weight()
/fs/hostfs/
Dhostfs_user.c98 int access_file(char *path, int r, int w, int x) in access_file() argument
104 if (w) in access_file()
113 int open_file(char *path, int r, int w, int append) in open_file() argument
117 if (r && !w) in open_file()
119 else if (!r && w) in open_file()
121 else if (r && w) in open_file()
Dhostfs.h61 extern int access_file(char *path, int r, int w, int x);
62 extern int open_file(char *path, int r, int w, int append);
Dhostfs_kern.c377 int r = 0, w = 0, fd; in hostfs_file_open() local
396 w = 1; in hostfs_file_open()
397 if (w) in hostfs_file_open()
404 fd = open_file(name, r, w, append); in hostfs_file_open()
829 int r = 0, w = 0, x = 0, err; in hostfs_permission() local
832 if (desired & MAY_WRITE) w = 1; in hostfs_permission()
842 err = access_file(name, r, w, x); in hostfs_permission()
/fs/cifs/
Dmd5.c163 #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)
DTODO84 w) Add support for new vfs entry points for setlease and fallocate
/fs/nfsd/
Dnfs3acl.c178 int w; in nfs3svc_encode_getaclres() local
185 rqstp->rq_res.page_len = w = nfsacl_size( in nfs3svc_encode_getaclres()
188 while (w > 0) { in nfs3svc_encode_getaclres()
191 w -= PAGE_SIZE; in nfs3svc_encode_getaclres()
Dnfs2acl.c229 int w; in nfsaclsvc_encode_getaclres() local
246 rqstp->rq_res.page_len = w = nfsacl_size( in nfsaclsvc_encode_getaclres()
249 while (w > 0) { in nfsaclsvc_encode_getaclres()
252 w -= PAGE_SIZE; in nfsaclsvc_encode_getaclres()
/fs/jfs/
Djfs_dmap.c2622 int budsz, bud, w, bsz, size; in dbBackSplit() local
2653 for (w = leafno, bsz = budsz;; bsz <<= 1, in dbBackSplit()
2654 w = (w < bud) ? w : bud) { in dbBackSplit()
2662 bud = w ^ bsz; in dbBackSplit()
3648 int blkno, w, b, r, nw, nb, i; in dbInitDmap() local
3668 w = blkno >> L2DBWORD; in dbInitDmap()
3684 dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3686 dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) in dbInitDmap()
3690 w++; in dbInitDmap()
3694 memset(&dp->wmap[w], 0, nw * 4); in dbInitDmap()
[all …]
/fs/notify/inotify/
Dinotify_user.c169 static void free_inotify_user_watch(struct inotify_watch *w) in free_inotify_user_watch() argument
174 watch = container_of(w, struct inotify_user_watch, wdata); in free_inotify_user_watch()
270 static void inotify_dev_queue_event(struct inotify_watch *w, u32 wd, u32 mask, in inotify_dev_queue_event() argument
278 watch = container_of(w, struct inotify_user_watch, wdata); in inotify_dev_queue_event()
286 if (mask & IN_IGNORED || w->mask & IN_ONESHOT) in inotify_dev_queue_event()
287 put_inotify_watch(w); /* final put */ in inotify_dev_queue_event()
/fs/
Dcompat_ioctl.c178 err |= put_user(kevent.u.size.w, &up->u.size.w); in do_video_get_event()
/fs/ntfs/
DChangeLog1192 w.r.t. their size to allow better packing of the structure in memory.