Home
last modified time | relevance | path

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

/fs/f2fs/
Dsegment.h27 #define SE_PAGETYPE(se) ((IS_NODESEG((se)->type) ? NODE : DATA)) argument
381 struct seg_entry *se = get_seg_entry(sbi, start_segno); in get_ckpt_valid_blocks() local
383 blocks += se->ckpt_valid_blocks; in get_ckpt_valid_blocks()
390 static inline void seg_info_from_raw_sit(struct seg_entry *se, in seg_info_from_raw_sit() argument
393 se->valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit()
394 se->ckpt_valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit()
395 memcpy(se->cur_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
396 memcpy(se->ckpt_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
398 memcpy(se->cur_valid_map_mir, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
400 se->type = GET_SIT_TYPE(rs); in seg_info_from_raw_sit()
[all …]
Dsegment.c860 struct seg_entry *se; in f2fs_get_unusable_blocks() local
865 se = get_seg_entry(sbi, segno); in f2fs_get_unusable_blocks()
866 if (IS_NODESEG(se->type)) in f2fs_get_unusable_blocks()
868 se->valid_blocks; in f2fs_get_unusable_blocks()
871 se->valid_blocks; in f2fs_get_unusable_blocks()
1801 struct seg_entry *se; in f2fs_issue_discard() local
1824 se = get_seg_entry(sbi, GET_SEGNO(sbi, i)); in f2fs_issue_discard()
1828 !f2fs_test_and_set_bit(offset, se->discard_map)) in f2fs_issue_discard()
1842 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); in add_discard_addrs() local
1843 unsigned long *cur_map = (unsigned long *)se->cur_valid_map; in add_discard_addrs()
[all …]
Dsysfs.c1179 struct seg_entry *se = get_seg_entry(sbi, i); in segment_info_seq_show() local
1183 seq_printf(seq, "%d|%-3u", se->type, se->valid_blocks); in segment_info_seq_show()
1206 struct seg_entry *se = get_seg_entry(sbi, i); in segment_bits_seq_show() local
1209 seq_printf(seq, "%d|%-3u|", se->type, se->valid_blocks); in segment_bits_seq_show()
1211 seq_printf(seq, " %.2x", se->cur_valid_map[j]); in segment_bits_seq_show()
Dcheckpoint.c143 struct seg_entry *se; in __is_bitmap_valid() local
152 se = get_seg_entry(sbi, segno); in __is_bitmap_valid()
154 exist = f2fs_test_bit(offset, se->cur_valid_map); in __is_bitmap_valid()
Df2fs.h433 #define sit_in_journal(jnl, i) ((jnl)->sit_j.entries[i].se)
/fs/ocfs2/
Dslot_map.c67 struct ocfs2_slot_map_extended *se; in ocfs2_update_slot_info_extended() local
71 se = (struct ocfs2_slot_map_extended *)si->si_bh[b]->b_data; in ocfs2_update_slot_info_extended()
76 if (se->se_slots[i].es_valid) in ocfs2_update_slot_info_extended()
78 le32_to_cpu(se->se_slots[i].es_node_num)); in ocfs2_update_slot_info_extended()
153 struct ocfs2_slot_map_extended *se; in ocfs2_update_disk_slot_extended() local
157 se = (struct ocfs2_slot_map_extended *)si->si_bh[blkind]->b_data; in ocfs2_update_disk_slot_extended()
158 se->se_slots[slotno].es_valid = si->si_slots[slot_num].sl_valid; in ocfs2_update_disk_slot_extended()
160 se->se_slots[slotno].es_node_num = in ocfs2_update_disk_slot_extended()
/fs/hpfs/
Danode.c67 secno se; in hpfs_add_sector_to_btree() local
105 …if (hpfs_alloc_if_possible(s, se = le32_to_cpu(btree->u.external[n].disk_secno) + le32_to_cpu(btre… in hpfs_add_sector_to_btree()
109 return se; in hpfs_add_sector_to_btree()
117 se = !fnod ? node : (node + 16384) & ~16383; in hpfs_add_sector_to_btree()
119 …if (!(se = hpfs_alloc_sector(s, se, 1, fsecno*ALLOC_M>ALLOC_FWD_MAX ? ALLOC_FWD_MAX : fsecno*ALLOC… in hpfs_add_sector_to_btree()
128 hpfs_free_sectors(s, se, 1); in hpfs_add_sector_to_btree()
148 hpfs_free_sectors(s, se, 1); in hpfs_add_sector_to_btree()
158 btree->u.external[n].disk_secno = cpu_to_le32(se); in hpfs_add_sector_to_btree()
163 if ((a == node && fnod) || na == -1) return se; in hpfs_add_sector_to_btree()
195 return se; in hpfs_add_sector_to_btree()
[all …]
/fs/nfsd/
Dnfs4state.c2926 gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_rqst *rqstp) in gen_callback() argument
2934 if (se->se_callback_netid_len == 3 && in gen_callback()
2935 !memcmp(se->se_callback_netid_val, "tcp", 3)) in gen_callback()
2937 else if (se->se_callback_netid_len == 4 && in gen_callback()
2938 !memcmp(se->se_callback_netid_val, "tcp6", 4)) in gen_callback()
2943 conn->cb_addrlen = rpc_uaddr2sockaddr(clp->net, se->se_callback_addr_val, in gen_callback()
2944 se->se_callback_addr_len, in gen_callback()
2954 conn->cb_prog = se->se_callback_prog; in gen_callback()
2955 conn->cb_ident = se->se_callback_ident; in gen_callback()
/fs/proc/
Dbase.c484 (unsigned long long)task->se.sum_exec_runtime, in proc_pid_schedstat()