Home
last modified time | relevance | path

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

1234

/fs/gfs2/
Dmount.c84 char *options, *o, *v; in gfs2_mount_args() local
106 v = match_strdup(&tmp[0]); in gfs2_mount_args()
107 if (!v) { in gfs2_mount_args()
113 if (remount && strcmp(v, args->ar_lockproto)) { in gfs2_mount_args()
114 kfree(v); in gfs2_mount_args()
118 strncpy(args->ar_lockproto, v, GFS2_LOCKNAME_LEN); in gfs2_mount_args()
120 kfree(v); in gfs2_mount_args()
123 v = match_strdup(&tmp[0]); in gfs2_mount_args()
124 if (!v) { in gfs2_mount_args()
130 if (remount && strcmp(v, args->ar_locktable)) { in gfs2_mount_args()
[all …]
/fs/afs/
Dproc.c25 static void *afs_proc_cells_next(struct seq_file *p, void *v, loff_t *pos);
26 static void afs_proc_cells_stop(struct seq_file *p, void *v);
27 static int afs_proc_cells_show(struct seq_file *m, void *v);
68 static void *afs_proc_cell_volumes_next(struct seq_file *p, void *v,
70 static void afs_proc_cell_volumes_stop(struct seq_file *p, void *v);
71 static int afs_proc_cell_volumes_show(struct seq_file *m, void *v);
93 static void *afs_proc_cell_vlservers_next(struct seq_file *p, void *v,
95 static void afs_proc_cell_vlservers_stop(struct seq_file *p, void *v);
96 static int afs_proc_cell_vlservers_show(struct seq_file *m, void *v);
117 static void *afs_proc_cell_servers_next(struct seq_file *p, void *v,
[all …]
/fs/xfs/
Dxfs_bit.h42 static inline int xfs_highbit32(__uint32_t v) in xfs_highbit32() argument
44 return fls(v) - 1; in xfs_highbit32()
48 static inline int xfs_highbit64(__uint64_t v) in xfs_highbit64() argument
50 return fls64(v) - 1; in xfs_highbit64()
54 static inline int xfs_lowbit32(__uint32_t v) in xfs_lowbit32() argument
56 return ffs(v) - 1; in xfs_lowbit32()
60 static inline int xfs_lowbit64(__uint64_t v) in xfs_lowbit64() argument
62 __uint32_t w = (__uint32_t)v; in xfs_lowbit64()
68 w = (__uint32_t)(v >> 32); in xfs_lowbit64()
Dxfs_dir2.c210 int v; /* type-checking value */ in xfs_dir_createname() local
232 else if ((rval = xfs_dir2_isblock(tp, dp, &v))) in xfs_dir_createname()
234 else if (v) in xfs_dir_createname()
236 else if ((rval = xfs_dir2_isleaf(tp, dp, &v))) in xfs_dir_createname()
238 else if (v) in xfs_dir_createname()
286 int v; /* type-checking value */ in xfs_dir_lookup() local
304 else if ((rval = xfs_dir2_isblock(tp, dp, &v))) in xfs_dir_lookup()
306 else if (v) in xfs_dir_lookup()
308 else if ((rval = xfs_dir2_isleaf(tp, dp, &v))) in xfs_dir_lookup()
310 else if (v) in xfs_dir_lookup()
[all …]
Dxfs_acl.h84 #define xfs_acl_vset(v,p,sz,t) (-EOPNOTSUPP) argument
85 #define xfs_acl_vget(v,p,sz,t) (-EOPNOTSUPP) argument
86 #define xfs_acl_vremove(v,t) (-EOPNOTSUPP) argument
87 #define xfs_acl_vhasacl_access(v) (0) argument
88 #define xfs_acl_vhasacl_default(v) (0) argument
Dxfs_bmap_btree.h229 xfs_fsblock_t b, xfs_filblks_t c, xfs_exntst_t v);
230 extern void xfs_bmbt_set_blockcount(xfs_bmbt_rec_host_t *r, xfs_filblks_t v);
231 extern void xfs_bmbt_set_startblock(xfs_bmbt_rec_host_t *r, xfs_fsblock_t v);
232 extern void xfs_bmbt_set_startoff(xfs_bmbt_rec_host_t *r, xfs_fileoff_t v);
233 extern void xfs_bmbt_set_state(xfs_bmbt_rec_host_t *r, xfs_exntst_t v);
237 xfs_fsblock_t b, xfs_filblks_t c, xfs_exntst_t v);
Dxfs_bmap_btree.c363 xfs_filblks_t v) in xfs_bmbt_set_blockcount() argument
365 ASSERT((v & xfs_mask64hi(43)) == 0); in xfs_bmbt_set_blockcount()
367 (xfs_bmbt_rec_base_t)(v & xfs_mask64lo(21)); in xfs_bmbt_set_blockcount()
376 xfs_fsblock_t v) in xfs_bmbt_set_startblock() argument
379 ASSERT((v & xfs_mask64hi(12)) == 0); in xfs_bmbt_set_startblock()
381 (xfs_bmbt_rec_base_t)(v >> 43); in xfs_bmbt_set_startblock()
383 (xfs_bmbt_rec_base_t)(v << 21); in xfs_bmbt_set_startblock()
385 if (isnullstartblock(v)) { in xfs_bmbt_set_startblock()
388 ((xfs_bmbt_rec_base_t)v << 21) | in xfs_bmbt_set_startblock()
392 r->l1 = ((xfs_bmbt_rec_base_t)v << 21) | in xfs_bmbt_set_startblock()
[all …]
Dxfs_trans_space.h60 #define XFS_ATTRSET_SPACE_RES(mp, v) \ argument
61 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
64 #define XFS_DIOSTRAT_SPACE_RES(mp, v) \ argument
65 (XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK) + (v))
Dxfs_sb.h338 static inline unsigned xfs_sb_version_tonew(unsigned v) in xfs_sb_version_tonew() argument
340 if (v == XFS_SB_VERSION_1) in xfs_sb_version_tonew()
343 if (v == XFS_SB_VERSION_2) in xfs_sb_version_tonew()
350 static inline unsigned xfs_sb_version_toold(unsigned v) in xfs_sb_version_toold() argument
352 if (v & (XFS_SB_VERSION_QUOTABIT | XFS_SB_VERSION_ALIGNBIT)) in xfs_sb_version_toold()
354 if (v & XFS_SB_VERSION_NLINKBIT) in xfs_sb_version_toold()
356 if (v & XFS_SB_VERSION_ATTRBIT) in xfs_sb_version_toold()
/fs/btrfs/
Dversion.sh9 v="v0.16"
17 v="$tag"
25 v="$v"-dirty
33 echo "#define BTRFS_BUILD_VERSION \"Btrfs $v\"" >> .build-version.h
/fs/adfs/
Dmap.c96 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); in lookup_zone() local
97 while (v == 0) { in lookup_zone()
101 v = le32_to_cpu(_map[mapptr >> 5]); in lookup_zone()
104 mapptr += 1 + ffz(~v); in lookup_zone()
174 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); in scan_free_map() local
175 while (v == 0) { in scan_free_map()
179 v = le32_to_cpu(_map[mapptr >> 5]); in scan_free_map()
182 mapptr += 1 + ffz(~v); in scan_free_map()
/fs/nfsd/
Dnfsxdr.c259 int v,pn; in nfssvc_decode_readargs() local
273 v=0; in nfssvc_decode_readargs()
276 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_respages[pn]); in nfssvc_decode_readargs()
277 rqstp->rq_vec[v].iov_len = len < PAGE_SIZE?len:PAGE_SIZE; in nfssvc_decode_readargs()
278 len -= rqstp->rq_vec[v].iov_len; in nfssvc_decode_readargs()
279 v++; in nfssvc_decode_readargs()
281 args->vlen = v; in nfssvc_decode_readargs()
290 int v; in nfssvc_decode_writeargs() local
326 v = 0; in nfssvc_decode_writeargs()
327 while (len > rqstp->rq_vec[v].iov_len) { in nfssvc_decode_writeargs()
[all …]
Dnfs3xdr.c336 int v,pn; in nfs3svc_decode_readargs() local
349 v=0; in nfs3svc_decode_readargs()
352 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_respages[pn]); in nfs3svc_decode_readargs()
353 rqstp->rq_vec[v].iov_len = len < PAGE_SIZE? len : PAGE_SIZE; in nfs3svc_decode_readargs()
354 len -= rqstp->rq_vec[v].iov_len; in nfs3svc_decode_readargs()
355 v++; in nfs3svc_decode_readargs()
357 args->vlen = v; in nfs3svc_decode_readargs()
365 unsigned int len, v, hdr, dlen; in nfs3svc_decode_writeargs() local
405 v = 0; in nfs3svc_decode_writeargs()
406 while (len > rqstp->rq_vec[v].iov_len) { in nfs3svc_decode_writeargs()
[all …]
/fs/proc/
Ddevices.c6 static int devinfo_show(struct seq_file *f, void *v) in devinfo_show() argument
8 int i = *(loff_t *) v; in devinfo_show()
33 static void *devinfo_next(struct seq_file *f, void *v, loff_t *pos) in devinfo_next() argument
41 static void devinfo_stop(struct seq_file *f, void *v) in devinfo_stop() argument
Dproc_tty.c67 static int show_tty_driver(struct seq_file *m, void *v) in show_tty_driver() argument
69 struct tty_driver *p = list_entry(v, struct tty_driver, tty_drivers); in show_tty_driver()
110 static void *t_next(struct seq_file *m, void *v, loff_t *pos) in t_next() argument
112 return seq_list_next(v, &tty_drivers, pos); in t_next()
115 static void t_stop(struct seq_file *m, void *v) in t_stop() argument
Dnommu.c101 static void nommu_region_list_stop(struct seq_file *m, void *v) in nommu_region_list_stop() argument
106 static void *nommu_region_list_next(struct seq_file *m, void *v, loff_t *pos) in nommu_region_list_next() argument
109 return rb_next((struct rb_node *) v); in nommu_region_list_next()
/fs/xfs/linux-2.6/
Dxfs_stats.h198 #define XFS_STATS_INC(v) (per_cpu(xfsstats, current_cpu()).v++) argument
199 #define XFS_STATS_DEC(v) (per_cpu(xfsstats, current_cpu()).v--) argument
200 #define XFS_STATS_ADD(v, inc) (per_cpu(xfsstats, current_cpu()).v += (inc)) argument
/fs/ncpfs/
Dgetopt.c54 char* v; in ncp_getopt() local
56 *value = simple_strtoul(val, &v, 0); in ncp_getopt()
57 if (!*v) { in ncp_getopt()
/fs/sysfs/
Ddir.c142 int v, t; in sysfs_get_active() local
144 v = atomic_read(&sd->s_active); in sysfs_get_active()
145 if (unlikely(v < 0)) in sysfs_get_active()
148 t = atomic_cmpxchg(&sd->s_active, v, v + 1); in sysfs_get_active()
149 if (likely(t == v)) in sysfs_get_active()
168 int v; in sysfs_put_active() local
173 v = atomic_dec_return(&sd->s_active); in sysfs_put_active()
174 if (likely(v != SD_DEACTIVATED_BIAS)) in sysfs_put_active()
232 int v; in sysfs_deactivate() local
240 v = atomic_add_return(SD_DEACTIVATED_BIAS, &sd->s_active); in sysfs_deactivate()
[all …]
/fs/partitions/
Dmsdos.c204 struct solaris_x86_vtoc *v; in parse_solaris_x86() local
208 v = (struct solaris_x86_vtoc *)read_dev_sector(bdev, offset+1, &sect); in parse_solaris_x86()
209 if (!v) in parse_solaris_x86()
211 if (le32_to_cpu(v->v_sanity) != SOLARIS_X86_VTOC_SANE) { in parse_solaris_x86()
216 if (le32_to_cpu(v->v_version) != 1) { in parse_solaris_x86()
218 le32_to_cpu(v->v_version)); in parse_solaris_x86()
223 max_nparts = le16_to_cpu (v->v_nparts) > 8 ? SOLARIS_X86_NUMSLICE : 8; in parse_solaris_x86()
225 struct solaris_x86_slice *s = &v->v_slice[i]; in parse_solaris_x86()
/fs/reiserfs/
Dprocfs.c424 static void *r_next(struct seq_file *m, void *v, loff_t * pos) in r_next() argument
427 if (v) in r_next()
428 deactivate_super(v); in r_next()
432 static void r_stop(struct seq_file *m, void *v) in r_stop() argument
434 if (v) in r_stop()
435 deactivate_super(v); in r_stop()
438 static int r_show(struct seq_file *m, void *v) in r_show() argument
442 return show(m, v); in r_show()
/fs/ocfs2/cluster/
Dnetdebug.c108 static void *nst_seq_next(struct seq_file *seq, void *v, loff_t *pos) in nst_seq_next() argument
123 static int nst_seq_show(struct seq_file *seq, void *v) in nst_seq_show() argument
162 static void nst_seq_stop(struct seq_file *seq, void *v) in nst_seq_stop() argument
265 static void *sc_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sc_seq_next() argument
281 static int sc_seq_show(struct seq_file *seq, void *v) in sc_seq_show() argument
343 static void sc_seq_stop(struct seq_file *seq, void *v) in sc_seq_stop() argument
/fs/ntfs/
Dsuper.c101 char *p, *v, *ov; in parse_options() local
114 if (!v || !*v) \ in parse_options()
117 variable = simple_strtoul(ov = v, &v, 0); \ in parse_options()
118 if (*v) \ in parse_options()
124 if (!v || !*v) \ in parse_options()
126 variable = simple_strtoul(ov = v, &v, 0); \ in parse_options()
127 if (*v) \ in parse_options()
132 if (!v || !*v) \ in parse_options()
134 variable = simple_strtoul(ov = v, &v, 8); \ in parse_options()
135 if (*v) \ in parse_options()
[all …]
/fs/nfs/
Dclient.c1408 static void *nfs_server_list_next(struct seq_file *p, void *v, loff_t *pos);
1409 static void nfs_server_list_stop(struct seq_file *p, void *v);
1410 static int nfs_server_list_show(struct seq_file *m, void *v);
1429 static void *nfs_volume_list_next(struct seq_file *p, void *v, loff_t *pos);
1430 static void nfs_volume_list_stop(struct seq_file *p, void *v);
1431 static int nfs_volume_list_show(struct seq_file *m, void *v);
1480 static void *nfs_server_list_next(struct seq_file *p, void *v, loff_t *pos) in nfs_server_list_next() argument
1482 return seq_list_next(v, &nfs_client_list, pos); in nfs_server_list_next()
1488 static void nfs_server_list_stop(struct seq_file *p, void *v) in nfs_server_list_stop() argument
1496 static int nfs_server_list_show(struct seq_file *m, void *v) in nfs_server_list_show() argument
[all …]
/fs/cifs/
Dcifs_debug.c108 static int cifs_debug_data_proc_show(struct seq_file *m, void *v) in cifs_debug_data_proc_show() argument
285 static int cifs_stats_proc_show(struct seq_file *m, void *v) in cifs_stats_proc_show() argument
447 static int cifsFYI_proc_show(struct seq_file *m, void *v) in cifsFYI_proc_show() argument
486 static int cifs_oplock_proc_show(struct seq_file *m, void *v) in cifs_oplock_proc_show() argument
523 static int cifs_experimental_proc_show(struct seq_file *m, void *v) in cifs_experimental_proc_show() argument
562 static int cifs_linux_ext_proc_show(struct seq_file *m, void *v) in cifs_linux_ext_proc_show() argument
599 static int cifs_lookup_cache_proc_show(struct seq_file *m, void *v) in cifs_lookup_cache_proc_show() argument
636 static int traceSMB_proc_show(struct seq_file *m, void *v) in traceSMB_proc_show() argument
673 static int cifs_multiuser_mount_proc_show(struct seq_file *m, void *v) in cifs_multiuser_mount_proc_show() argument
710 static int cifs_security_flags_proc_show(struct seq_file *m, void *v) in cifs_security_flags_proc_show() argument

1234