Home
last modified time | relevance | path

Searched refs:segnum (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/fs/nilfs2/
H A Dsufile.c83 __u64 segnum, in nilfs_sufile_segment_usage_offset() argument
114 __u64 segnum) in nilfs_sufile_delete_segment_usage_block() argument
331 segnum = last_alloc + 1; in nilfs_sufile_alloc()
332 if (segnum < sui->allocmin || segnum > sui->allocmax) in nilfs_sufile_alloc()
333 segnum = sui->allocmin; in nilfs_sufile_alloc()
350 segnum = 0; in nilfs_sufile_alloc()
386 *segnump = segnum; in nilfs_sufile_alloc()
696 __u64 segnum; in nilfs_sufile_truncate_range() local
715 for (segnum = start; segnum <= end; segnum += n) { in nilfs_sufile_truncate_range()
719 end - segnum + 1); in nilfs_sufile_truncate_range()
[all …]
H A Dsufile.h27 int nilfs_sufile_mark_dirty(struct inode *sufile, __u64 segnum);
28 int nilfs_sufile_set_segment_usage(struct inode *sufile, __u64 segnum,
64 static inline int nilfs_sufile_scrap(struct inode *sufile, __u64 segnum) in nilfs_sufile_scrap() argument
66 return nilfs_sufile_update(sufile, segnum, 1, nilfs_sufile_do_scrap); in nilfs_sufile_scrap()
76 static inline int nilfs_sufile_free(struct inode *sufile, __u64 segnum) in nilfs_sufile_free() argument
78 return nilfs_sufile_update(sufile, segnum, 0, nilfs_sufile_do_free); in nilfs_sufile_free()
128 static inline int nilfs_sufile_set_error(struct inode *sufile, __u64 segnum) in nilfs_sufile_set_error() argument
130 return nilfs_sufile_update(sufile, segnum, 0, in nilfs_sufile_set_error()
H A Drecovery.c412 __u64 segnum; member
422 ent->segnum = segnum; in nilfs_segment_list_add()
446 __u64 segnum[4]; in nilfs_prepare_segment_for_recovery() local
452 segnum[2] = ri->ri_segnum; in nilfs_prepare_segment_for_recovery()
453 segnum[3] = ri->ri_nextnum; in nilfs_prepare_segment_for_recovery()
483 if (ent->segnum != segnum[0]) { in nilfs_prepare_segment_for_recovery()
617 __u64 segnum, nextnum = 0; in nilfs_do_roll_forward() local
704 segnum = nextnum; in nilfs_do_roll_forward()
875 __u64 segnum, nextnum = 0; in nilfs_search_super_root() local
918 ri->ri_segnum = segnum; in nilfs_search_super_root()
[all …]
H A Dthe_nilfs.h300 nilfs_get_segment_range(struct the_nilfs *nilfs, __u64 segnum, in nilfs_get_segment_range() argument
303 *seg_start = (sector_t)nilfs->ns_blocks_per_segment * segnum; in nilfs_get_segment_range()
305 if (segnum == 0) in nilfs_get_segment_range()
310 nilfs_get_segment_start_blocknr(struct the_nilfs *nilfs, __u64 segnum) in nilfs_get_segment_start_blocknr() argument
312 return (segnum == 0) ? nilfs->ns_first_data_block : in nilfs_get_segment_start_blocknr()
313 (sector_t)nilfs->ns_blocks_per_segment * segnum; in nilfs_get_segment_start_blocknr()
319 sector_t segnum = blocknr; in nilfs_get_segnum_of_block() local
321 sector_div(segnum, nilfs->ns_blocks_per_segment); in nilfs_get_segnum_of_block()
322 return segnum; in nilfs_get_segnum_of_block()
H A Dsegbuf.c60 void nilfs_segbuf_map(struct nilfs_segment_buffer *segbuf, __u64 segnum, in nilfs_segbuf_map() argument
63 segbuf->sb_segnum = segnum; in nilfs_segbuf_map()
64 nilfs_get_segment_range(nilfs, segnum, &segbuf->sb_fseg_start, in nilfs_segbuf_map()
H A Dsysfs.c506 __u64 segnum; in nilfs_segctor_current_last_full_seg_show() local
509 segnum = nilfs->ns_segnum; in nilfs_segctor_current_last_full_seg_show()
512 return sysfs_emit(buf, "%llu\n", segnum); in nilfs_segctor_current_last_full_seg_show()
/linux-6.15/include/trace/events/
H A Dnilfs2.h101 __u64 segnum,
108 __field(__u64, segnum)
114 __entry->segnum = segnum;
120 __entry->segnum,
126 __u64 segnum),
132 __field(__u64, segnum)
137 __entry->segnum = segnum;
142 __entry->segnum)
147 __u64 segnum),
158 __entry->segnum = segnum;
[all …]
/linux-6.15/drivers/net/arcnet/
H A Drfc1201.c497 out->segnum = 0; in prepare_tx()
522 out->segnum, out->numsegs, soft->sequence); in continue_tx()
528 if (!out->segnum) /* first packet; newsoft == soft */ in continue_tx()
531 newsoft->split_flag = out->segnum << 1; in continue_tx()
543 out->segnum++; in continue_tx()
544 if (out->segnum >= out->numsegs) in continue_tx()
H A Darcdevice.h234 segnum, /* segment being sent */ member