Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 109) 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/ntfs3/lib/
Ddecompress_common.h41 size_t v; in repeat_byte() local
43 v = b; in repeat_byte()
44 v |= v << 8; in repeat_byte()
45 v |= v << 16; in repeat_byte()
46 v |= v << ((WORDBYTES == 8) ? 32 : 0); in repeat_byte()
47 return v; in repeat_byte()
155 u16 v; in bitstream_read_u16() local
159 v = get_unaligned_le16(is->next); in bitstream_read_u16()
161 return v; in bitstream_read_u16()
168 u32 v; in bitstream_read_u32() local
[all …]
/fs/erofs/
Dtagptr.h17 uintptr_t v; \
47 ((typeof(type)){ .v = (uintptr_t)(val) })
53 #define tagptr_cast_ptr(tptr) ((void *)(tptr).v)
64 ((void *)((tptr).v & ~__tagptr_mask(tptr)))
67 ((tptr).v & __tagptr_mask(tptr))
74 (tptr1).v == (tptr2).v; })
83 tagptr_init(o, cmpxchg(&ptptr->v, o.v, n.v)); })
96 ptptr->v |= tags; \
104 ptptr->v &= ~tags; \
Dzdata.h112 unsigned long *v; member
120 u.v = &page_private(page); in z_erofs_onlinepage_index()
129 unsigned long v; in z_erofs_onlinepage_init() member
133 set_page_private(page, u.v); in z_erofs_onlinepage_init()
141 union z_erofs_onlinepage_converter u = { .v = &page_private(page) }; in z_erofs_onlinepage_fixup()
163 unsigned int v; in z_erofs_onlinepage_endio() local
166 u.v = &page_private(page); in z_erofs_onlinepage_endio()
168 v = atomic_dec_return(u.o); in z_erofs_onlinepage_endio()
169 if (!(v & Z_EROFS_ONLINEPAGE_COUNT_MASK)) { in z_erofs_onlinepage_endio()
/fs/reiserfs/
Dreiserfs.h115 #define set_sb_block_count(sbp,v) ((sbp)->s_v1.s_block_count = cpu_to_le32(v)) argument
117 #define set_sb_free_blocks(sbp,v) ((sbp)->s_v1.s_free_blocks = cpu_to_le32(v)) argument
119 #define set_sb_root_block(sbp,v) ((sbp)->s_v1.s_root_block = cpu_to_le32(v)) argument
123 #define set_sb_jp_journal_1st_block(sbp,v) \ argument
124 ((sbp)->s_v1.s_journal.jp_journal_1st_block = cpu_to_le32(v))
127 #define set_sb_jp_journal_dev(sbp,v) \ argument
128 ((sbp)->s_v1.s_journal.jp_journal_dev = cpu_to_le32(v))
131 #define set_sb_jp_journal_size(sbp,v) \ argument
132 ((sbp)->s_v1.s_journal.jp_journal_size = cpu_to_le32(v))
135 #define set_sb_jp_journal_trans_max(sbp,v) \ argument
[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.c252 int v; /* type-checking value */ in xfs_dir_createname() local
286 rval = xfs_dir2_isblock(args, &v); in xfs_dir_createname()
289 if (v) { in xfs_dir_createname()
294 rval = xfs_dir2_isleaf(args, &v); in xfs_dir_createname()
297 if (v) in xfs_dir_createname()
348 int v; /* type-checking value */ in xfs_dir_lookup() local
381 rval = xfs_dir2_isblock(args, &v); in xfs_dir_lookup()
384 if (v) { in xfs_dir_lookup()
389 rval = xfs_dir2_isleaf(args, &v); in xfs_dir_lookup()
392 if (v) in xfs_dir_lookup()
[all …]
Dxfs_trans_space.h70 #define XFS_ATTRSET_SPACE_RES(mp, v) \ argument
71 (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v))
74 #define XFS_DIOSTRAT_SPACE_RES(mp, v) \ argument
75 (XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK) + (v))
/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()
66 static void *afs_proc_cells_next(struct seq_file *m, void *v, loff_t *pos) in afs_proc_cells_next() argument
68 return seq_hlist_next_rcu(v, &afs_seq2net(m)->proc_cells, pos); in afs_proc_cells_next()
71 static void afs_proc_cells_stop(struct seq_file *m, void *v) in afs_proc_cells_stop() argument
152 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
211 struct afs_volume *vol = hlist_entry(v, struct afs_volume, proc_link); in afs_proc_cell_volumes_show()
214 if (v == SEQ_START_TOKEN) { in afs_proc_cell_volumes_show()
[all …]
/fs/xfs/
Dxfs_stats.h163 #define XFS_STATS_INC(mp, v) \ argument
165 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v++; \
166 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v++; \
169 #define XFS_STATS_DEC(mp, v) \ argument
171 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v--; \
172 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v--; \
175 #define XFS_STATS_ADD(mp, v, inc) \ argument
177 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v += (inc); \
178 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v += (inc); \
/fs/
Dseq_file.c578 static void *single_next(struct seq_file *p, void *v, loff_t *pos) in single_next() argument
584 static void single_stop(struct seq_file *p, void *v) in single_stop() argument
766 unsigned long long v, unsigned int width) in seq_put_hex_ll() argument
779 if (v == 0) in seq_put_hex_ll()
782 len = (sizeof(v) * 8 - __builtin_clzll(v) + 3) / 4; in seq_put_hex_ll()
793 m->buf[m->count + i] = hex_asc[0xf & v]; in seq_put_hex_ll()
794 v = v >> 4; in seq_put_hex_ll()
940 struct list_head *seq_list_next(void *v, struct list_head *head, loff_t *ppos) in seq_list_next() argument
944 lh = ((struct list_head *)v)->next; in seq_list_next()
971 struct list_head *seq_list_next_rcu(void *v, struct list_head *head, in seq_list_next_rcu() argument
[all …]
/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/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.c8 static int devinfo_show(struct seq_file *f, void *v) in devinfo_show() argument
10 int i = *(loff_t *) v; in devinfo_show()
35 static void *devinfo_next(struct seq_file *f, void *v, loff_t *pos) in devinfo_next() argument
43 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.c93 static void nommu_region_list_stop(struct seq_file *m, void *v) in nommu_region_list_stop() argument
98 static void *nommu_region_list_next(struct seq_file *m, void *v, loff_t *pos) in nommu_region_list_next() argument
101 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/ksmbd/
Dserver.h51 int ksmbd_set_netbios_name(char *v);
52 int ksmbd_set_server_string(char *v);
53 int ksmbd_set_work_group(char *v);
/fs/nfs/
Dclient.c1148 static void *nfs_server_list_next(struct seq_file *p, void *v, loff_t *pos);
1149 static void nfs_server_list_stop(struct seq_file *p, void *v);
1150 static int nfs_server_list_show(struct seq_file *m, void *v);
1160 static void *nfs_volume_list_next(struct seq_file *p, void *v, loff_t *pos);
1161 static void nfs_volume_list_stop(struct seq_file *p, void *v);
1162 static int nfs_volume_list_show(struct seq_file *m, void *v);
1187 static void *nfs_server_list_next(struct seq_file *p, void *v, loff_t *pos) in nfs_server_list_next() argument
1191 return seq_list_next(v, &nn->nfs_client_list, pos); in nfs_server_list_next()
1197 static void nfs_server_list_stop(struct seq_file *p, void *v) in nfs_server_list_stop() argument
1208 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/adfs/
Ddir_f.c44 #define ror13(v) ((v >> 13) | (v << 19)) argument
117 __le32 v = *ptr.ptr32++; in adfs_dir_checkbyte() local
118 dircheck = le32_to_cpu(v) ^ ror13(dircheck); in adfs_dir_checkbyte()
/fs/ntfs3/
Drun.c607 static inline void run_pack_s64(u8 *run_buf, u8 size, s64 v) in run_pack_s64() argument
609 const u8 *p = (u8 *)&v; in run_pack_s64()
639 static inline s64 run_unpack_s64(const u8 *run_buf, u8 size, s64 v) in run_unpack_s64() argument
641 u8 *p = (u8 *)&v; in run_unpack_s64()
668 return v; in run_unpack_s64()
702 static inline void run_pack_s64(u8 *run_buf, u8 size, s64 v) in run_pack_s64() argument
704 const u8 *p = (u8 *)&v; in run_pack_s64()
735 static inline s64 run_unpack_s64(const u8 *run_buf, u8 size, s64 v) in run_unpack_s64() argument
737 u8 *p = (u8 *)&v; in run_unpack_s64()
765 return v; in run_unpack_s64()
/fs/pstore/
Dinode.c83 static void pstore_ftrace_seq_stop(struct seq_file *s, void *v) in pstore_ftrace_seq_stop() argument
85 kfree(v); in pstore_ftrace_seq_stop()
88 static void *pstore_ftrace_seq_next(struct seq_file *s, void *v, loff_t *pos) in pstore_ftrace_seq_next() argument
91 struct pstore_ftrace_seq_data *data = v; in pstore_ftrace_seq_next()
101 static int pstore_ftrace_seq_show(struct seq_file *s, void *v) in pstore_ftrace_seq_show() argument
104 struct pstore_ftrace_seq_data *data = v; in pstore_ftrace_seq_show()
/fs/ocfs2/cluster/
Dnetdebug.c94 static void *nst_seq_next(struct seq_file *seq, void *v, loff_t *pos) in nst_seq_next() argument
109 static int nst_seq_show(struct seq_file *seq, void *v) in nst_seq_show() argument
153 static void nst_seq_stop(struct seq_file *seq, void *v) in nst_seq_stop() argument
246 static void *sc_seq_next(struct seq_file *seq, void *v, loff_t *pos) in sc_seq_next() argument
347 static int sc_seq_show(struct seq_file *seq, void *v) in sc_seq_show() argument
367 static void sc_seq_stop(struct seq_file *seq, void *v) in sc_seq_stop() argument
/fs/kernfs/
Dfile.c93 static void kernfs_seq_stop_active(struct seq_file *sf, void *v) in kernfs_seq_stop_active() argument
99 ops->seq_stop(sf, v); in kernfs_seq_stop_active()
132 static void *kernfs_seq_next(struct seq_file *sf, void *v, loff_t *ppos) in kernfs_seq_next() argument
138 void *next = ops->seq_next(sf, v, ppos); in kernfs_seq_next()
153 static void kernfs_seq_stop(struct seq_file *sf, void *v) in kernfs_seq_stop() argument
157 if (v != ERR_PTR(-ENODEV)) in kernfs_seq_stop()
158 kernfs_seq_stop_active(sf, v); in kernfs_seq_stop()
162 static int kernfs_seq_show(struct seq_file *sf, void *v) in kernfs_seq_show() argument
168 return of->kn->attr.ops->seq_show(sf, v); in kernfs_seq_show()

12345