Home
last modified time | relevance | path

Searched refs:sm (Results 1 – 4 of 4) sorted by relevance

/fs/ocfs2/
Dslot_map.c110 struct ocfs2_slot_map *sm; in ocfs2_update_slot_info_old() local
112 sm = (struct ocfs2_slot_map *)si->si_bh[0]->b_data; in ocfs2_update_slot_info_old()
115 if (le16_to_cpu(sm->sm_slots[i]) == (u16)OCFS2_INVALID_SLOT) in ocfs2_update_slot_info_old()
118 ocfs2_set_slot(si, i, le16_to_cpu(sm->sm_slots[i])); in ocfs2_update_slot_info_old()
188 struct ocfs2_slot_map *sm; in ocfs2_update_disk_slot_old() local
190 sm = (struct ocfs2_slot_map *)si->si_bh[0]->b_data; in ocfs2_update_disk_slot_old()
193 sm->sm_slots[i] = in ocfs2_update_disk_slot_old()
196 sm->sm_slots[i] = cpu_to_le16(OCFS2_INVALID_SLOT); in ocfs2_update_disk_slot_old()
/fs/gfs2/
Dbmap.c716 unsigned int height, struct strip_mine *sm) in do_strip() argument
734 sm->sm_first = 0; in do_strip()
736 if (height != sm->sm_height) in do_strip()
739 if (sm->sm_first) { in do_strip()
741 sm->sm_first = 0; in do_strip()
867 u64 block, int first, struct strip_mine *sm) in recursive_scan() argument
895 error = do_strip(ip, dibh, bh, top, bottom, height, sm); in recursive_scan()
910 first, sm); in recursive_scan()
1056 struct strip_mine sm; in trunc_dealloc() local
1057 sm.sm_first = !!size; in trunc_dealloc()
[all …]
/fs/jffs2/
Dscan.c483 struct jffs2_sum_marker *sm; in jffs2_scan_eraseblock() local
489 sm = (void *)buf + c->sector_size - sizeof(*sm); in jffs2_scan_eraseblock()
490 if (je32_to_cpu(sm->magic) == JFFS2_SUM_MAGIC) { in jffs2_scan_eraseblock()
491 sumptr = buf + je32_to_cpu(sm->offset); in jffs2_scan_eraseblock()
492 sumlen = c->sector_size - je32_to_cpu(sm->offset); in jffs2_scan_eraseblock()
499 buf_len = sizeof(*sm); in jffs2_scan_eraseblock()
508 sm = (void *)buf + buf_size - sizeof(*sm); in jffs2_scan_eraseblock()
509 if (je32_to_cpu(sm->magic) == JFFS2_SUM_MAGIC) { in jffs2_scan_eraseblock()
510 sumlen = c->sector_size - je32_to_cpu(sm->offset); in jffs2_scan_eraseblock()
Dsummary.c679 struct jffs2_sum_marker *sm; in jffs2_sum_write_data() local
802 sm = wpage; in jffs2_sum_write_data()
803 sm->offset = cpu_to_je32(c->sector_size - jeb->free_size); in jffs2_sum_write_data()
804 sm->magic = cpu_to_je32(JFFS2_SUM_MAGIC); in jffs2_sum_write_data()