/fs/nfs/blocklayout/ |
D | dev.c | 238 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/ |
D | tagptr.h | 19 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; \
|
D | zdata.h | 120 unsigned long *v; member 128 u.v = &page_private(page); in z_erofs_onlinepage_index() 137 unsigned long v; in z_erofs_onlinepage_init() member 141 set_page_private(page, u.v); in z_erofs_onlinepage_init() 149 union z_erofs_onlinepage_converter u = { .v = &page_private(page) }; in z_erofs_onlinepage_fixup() 171 unsigned int v; in z_erofs_onlinepage_endio() local 174 u.v = &page_private(page); in z_erofs_onlinepage_endio() 176 v = atomic_dec_return(u.o); in z_erofs_onlinepage_endio() 177 if (!(v & Z_EROFS_ONLINEPAGE_COUNT_MASK)) { in z_erofs_onlinepage_endio()
|
/fs/xfs/libxfs/ |
D | xfs_bit.h | 30 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()
|
D | xfs_dir2.c | 252 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 …]
|
D | xfs_trans_space.h | 71 #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/ |
D | reiserfs.h | 117 #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/afs/ |
D | proc.c | 34 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/ |
D | xfs_stats.h | 163 #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/fscache/ |
D | histogram.c | 23 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
|
D | object-list.c | 143 static void *fscache_objlist_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_objlist_next() argument 152 static void fscache_objlist_stop(struct seq_file *m, void *v) in fscache_objlist_stop() argument 161 static int fscache_objlist_show(struct seq_file *m, void *v) in fscache_objlist_show() argument 164 struct fscache_object *obj = v; in fscache_objlist_show() 170 if ((unsigned long) v == 1) { in fscache_objlist_show() 189 if ((unsigned long) v == 2) { in fscache_objlist_show()
|
/fs/cachefiles/ |
D | proc.c | 20 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/ |
D | jfs_debug.h | 52 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/ |
D | seq_file.c | 551 static void *single_next(struct seq_file *p, void *v, loff_t *pos) in single_next() argument 557 static void single_stop(struct seq_file *p, void *v) in single_stop() argument 738 unsigned long long v, unsigned int width) in seq_put_hex_ll() argument 751 if (v == 0) in seq_put_hex_ll() 754 len = (sizeof(v) * 8 - __builtin_clzll(v) + 3) / 4; in seq_put_hex_ll() 765 m->buf[m->count + i] = hex_asc[0xf & v]; in seq_put_hex_ll() 766 v = v >> 4; in seq_put_hex_ll() 912 struct list_head *seq_list_next(void *v, struct list_head *head, loff_t *ppos) in seq_list_next() argument 916 lh = ((struct list_head *)v)->next; in seq_list_next() 965 struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head, in seq_hlist_next() argument [all …]
|
/fs/proc/ |
D | consoles.c | 15 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
|
D | devices.c | 8 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
|
D | proc_tty.c | 69 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
|
D | nommu.c | 93 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/ |
D | super.c | 89 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/ |
D | client.c | 1129 static void *nfs_server_list_next(struct seq_file *p, void *v, loff_t *pos); 1130 static void nfs_server_list_stop(struct seq_file *p, void *v); 1131 static int nfs_server_list_show(struct seq_file *m, void *v); 1141 static void *nfs_volume_list_next(struct seq_file *p, void *v, loff_t *pos); 1142 static void nfs_volume_list_stop(struct seq_file *p, void *v); 1143 static int nfs_volume_list_show(struct seq_file *m, void *v); 1168 static void *nfs_server_list_next(struct seq_file *p, void *v, loff_t *pos) in nfs_server_list_next() argument 1172 return seq_list_next(v, &nn->nfs_client_list, pos); in nfs_server_list_next() 1178 static void nfs_server_list_stop(struct seq_file *p, void *v) in nfs_server_list_stop() argument 1189 static int nfs_server_list_show(struct seq_file *m, void *v) in nfs_server_list_show() argument [all …]
|
/fs/nls/ |
D | nls_base.c | 191 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/ |
D | dir_f.c | 44 #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/ocfs2/cluster/ |
D | netdebug.c | 96 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/pstore/ |
D | inode.c | 83 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/kernfs/ |
D | file.c | 93 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()
|