/fs/logfs/ |
D | super.c | 57 struct logfs_segment_entry se; in dump_segfile() local 61 logfs_get_segment_entry(sb, segno, &se); in dump_segfile() 62 printk("%3x: %6x %8x", segno, be32_to_cpu(se.ec_level), in dump_segfile() 63 be32_to_cpu(se.valid)); in dump_segfile() 65 logfs_get_segment_entry(sb, segno, &se); in dump_segfile() 66 printk(" %6x %8x", be32_to_cpu(se.ec_level), in dump_segfile() 67 be32_to_cpu(se.valid)); in dump_segfile() 70 logfs_get_segment_entry(sb, segno, &se); in dump_segfile() 71 printk(" %6x %8x", be32_to_cpu(se.ec_level), in dump_segfile() 72 be32_to_cpu(se.valid)); in dump_segfile() [all …]
|
D | gc.c | 99 struct logfs_segment_entry se; in logfs_valid_bytes() local 102 logfs_get_segment_entry(sb, segno, &se); in logfs_valid_bytes() 103 if (se.ec_level == cpu_to_be32(BADSEG) || in logfs_valid_bytes() 104 se.valid == cpu_to_be32(RESERVED)) in logfs_valid_bytes() 107 ec_level = be32_to_cpu(se.ec_level); in logfs_valid_bytes() 110 return be32_to_cpu(se.valid); in logfs_valid_bytes() 601 struct logfs_segment_entry se; in logfs_journal_wl_pass() local 605 logfs_get_segment_entry(sb, segno, &se); in logfs_journal_wl_pass() 606 ec = be32_to_cpu(se.ec_level) >> 4; in logfs_journal_wl_pass()
|
D | readwrite.c | 2035 struct logfs_segment_entry *se; in logfs_mod_segment_entry() local 2050 se = kmap_atomic(page); in logfs_mod_segment_entry() 2051 change_se(se + child_no, arg); in logfs_mod_segment_entry() 2054 BUG_ON((int)be32_to_cpu(se[child_no].valid) > super->s_segsize); in logfs_mod_segment_entry() 2056 kunmap_atomic(se); in logfs_mod_segment_entry() 2061 static void __get_segment_entry(struct logfs_segment_entry *se, long _target) in __get_segment_entry() argument 2065 *target = *se; in __get_segment_entry() 2069 struct logfs_segment_entry *se) in logfs_get_segment_entry() argument 2071 logfs_mod_segment_entry(sb, segno, 0, __get_segment_entry, (long)se); in logfs_get_segment_entry() 2074 static void __set_segment_used(struct logfs_segment_entry *se, long increment) in __set_segment_used() argument [all …]
|
D | segment.c | 814 struct logfs_segment_entry se; in ostore_get_erase_count() local 817 logfs_get_segment_entry(area->a_sb, area->a_segno, &se); in ostore_get_erase_count() 818 BUG_ON(se.ec_level == cpu_to_be32(BADSEG) || in ostore_get_erase_count() 819 se.valid == cpu_to_be32(RESERVED)); in ostore_get_erase_count() 821 ec_level = be32_to_cpu(se.ec_level); in ostore_get_erase_count()
|
D | logfs.h | 566 struct logfs_segment_entry *se);
|
/fs/f2fs/ |
D | segment.h | 336 static inline void seg_info_from_raw_sit(struct seg_entry *se, in seg_info_from_raw_sit() argument 339 se->valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit() 340 se->ckpt_valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit() 341 memcpy(se->cur_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit() 342 memcpy(se->ckpt_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit() 344 memcpy(se->cur_valid_map_mir, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit() 346 se->type = GET_SIT_TYPE(rs); in seg_info_from_raw_sit() 347 se->mtime = le64_to_cpu(rs->mtime); in seg_info_from_raw_sit() 350 static inline void seg_info_to_raw_sit(struct seg_entry *se, in seg_info_to_raw_sit() argument 353 unsigned short raw_vblocks = (se->type << SIT_VBLOCKS_SHIFT) | in seg_info_to_raw_sit() [all …]
|
D | segment.c | 1567 struct seg_entry *se; in f2fs_issue_discard() local 1590 se = get_seg_entry(sbi, GET_SEGNO(sbi, i)); in f2fs_issue_discard() 1593 if (!f2fs_test_and_set_bit(offset, se->discard_map)) in f2fs_issue_discard() 1607 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); in add_discard_addrs() local 1608 unsigned long *cur_map = (unsigned long *)se->cur_valid_map; in add_discard_addrs() 1609 unsigned long *ckpt_map = (unsigned long *)se->ckpt_valid_map; in add_discard_addrs() 1610 unsigned long *discard_map = (unsigned long *)se->discard_map; in add_discard_addrs() 1618 if (se->valid_blocks == max_blocks || !f2fs_discard_en(sbi)) in add_discard_addrs() 1622 if (!test_opt(sbi, DISCARD) || !se->valid_blocks || in add_discard_addrs() 1883 struct seg_entry *se = get_seg_entry(sbi, segno); in __set_sit_entry_type() local [all …]
|
D | sysfs.c | 417 struct seg_entry *se = get_seg_entry(sbi, i); in segment_info_seq_show() local 421 seq_printf(seq, "%d|%-3u", se->type, in segment_info_seq_show() 444 struct seg_entry *se = get_seg_entry(sbi, i); in segment_bits_seq_show() local 447 seq_printf(seq, "%d|%-3u|", se->type, in segment_bits_seq_show() 450 seq_printf(seq, " %.2x", se->cur_valid_map[j]); in segment_bits_seq_show()
|
D | f2fs.h | 390 #define sit_in_journal(jnl, i) ((jnl)->sit_j.entries[i].se)
|
/fs/ocfs2/ |
D | slot_map.c | 85 struct ocfs2_slot_map_extended *se; in ocfs2_update_slot_info_extended() local 89 se = (struct ocfs2_slot_map_extended *)si->si_bh[b]->b_data; in ocfs2_update_slot_info_extended() 94 if (se->se_slots[i].es_valid) in ocfs2_update_slot_info_extended() 96 le32_to_cpu(se->se_slots[i].es_node_num)); in ocfs2_update_slot_info_extended() 171 struct ocfs2_slot_map_extended *se; in ocfs2_update_disk_slot_extended() local 175 se = (struct ocfs2_slot_map_extended *)si->si_bh[blkind]->b_data; in ocfs2_update_disk_slot_extended() 176 se->se_slots[slotno].es_valid = si->si_slots[slot_num].sl_valid; in ocfs2_update_disk_slot_extended() 178 se->se_slots[slotno].es_node_num = in ocfs2_update_disk_slot_extended()
|
/fs/hpfs/ |
D | anode.c | 66 secno se; in hpfs_add_sector_to_btree() local 104 …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() 108 return se; in hpfs_add_sector_to_btree() 116 se = !fnod ? node : (node + 16384) & ~16383; in hpfs_add_sector_to_btree() 118 …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() 127 hpfs_free_sectors(s, se, 1); in hpfs_add_sector_to_btree() 147 hpfs_free_sectors(s, se, 1); in hpfs_add_sector_to_btree() 157 btree->u.external[n].disk_secno = cpu_to_le32(se); in hpfs_add_sector_to_btree() 162 if ((a == node && fnod) || na == -1) return se; in hpfs_add_sector_to_btree() 194 return se; in hpfs_add_sector_to_btree() [all …]
|
/fs/nfsd/ |
D | nfs4state.c | 2016 gen_callback(struct nfs4_client *clp, struct nfsd4_setclientid *se, struct svc_rqst *rqstp) in gen_callback() argument 2024 if (se->se_callback_netid_len == 3 && in gen_callback() 2025 !memcmp(se->se_callback_netid_val, "tcp", 3)) in gen_callback() 2027 else if (se->se_callback_netid_len == 4 && in gen_callback() 2028 !memcmp(se->se_callback_netid_val, "tcp6", 4)) in gen_callback() 2033 conn->cb_addrlen = rpc_uaddr2sockaddr(clp->net, se->se_callback_addr_val, in gen_callback() 2034 se->se_callback_addr_len, in gen_callback() 2044 conn->cb_prog = se->se_callback_prog; in gen_callback() 2045 conn->cb_ident = se->se_callback_ident; in gen_callback()
|
/fs/proc/ |
D | base.c | 313 (unsigned long long)task->se.sum_exec_runtime, in proc_pid_schedstat()
|