Searched refs:dm (Results 1 – 4 of 4) sorted by relevance
/fs/adfs/ |
D | map.c | 71 lookup_zone(const struct adfs_discmap *dm, const unsigned int idlen, in lookup_zone() argument 74 const unsigned int mapsize = dm->dm_endbit; in lookup_zone() 76 unsigned char *map = dm->dm_bh->b_data + 4; in lookup_zone() 77 unsigned int start = dm->dm_startbit; in lookup_zone() 131 scan_free_map(struct adfs_sb_info *asb, struct adfs_discmap *dm) in scan_free_map() argument 133 const unsigned int mapsize = dm->dm_endbit + 32; in scan_free_map() 137 unsigned char *map = dm->dm_bh->b_data; in scan_free_map() 196 struct adfs_discmap *dm, *dm_end; in scan_map() local 199 dm = asb->s_map + zone; in scan_map() 204 result = lookup_zone(dm, idlen, frag_id, &mapoff); in scan_map() [all …]
|
D | super.c | 97 static int adfs_checkmap(struct super_block *sb, struct adfs_discmap *dm) in adfs_checkmap() argument 105 map = dm[i].dm_bh->b_data; in adfs_checkmap() 303 struct adfs_discmap *dm; in adfs_read_map() local 316 dm = kmalloc(nzones * sizeof(*dm), GFP_KERNEL); in adfs_read_map() 317 if (dm == NULL) { in adfs_read_map() 323 dm[zone].dm_startbit = 0; in adfs_read_map() 324 dm[zone].dm_endbit = zone_size; in adfs_read_map() 325 dm[zone].dm_startblk = zone * zone_size - ADFS_DR_SIZE_BITS; in adfs_read_map() 326 dm[zone].dm_bh = sb_bread(sb, map_addr); in adfs_read_map() 328 if (!dm[zone].dm_bh) { in adfs_read_map() [all …]
|
/fs/quota/ |
D | dquot.c | 2580 struct mem_dqblk *dm = &dquot->dq_dqb; in do_get_dqblk() local 2584 di->d_spc_hardlimit = dm->dqb_bhardlimit; in do_get_dqblk() 2585 di->d_spc_softlimit = dm->dqb_bsoftlimit; in do_get_dqblk() 2586 di->d_ino_hardlimit = dm->dqb_ihardlimit; in do_get_dqblk() 2587 di->d_ino_softlimit = dm->dqb_isoftlimit; in do_get_dqblk() 2588 di->d_space = dm->dqb_curspace + dm->dqb_rsvspace; in do_get_dqblk() 2589 di->d_ino_count = dm->dqb_curinodes; in do_get_dqblk() 2590 di->d_spc_timer = dm->dqb_btime; in do_get_dqblk() 2591 di->d_ino_timer = dm->dqb_itime; in do_get_dqblk() 2639 struct mem_dqblk *dm = &dquot->dq_dqb; in do_set_dqblk() local [all …]
|
/fs/btrfs/ |
D | send.c | 2957 struct waiting_dir_move *dm; in can_rmdir() local 2977 dm = get_waiting_dir_move(sctx, loc.objectid); in can_rmdir() 2978 if (dm) { in can_rmdir() 2987 dm->rmdir_ino = dir; in can_rmdir() 3022 struct waiting_dir_move *entry, *dm; in add_waiting_dir_move() local 3024 dm = kmalloc(sizeof(*dm), GFP_KERNEL); in add_waiting_dir_move() 3025 if (!dm) in add_waiting_dir_move() 3027 dm->ino = ino; in add_waiting_dir_move() 3028 dm->rmdir_ino = 0; in add_waiting_dir_move() 3029 dm->orphanized = orphanized; in add_waiting_dir_move() [all …]
|