/fs/afs/ |
D | proc.c | 25 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/ |
D | xfs_bit.h | 42 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()
|
D | xfs_dir2.c | 203 int v; /* type-checking value */ in xfs_dir_createname() local 225 else if ((rval = xfs_dir2_isblock(tp, dp, &v))) in xfs_dir_createname() 227 else if (v) in xfs_dir_createname() 229 else if ((rval = xfs_dir2_isleaf(tp, dp, &v))) in xfs_dir_createname() 231 else if (v) in xfs_dir_createname() 279 int v; /* type-checking value */ in xfs_dir_lookup() local 297 else if ((rval = xfs_dir2_isblock(tp, dp, &v))) in xfs_dir_lookup() 299 else if (v) in xfs_dir_lookup() 301 else if ((rval = xfs_dir2_isleaf(tp, dp, &v))) in xfs_dir_lookup() 303 else if (v) in xfs_dir_lookup() [all …]
|
D | xfs_bmap_btree.c | 346 xfs_filblks_t v) in xfs_bmbt_set_blockcount() argument 348 ASSERT((v & xfs_mask64hi(43)) == 0); in xfs_bmbt_set_blockcount() 350 (xfs_bmbt_rec_base_t)(v & xfs_mask64lo(21)); in xfs_bmbt_set_blockcount() 359 xfs_fsblock_t v) in xfs_bmbt_set_startblock() argument 362 ASSERT((v & xfs_mask64hi(12)) == 0); in xfs_bmbt_set_startblock() 364 (xfs_bmbt_rec_base_t)(v >> 43); in xfs_bmbt_set_startblock() 366 (xfs_bmbt_rec_base_t)(v << 21); in xfs_bmbt_set_startblock() 368 if (isnullstartblock(v)) { in xfs_bmbt_set_startblock() 371 ((xfs_bmbt_rec_base_t)v << 21) | in xfs_bmbt_set_startblock() 375 r->l1 = ((xfs_bmbt_rec_base_t)v << 21) | in xfs_bmbt_set_startblock() [all …]
|
D | xfs_bmap_btree.h | 220 xfs_fsblock_t b, xfs_filblks_t c, xfs_exntst_t v); 221 extern void xfs_bmbt_set_blockcount(xfs_bmbt_rec_host_t *r, xfs_filblks_t v); 222 extern void xfs_bmbt_set_startblock(xfs_bmbt_rec_host_t *r, xfs_fsblock_t v); 223 extern void xfs_bmbt_set_startoff(xfs_bmbt_rec_host_t *r, xfs_fileoff_t v); 224 extern void xfs_bmbt_set_state(xfs_bmbt_rec_host_t *r, xfs_exntst_t v); 227 xfs_fsblock_t b, xfs_filblks_t c, xfs_exntst_t v);
|
D | xfs_stats.h | 208 #define XFS_STATS_INC(v) (per_cpu(xfsstats, current_cpu()).v++) argument 209 #define XFS_STATS_DEC(v) (per_cpu(xfsstats, current_cpu()).v--) argument 210 #define XFS_STATS_ADD(v, inc) (per_cpu(xfsstats, current_cpu()).v += (inc)) argument
|
D | xfs_trans_space.h | 60 #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))
|
D | xfs_sb.h | 340 static inline unsigned xfs_sb_version_tonew(unsigned v) in xfs_sb_version_tonew() argument 342 if (v == XFS_SB_VERSION_1) in xfs_sb_version_tonew() 345 if (v == XFS_SB_VERSION_2) in xfs_sb_version_tonew() 352 static inline unsigned xfs_sb_version_toold(unsigned v) in xfs_sb_version_toold() argument 354 if (v & (XFS_SB_VERSION_QUOTABIT | XFS_SB_VERSION_ALIGNBIT)) in xfs_sb_version_toold() 356 if (v & XFS_SB_VERSION_NLINKBIT) in xfs_sb_version_toold() 358 if (v & XFS_SB_VERSION_ATTRBIT) in xfs_sb_version_toold()
|
/fs/reiserfs/ |
D | reiserfs.h | 89 #define set_sb_block_count(sbp,v) ((sbp)->s_v1.s_block_count = cpu_to_le32(v)) argument 91 #define set_sb_free_blocks(sbp,v) ((sbp)->s_v1.s_free_blocks = cpu_to_le32(v)) argument 93 #define set_sb_root_block(sbp,v) ((sbp)->s_v1.s_root_block = cpu_to_le32(v)) argument 97 #define set_sb_jp_journal_1st_block(sbp,v) \ argument 98 ((sbp)->s_v1.s_journal.jp_journal_1st_block = cpu_to_le32(v)) 101 #define set_sb_jp_journal_dev(sbp,v) \ argument 102 ((sbp)->s_v1.s_journal.jp_journal_dev = cpu_to_le32(v)) 105 #define set_sb_jp_journal_size(sbp,v) \ argument 106 ((sbp)->s_v1.s_journal.jp_journal_size = cpu_to_le32(v)) 109 #define set_sb_jp_journal_trans_max(sbp,v) \ argument [all …]
|
D | procfs.c | 413 static void *r_next(struct seq_file *m, void *v, loff_t * pos) in r_next() argument 416 if (v) in r_next() 417 deactivate_super(v); in r_next() 421 static void r_stop(struct seq_file *m, void *v) in r_stop() argument 423 if (v) in r_stop() 424 deactivate_super(v); in r_stop() 427 static int r_show(struct seq_file *m, void *v) in r_show() argument 431 return show(m, v); in r_show()
|
/fs/adfs/ |
D | map.c | 90 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); in lookup_zone() local 91 while (v == 0) { in lookup_zone() 95 v = le32_to_cpu(_map[mapptr >> 5]); in lookup_zone() 98 mapptr += 1 + ffz(~v); in lookup_zone() 168 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); in scan_free_map() local 169 while (v == 0) { in scan_free_map() 173 v = le32_to_cpu(_map[mapptr >> 5]); in scan_free_map() 176 mapptr += 1 + ffz(~v); in scan_free_map()
|
/fs/nfsd/ |
D | nfsxdr.c | 249 int v,pn; in nfssvc_decode_readargs() local 263 v=0; in nfssvc_decode_readargs() 266 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_respages[pn]); in nfssvc_decode_readargs() 267 rqstp->rq_vec[v].iov_len = len < PAGE_SIZE?len:PAGE_SIZE; in nfssvc_decode_readargs() 268 len -= rqstp->rq_vec[v].iov_len; in nfssvc_decode_readargs() 269 v++; in nfssvc_decode_readargs() 271 args->vlen = v; in nfssvc_decode_readargs() 280 int v; in nfssvc_decode_writeargs() local 316 v = 0; in nfssvc_decode_writeargs() 317 while (len > rqstp->rq_vec[v].iov_len) { in nfssvc_decode_writeargs() [all …]
|
D | nfs3xdr.c | 326 int v,pn; in nfs3svc_decode_readargs() local 339 v=0; in nfs3svc_decode_readargs() 342 rqstp->rq_vec[v].iov_base = page_address(rqstp->rq_respages[pn]); in nfs3svc_decode_readargs() 343 rqstp->rq_vec[v].iov_len = len < PAGE_SIZE? len : PAGE_SIZE; in nfs3svc_decode_readargs() 344 len -= rqstp->rq_vec[v].iov_len; in nfs3svc_decode_readargs() 345 v++; in nfs3svc_decode_readargs() 347 args->vlen = v; in nfs3svc_decode_readargs() 355 unsigned int len, v, hdr, dlen; in nfs3svc_decode_writeargs() local 395 v = 0; in nfs3svc_decode_writeargs() 396 while (len > rqstp->rq_vec[v].iov_len) { in nfs3svc_decode_writeargs() [all …]
|
/fs/fscache/ |
D | histogram.c | 27 static int fscache_histogram_show(struct seq_file *m, void *v) in fscache_histogram_show() argument 32 switch ((unsigned long) v) { in fscache_histogram_show() 42 index = (unsigned long) v - 3; in fscache_histogram_show() 74 static void *fscache_histogram_next(struct seq_file *m, void *v, loff_t *pos) in fscache_histogram_next() argument 84 static void fscache_histogram_stop(struct seq_file *m, void *v) in fscache_histogram_stop() argument
|
D | object-list.c | 147 static void *fscache_objlist_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_objlist_next() argument 156 static void fscache_objlist_stop(struct seq_file *m, void *v) in fscache_objlist_stop() argument 165 static int fscache_objlist_show(struct seq_file *m, void *v) in fscache_objlist_show() argument 168 struct fscache_object *obj = v; in fscache_objlist_show() 175 if ((unsigned long) v == 1) { in fscache_objlist_show() 194 if ((unsigned long) v == 2) { in fscache_objlist_show()
|
/fs/cachefiles/ |
D | proc.c | 24 static int cachefiles_histogram_show(struct seq_file *m, void *v) in cachefiles_histogram_show() argument 29 switch ((unsigned long) v) { in cachefiles_histogram_show() 37 index = (unsigned long) v - 3; in cachefiles_histogram_show() 66 static void *cachefiles_histogram_next(struct seq_file *m, void *v, loff_t *pos) in cachefiles_histogram_next() argument 76 static void cachefiles_histogram_stop(struct seq_file *m, void *v) in cachefiles_histogram_stop() argument
|
/fs/proc/ |
D | consoles.c | 16 static int show_console_dev(struct seq_file *m, void *v) in show_console_dev() argument 30 struct console *con = v; in show_console_dev() 78 static void *c_next(struct seq_file *m, void *v, loff_t *pos) in c_next() argument 80 struct console *con = v; in c_next() 85 static void c_stop(struct seq_file *m, void *v) in c_stop() argument
|
D | devices.c | 6 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
|
D | task_mmu.c | 219 static void *m_next(struct seq_file *m, void *v, loff_t *pos) in m_next() argument 222 struct vm_area_struct *vma = v; in m_next() 232 static void m_stop(struct seq_file *m, void *v) in m_stop() argument 235 struct vm_area_struct *vma = v; in m_stop() 359 static int show_map(struct seq_file *m, void *v, int is_pid) in show_map() argument 361 struct vm_area_struct *vma = v; in show_map() 373 static int show_pid_map(struct seq_file *m, void *v) in show_pid_map() argument 375 return show_map(m, v, 1); in show_pid_map() 378 static int show_tid_map(struct seq_file *m, void *v) in show_tid_map() argument 380 return show_map(m, v, 0); in show_tid_map() [all …]
|
D | proc_tty.c | 67 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
|
/fs/ncpfs/ |
D | getopt.c | 54 char* v; in ncp_getopt() local 56 *value = simple_strtoul(val, &v, 0); in ncp_getopt() 57 if (!*v) { in ncp_getopt()
|
/fs/ntfs/ |
D | super.c | 102 char *p, *v, *ov; in parse_options() local 115 if (!v || !*v) \ in parse_options() 118 variable = simple_strtoul(ov = v, &v, 0); \ in parse_options() 119 if (*v) \ in parse_options() 125 if (!v || !*v) \ in parse_options() 127 variable = simple_strtoul(ov = v, &v, 0); \ in parse_options() 128 if (*v) \ in parse_options() 133 if (!v || !*v) \ in parse_options() 135 variable = simple_strtoul(ov = v, &v, 8); \ in parse_options() 136 if (*v) \ in parse_options() [all …]
|
/fs/sysfs/ |
D | dir.c | 151 int v, t; in sysfs_get_active() local 153 v = atomic_read(&sd->s_active); in sysfs_get_active() 154 if (unlikely(v < 0)) in sysfs_get_active() 157 t = atomic_cmpxchg(&sd->s_active, v, v + 1); in sysfs_get_active() 158 if (likely(t == v)) { in sysfs_get_active() 178 int v; in sysfs_put_active() local 184 v = atomic_dec_return(&sd->s_active); in sysfs_put_active() 185 if (likely(v != SD_DEACTIVATED_BIAS)) in sysfs_put_active() 203 int v; in sysfs_deactivate() local 216 v = atomic_add_return(SD_DEACTIVATED_BIAS, &sd->s_active); in sysfs_deactivate() [all …]
|
/fs/ |
D | seq_file.c | 557 static void *single_next(struct seq_file *p, void *v, loff_t *pos) in single_next() argument 563 static void single_stop(struct seq_file *p, void *v) in single_stop() argument 756 struct list_head *seq_list_next(void *v, struct list_head *head, loff_t *ppos) in seq_list_next() argument 760 lh = ((struct list_head *)v)->next; in seq_list_next() 809 struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head, in seq_hlist_next() argument 812 struct hlist_node *node = v; in seq_hlist_next() 815 if (v == SEQ_START_TOKEN) in seq_hlist_next() 879 struct hlist_node *seq_hlist_next_rcu(void *v, in seq_hlist_next_rcu() argument 883 struct hlist_node *node = v; in seq_hlist_next_rcu() 886 if (v == SEQ_START_TOKEN) in seq_hlist_next_rcu()
|
/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()
|