/linux/fs/nilfs2/ |
A D | sufile.c | 98 __u64 segnum) in nilfs_sufile_delete_segment_usage_block() argument 325 segnum = last_alloc + 1; in nilfs_sufile_alloc() 326 if (segnum < sui->allocmin || segnum > sui->allocmax) in nilfs_sufile_alloc() 327 segnum = sui->allocmin; in nilfs_sufile_alloc() 330 if (segnum > maxsegnum) { in nilfs_sufile_alloc() 344 segnum = 0; in nilfs_sufile_alloc() 380 *segnump = segnum; in nilfs_sufile_alloc() 647 __u64 segnum; in nilfs_sufile_truncate_range() local 666 for (segnum = start; segnum <= end; segnum += n) { in nilfs_sufile_truncate_range() 670 end - segnum + 1); in nilfs_sufile_truncate_range() [all …]
|
A D | recovery.c | 388 __u64 segnum; member 398 ent->segnum = segnum; in nilfs_segment_list_add() 422 __u64 segnum[4]; in nilfs_prepare_segment_for_recovery() local 428 segnum[2] = ri->ri_segnum; in nilfs_prepare_segment_for_recovery() 429 segnum[3] = ri->ri_nextnum; in nilfs_prepare_segment_for_recovery() 450 if (ent->segnum != segnum[0]) { in nilfs_prepare_segment_for_recovery() 579 __u64 segnum, nextnum = 0; in nilfs_do_roll_forward() local 666 segnum = nextnum; in nilfs_do_roll_forward() 808 __u64 segnum, nextnum = 0; in nilfs_search_super_root() local 851 ri->ri_segnum = segnum; in nilfs_search_super_root() [all …]
|
A D | sufile.h | 27 int nilfs_sufile_mark_dirty(struct inode *sufile, __u64 segnum); 28 int nilfs_sufile_set_segment_usage(struct inode *sufile, __u64 segnum, 62 static inline int nilfs_sufile_scrap(struct inode *sufile, __u64 segnum) in nilfs_sufile_scrap() argument 64 return nilfs_sufile_update(sufile, segnum, 1, nilfs_sufile_do_scrap); in nilfs_sufile_scrap() 72 static inline int nilfs_sufile_free(struct inode *sufile, __u64 segnum) in nilfs_sufile_free() argument 74 return nilfs_sufile_update(sufile, segnum, 0, nilfs_sufile_do_free); in nilfs_sufile_free() 126 static inline int nilfs_sufile_set_error(struct inode *sufile, __u64 segnum) in nilfs_sufile_set_error() argument 128 return nilfs_sufile_update(sufile, segnum, 0, in nilfs_sufile_set_error()
|
A D | the_nilfs.h | 308 nilfs_get_segment_range(struct the_nilfs *nilfs, __u64 segnum, in nilfs_get_segment_range() argument 311 *seg_start = (sector_t)nilfs->ns_blocks_per_segment * segnum; in nilfs_get_segment_range() 313 if (segnum == 0) in nilfs_get_segment_range() 318 nilfs_get_segment_start_blocknr(struct the_nilfs *nilfs, __u64 segnum) in nilfs_get_segment_start_blocknr() argument 320 return (segnum == 0) ? nilfs->ns_first_data_block : in nilfs_get_segment_start_blocknr() 321 (sector_t)nilfs->ns_blocks_per_segment * segnum; in nilfs_get_segment_start_blocknr() 327 sector_t segnum = blocknr; in nilfs_get_segnum_of_block() local 329 sector_div(segnum, nilfs->ns_blocks_per_segment); in nilfs_get_segnum_of_block() 330 return segnum; in nilfs_get_segnum_of_block()
|
A D | segbuf.c | 60 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()
|
A D | sysfs.c | 502 __u64 segnum; in nilfs_segctor_current_last_full_seg_show() local 505 segnum = nilfs->ns_segnum; in nilfs_segctor_current_last_full_seg_show() 508 return sysfs_emit(buf, "%llu\n", segnum); in nilfs_segctor_current_last_full_seg_show()
|
/linux/include/trace/events/ |
A D | nilfs2.h | 101 __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/net/decnet/ |
A D | dn_nsp_in.c | 507 unsigned short segnum; in dn_nsp_linkservice() local 517 segnum = le16_to_cpu(*(__le16 *)ptr); in dn_nsp_linkservice() 530 if (seq_next(scp->numoth_rcv, segnum)) { in dn_nsp_linkservice() 607 unsigned short segnum; in dn_nsp_otherdata() local 614 cb->segnum = segnum = le16_to_cpu(*(__le16 *)skb->data); in dn_nsp_otherdata() 617 if (seq_next(scp->numoth_rcv, segnum)) { in dn_nsp_otherdata() 635 unsigned short segnum; in dn_nsp_data() local 642 cb->segnum = segnum = le16_to_cpu(*(__le16 *)skb->data); in dn_nsp_data() 645 if (seq_next(scp->numdat_rcv, segnum)) { in dn_nsp_data()
|
A D | dn_nsp_out.c | 329 cb->segnum = scp->numoth; in dn_nsp_mk_data_header() 332 cb->segnum = scp->numdat; in dn_nsp_mk_data_header() 335 *(ptr++) = cpu_to_le16(cb->segnum); in dn_nsp_mk_data_header() 379 unsigned short segnum; in dn_nsp_check_xmit_queue() local 384 if (dn_before_or_equal(cb2->segnum, acknum)) in dn_nsp_check_xmit_queue() 401 segnum = cb2->segnum; in dn_nsp_check_xmit_queue() 419 if (dn_equal(segnum, acknum)) in dn_nsp_check_xmit_queue()
|
/linux/drivers/net/arcnet/ |
A D | rfc1201.c | 496 out->segnum = 0; in prepare_tx() 521 out->segnum, out->numsegs, soft->sequence); in continue_tx() 527 if (!out->segnum) /* first packet; newsoft == soft */ in continue_tx() 530 newsoft->split_flag = out->segnum << 1; in continue_tx() 542 out->segnum++; in continue_tx() 543 if (out->segnum >= out->numsegs) in continue_tx()
|
A D | arcdevice.h | 231 segnum, /* segment being sent */ member
|
/linux/include/net/ |
A D | dn_nsp.h | 75 __le16 segnum; member 81 __le16 segnum; member
|
A D | dn.h | 163 __u16 segnum; member
|