Home
last modified time | relevance | path

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

12345

/fs/nfs/blocklayout/
Ddev.c238 struct pnfs_block_volume *v = &volumes[idx]; in bl_parse_simple() local
242 dev = bl_resolve_deviceid(server, v, gfp_mask); in bl_parse_simple()
264 bl_validate_designator(struct pnfs_block_volume *v) in bl_validate_designator() argument
266 switch (v->scsi.designator_type) { in bl_validate_designator()
268 if (v->scsi.code_set != PS_CODE_SET_BINARY) in bl_validate_designator()
271 if (v->scsi.designator_len != 8 && in bl_validate_designator()
272 v->scsi.designator_len != 10 && in bl_validate_designator()
273 v->scsi.designator_len != 16) in bl_validate_designator()
278 if (v->scsi.code_set != PS_CODE_SET_BINARY) in bl_validate_designator()
281 if (v->scsi.designator_len != 8 && in bl_validate_designator()
[all …]
/fs/erofs/
Dtagptr.h19 uintptr_t v; \
49 ((typeof(type)){ .v = (uintptr_t)(val) })
55 #define tagptr_cast_ptr(tptr) ((void *)(tptr).v)
66 ((void *)((tptr).v & ~__tagptr_mask(tptr)))
69 ((tptr).v & __tagptr_mask(tptr))
76 (tptr1).v == (tptr2).v; })
85 tagptr_init(o, cmpxchg(&ptptr->v, o.v, n.v)); })
98 ptptr->v |= tags; \
106 ptptr->v &= ~tags; \
Dzdata.h122 unsigned long *v; member
130 u.v = &page_private(page); in z_erofs_onlinepage_index()
139 unsigned long v; in z_erofs_onlinepage_init() member
143 set_page_private(page, u.v); in z_erofs_onlinepage_init()
151 unsigned long *p, o, v, id; in z_erofs_onlinepage_fixup() local
164 v = (index << Z_EROFS_ONLINEPAGE_INDEX_SHIFT) | in z_erofs_onlinepage_fixup()
166 if (cmpxchg(p, o, v) != o) in z_erofs_onlinepage_fixup()
173 unsigned int v; in z_erofs_onlinepage_endio() local
176 u.v = &page_private(page); in z_erofs_onlinepage_endio()
178 v = atomic_dec_return(u.o); in z_erofs_onlinepage_endio()
[all …]
/fs/afs/
Dproc.c34 static int afs_proc_cells_show(struct seq_file *m, void *v) in afs_proc_cells_show() argument
39 if (v == SEQ_START_TOKEN) { in afs_proc_cells_show()
45 cell = list_entry(v, struct afs_cell, proc_link); in afs_proc_cells_show()
64 static void *afs_proc_cells_next(struct seq_file *m, void *v, loff_t *pos) in afs_proc_cells_next() argument
66 return seq_hlist_next_rcu(v, &afs_seq2net(m)->proc_cells, pos); in afs_proc_cells_next()
69 static void afs_proc_cells_stop(struct seq_file *m, void *v) in afs_proc_cells_stop() argument
150 static int afs_proc_rootcell_show(struct seq_file *m, void *v) in afs_proc_rootcell_show() argument
209 static int afs_proc_cell_volumes_show(struct seq_file *m, void *v) in afs_proc_cell_volumes_show() argument
212 struct afs_volume *vol = list_entry(v, struct afs_volume, proc_link); in afs_proc_cell_volumes_show()
215 if (v == &cell->proc_volumes) { in afs_proc_cell_volumes_show()
[all …]
/fs/xfs/libxfs/
Dxfs_bit.h30 static inline int xfs_highbit32(uint32_t v) in xfs_highbit32() argument
32 return fls(v) - 1; in xfs_highbit32()
36 static inline int xfs_highbit64(uint64_t v) in xfs_highbit64() argument
38 return fls64(v) - 1; in xfs_highbit64()
42 static inline int xfs_lowbit32(uint32_t v) in xfs_lowbit32() argument
44 return ffs(v) - 1; in xfs_lowbit32()
48 static inline int xfs_lowbit64(uint64_t v) in xfs_lowbit64() argument
50 uint32_t w = (uint32_t)v; in xfs_lowbit64()
56 w = (uint32_t)(v >> 32); in xfs_lowbit64()
Dxfs_dir2.c246 int v; /* type-checking value */ in xfs_dir_createname() local
280 rval = xfs_dir2_isblock(args, &v); in xfs_dir_createname()
283 if (v) { in xfs_dir_createname()
288 rval = xfs_dir2_isleaf(args, &v); in xfs_dir_createname()
291 if (v) in xfs_dir_createname()
342 int v; /* type-checking value */ in xfs_dir_lookup() local
375 rval = xfs_dir2_isblock(args, &v); in xfs_dir_lookup()
378 if (v) { in xfs_dir_lookup()
383 rval = xfs_dir2_isleaf(args, &v); in xfs_dir_lookup()
386 if (v) in xfs_dir_lookup()
[all …]
Dxfs_trans_space.h71 #define XFS_ATTRSET_SPACE_RES(mp, v) \ argument
72 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
75 #define XFS_DIOSTRAT_SPACE_RES(mp, v) \ argument
76 (XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK) + (v))
/fs/reiserfs/
Dreiserfs.h117 #define set_sb_block_count(sbp,v) ((sbp)->s_v1.s_block_count = cpu_to_le32(v)) argument
119 #define set_sb_free_blocks(sbp,v) ((sbp)->s_v1.s_free_blocks = cpu_to_le32(v)) argument
121 #define set_sb_root_block(sbp,v) ((sbp)->s_v1.s_root_block = cpu_to_le32(v)) argument
125 #define set_sb_jp_journal_1st_block(sbp,v) \ argument
126 ((sbp)->s_v1.s_journal.jp_journal_1st_block = cpu_to_le32(v))
129 #define set_sb_jp_journal_dev(sbp,v) \ argument
130 ((sbp)->s_v1.s_journal.jp_journal_dev = cpu_to_le32(v))
133 #define set_sb_jp_journal_size(sbp,v) \ argument
134 ((sbp)->s_v1.s_journal.jp_journal_size = cpu_to_le32(v))
137 #define set_sb_jp_journal_trans_max(sbp,v) \ argument
[all …]
/fs/xfs/
Dxfs_stats.h162 #define XFS_STATS_INC(mp, v) \ argument
164 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v++; \
165 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v++; \
168 #define XFS_STATS_DEC(mp, v) \ argument
170 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v--; \
171 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v--; \
174 #define XFS_STATS_ADD(mp, v, inc) \ argument
176 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v += (inc); \
177 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v += (inc); \
/fs/adfs/
Dmap.c85 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); in lookup_zone() local
86 while (v == 0) { in lookup_zone()
90 v = le32_to_cpu(_map[mapptr >> 5]); in lookup_zone()
93 mapptr += 1 + ffz(~v); in lookup_zone()
163 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); in scan_free_map() local
164 while (v == 0) { in scan_free_map()
168 v = le32_to_cpu(_map[mapptr >> 5]); in scan_free_map()
171 mapptr += 1 + ffz(~v); in scan_free_map()
/fs/fscache/
Dhistogram.c23 static int fscache_histogram_show(struct seq_file *m, void *v) in fscache_histogram_show() argument
28 switch ((unsigned long) v) { in fscache_histogram_show()
36 index = (unsigned long) v - 3; in fscache_histogram_show()
68 static void *fscache_histogram_next(struct seq_file *m, void *v, loff_t *pos) in fscache_histogram_next() argument
78 static void fscache_histogram_stop(struct seq_file *m, void *v) in fscache_histogram_stop() argument
Dobject-list.c142 static void *fscache_objlist_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_objlist_next() argument
151 static void fscache_objlist_stop(struct seq_file *m, void *v) in fscache_objlist_stop() argument
160 static int fscache_objlist_show(struct seq_file *m, void *v) in fscache_objlist_show() argument
163 struct fscache_object *obj = v; in fscache_objlist_show()
169 if ((unsigned long) v == 1) { in fscache_objlist_show()
188 if ((unsigned long) v == 2) { in fscache_objlist_show()
/fs/cachefiles/
Dproc.c20 static int cachefiles_histogram_show(struct seq_file *m, void *v) in cachefiles_histogram_show() argument
25 switch ((unsigned long) v) { in cachefiles_histogram_show()
33 index = (unsigned long) v - 3; in cachefiles_histogram_show()
62 static void *cachefiles_histogram_next(struct seq_file *m, void *v, loff_t *pos) in cachefiles_histogram_next() argument
72 static void cachefiles_histogram_stop(struct seq_file *m, void *v) in cachefiles_histogram_stop() argument
/fs/jfs/
Djfs_debug.h52 int jfs_txanchor_proc_show(struct seq_file *m, void *v);
95 int jfs_lmstats_proc_show(struct seq_file *m, void *v);
96 int jfs_txstats_proc_show(struct seq_file *m, void *v);
97 int jfs_mpstat_proc_show(struct seq_file *m, void *v);
98 int jfs_xtstat_proc_show(struct seq_file *m, void *v);
/fs/
Dseq_file.c556 static void *single_next(struct seq_file *p, void *v, loff_t *pos) in single_next() argument
562 static void single_stop(struct seq_file *p, void *v) in single_stop() argument
743 unsigned long long v, unsigned int width) in seq_put_hex_ll() argument
756 if (v == 0) in seq_put_hex_ll()
759 len = (sizeof(v) * 8 - __builtin_clzll(v) + 3) / 4; in seq_put_hex_ll()
770 m->buf[m->count + i] = hex_asc[0xf & v]; in seq_put_hex_ll()
771 v = v >> 4; in seq_put_hex_ll()
917 struct list_head *seq_list_next(void *v, struct list_head *head, loff_t *ppos) in seq_list_next() argument
921 lh = ((struct list_head *)v)->next; in seq_list_next()
970 struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head, in seq_hlist_next() argument
[all …]
/fs/proc/
Dconsoles.c15 static int show_console_dev(struct seq_file *m, void *v) in show_console_dev() argument
29 struct console *con = v; in show_console_dev()
74 static void *c_next(struct seq_file *m, void *v, loff_t *pos) in c_next() argument
76 struct console *con = v; in c_next()
81 static void c_stop(struct seq_file *m, void *v) in c_stop() argument
Ddevices.c7 static int devinfo_show(struct seq_file *f, void *v) in devinfo_show() argument
9 int i = *(loff_t *) v; in devinfo_show()
34 static void *devinfo_next(struct seq_file *f, void *v, loff_t *pos) in devinfo_next() argument
42 static void devinfo_stop(struct seq_file *f, void *v) in devinfo_stop() argument
Dproc_tty.c69 static int show_tty_driver(struct seq_file *m, void *v) in show_tty_driver() argument
71 struct tty_driver *p = list_entry(v, struct tty_driver, tty_drivers); in show_tty_driver()
112 static void *t_next(struct seq_file *m, void *v, loff_t *pos) in t_next() argument
114 return seq_list_next(v, &tty_drivers, pos); in t_next()
117 static void t_stop(struct seq_file *m, void *v) in t_stop() argument
Dnommu.c94 static void nommu_region_list_stop(struct seq_file *m, void *v) in nommu_region_list_stop() argument
99 static void *nommu_region_list_next(struct seq_file *m, void *v, loff_t *pos) in nommu_region_list_next() argument
102 return rb_next((struct rb_node *) v); in nommu_region_list_next()
/fs/ntfs/
Dsuper.c89 char *p, *v, *ov; in parse_options() local
102 if (!v || !*v) \ in parse_options()
105 variable = simple_strtoul(ov = v, &v, 0); \ in parse_options()
106 if (*v) \ in parse_options()
112 if (!v || !*v) \ in parse_options()
114 variable = simple_strtoul(ov = v, &v, 0); \ in parse_options()
115 if (*v) \ in parse_options()
121 if (!v || !*v) \ in parse_options()
123 uid_value = simple_strtoul(ov = v, &v, 0); \ in parse_options()
124 if (*v) \ in parse_options()
[all …]
/fs/nfs/
Dclient.c1095 static void *nfs_server_list_next(struct seq_file *p, void *v, loff_t *pos);
1096 static void nfs_server_list_stop(struct seq_file *p, void *v);
1097 static int nfs_server_list_show(struct seq_file *m, void *v);
1107 static void *nfs_volume_list_next(struct seq_file *p, void *v, loff_t *pos);
1108 static void nfs_volume_list_stop(struct seq_file *p, void *v);
1109 static int nfs_volume_list_show(struct seq_file *m, void *v);
1134 static void *nfs_server_list_next(struct seq_file *p, void *v, loff_t *pos) in nfs_server_list_next() argument
1138 return seq_list_next(v, &nn->nfs_client_list, pos); in nfs_server_list_next()
1144 static void nfs_server_list_stop(struct seq_file *p, void *v) in nfs_server_list_stop() argument
1155 static int nfs_server_list_show(struct seq_file *m, void *v) in nfs_server_list_show() argument
[all …]
/fs/nls/
Dnls_base.c191 unsigned long u, v; in utf16s_to_utf8s() local
208 v = get_utf16(*pwcs, endian); in utf16s_to_utf8s()
209 if ((v & SURROGATE_MASK) != SURROGATE_PAIR || in utf16s_to_utf8s()
210 !(v & SURROGATE_LOW)) { in utf16s_to_utf8s()
215 + (v & SURROGATE_BITS); in utf16s_to_utf8s()
/fs/pstore/
Dinode.c80 static void pstore_ftrace_seq_stop(struct seq_file *s, void *v) in pstore_ftrace_seq_stop() argument
82 kfree(v); in pstore_ftrace_seq_stop()
85 static void *pstore_ftrace_seq_next(struct seq_file *s, void *v, loff_t *pos) in pstore_ftrace_seq_next() argument
88 struct pstore_ftrace_seq_data *data = v; in pstore_ftrace_seq_next()
98 static int pstore_ftrace_seq_show(struct seq_file *s, void *v) in pstore_ftrace_seq_show() argument
101 struct pstore_ftrace_seq_data *data = v; in pstore_ftrace_seq_show()
/fs/ocfs2/cluster/
Dnetdebug.c96 static void *nst_seq_next(struct seq_file *seq, void *v, loff_t *pos) in nst_seq_next() argument
111 static int nst_seq_show(struct seq_file *seq, void *v) in nst_seq_show() argument
155 static void nst_seq_stop(struct seq_file *seq, void *v) in nst_seq_stop() argument
248 static void *sc_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sc_seq_next() argument
349 static int sc_seq_show(struct seq_file *seq, void *v) in sc_seq_show() argument
369 static void sc_seq_stop(struct seq_file *seq, void *v) in sc_seq_stop() argument
/fs/kernfs/
Dfile.c92 static void kernfs_seq_stop_active(struct seq_file *sf, void *v) in kernfs_seq_stop_active() argument
98 ops->seq_stop(sf, v); in kernfs_seq_stop_active()
131 static void *kernfs_seq_next(struct seq_file *sf, void *v, loff_t *ppos) in kernfs_seq_next() argument
137 void *next = ops->seq_next(sf, v, ppos); in kernfs_seq_next()
152 static void kernfs_seq_stop(struct seq_file *sf, void *v) in kernfs_seq_stop() argument
156 if (v != ERR_PTR(-ENODEV)) in kernfs_seq_stop()
157 kernfs_seq_stop_active(sf, v); in kernfs_seq_stop()
161 static int kernfs_seq_show(struct seq_file *sf, void *v) in kernfs_seq_show() argument
167 return of->kn->attr.ops->seq_show(sf, v); in kernfs_seq_show()

12345