Searched refs:newblock (Results 1 - 10 of 10) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_mem.c47 struct mem_block *newblock = kmalloc(sizeof(*newblock), split_block() local
49 if (!newblock) split_block()
51 newblock->start = start; split_block()
52 newblock->size = p->size - (start - p->start); split_block()
53 newblock->file_priv = NULL; split_block()
54 newblock->next = p->next; split_block()
55 newblock->prev = p; split_block()
56 p->next->prev = newblock; split_block()
57 p->next = newblock; split_block()
58 p->size -= newblock->size; split_block()
59 p = newblock; split_block()
64 struct mem_block *newblock = kmalloc(sizeof(*newblock), split_block() local
66 if (!newblock) split_block()
68 newblock->start = start + size; split_block()
69 newblock->size = p->size - size; split_block()
70 newblock->file_priv = NULL; split_block()
71 newblock->next = p->next; split_block()
72 newblock->prev = p; split_block()
73 p->next->prev = newblock; split_block()
74 p->next = newblock; split_block()
/linux-4.1.27/fs/udf/
H A Dpartition.c50 uint32_t newblock; udf_get_pblock_virt15() local
75 newblock = 1 + (block / (sb->s_blocksize / sizeof(uint32_t))); udf_get_pblock_virt15()
78 newblock = 0; udf_get_pblock_virt15()
82 loc = udf_block_map(sbi->s_vat_inode, newblock); udf_get_pblock_virt15()
H A Dballoc.c230 int newblock = 0; udf_bitmap_new_block() local
304 return newblock; udf_bitmap_new_block()
325 newblock = bit + (block_group << (sb->s_blocksize_bits + 3)) - udf_bitmap_new_block()
338 return newblock; udf_bitmap_new_block()
642 uint32_t newblock = 0, adsize; udf_table_new_block() local
656 return newblock; udf_table_new_block()
711 newblock = goal_eloc.logicalBlockNum; udf_table_new_block()
725 return newblock; udf_table_new_block()
H A Dinode.c331 int newblock; udf_expand_dir_adinicb() local
360 newblock = udf_get_pblock(inode->i_sb, *block, udf_expand_dir_adinicb()
363 if (!newblock) udf_expand_dir_adinicb()
365 dbh = udf_tgetblk(inode->i_sb, newblock); udf_expand_dir_adinicb()
666 uint32_t newblocknum, newblock; inode_getblk() local
744 newblock = udf_get_lb_pblock(inode->i_sb, &eloc, offset); inode_getblk()
745 return newblock; inode_getblk()
872 newblock = udf_get_pblock(inode->i_sb, newblocknum, inode_getblk()
874 if (!newblock) { inode_getblk()
888 return newblock; inode_getblk()
H A Dsuper.c2355 int block = 0, newblock; udf_count_free_bitmap() local
2387 newblock = udf_get_lb_pblock(sb, &loc, ++block); udf_count_free_bitmap()
2388 bh = udf_tread(sb, newblock); udf_count_free_bitmap()
/linux-4.1.27/drivers/mtd/
H A Dmtdswap.c725 unsigned int *newblock) mtdswap_move_block()
761 ret = mtdswap_write_block(d, d->page_buf, page, newblock, 1); mtdswap_move_block()
768 eb = d->eb_data + *newblock / d->pages_per_eblk; mtdswap_move_block()
769 d->page_data[page] = *newblock; mtdswap_move_block()
784 unsigned int i, block, eblk_base, newblock; mtdswap_gc_eblock() local
798 ret = mtdswap_move_block(d, block, &newblock); mtdswap_gc_eblock()
1073 unsigned int newblock, mapped; mtdswap_writesect() local
1099 ret = mtdswap_write_block(d, buf, page, &newblock, 0); mtdswap_writesect()
1105 eb = d->eb_data + (newblock / d->pages_per_eblk); mtdswap_writesect()
1106 d->page_data[page] = newblock; mtdswap_writesect()
724 mtdswap_move_block(struct mtdswap_dev *d, unsigned int oldblock, unsigned int *newblock) mtdswap_move_block() argument
/linux-4.1.27/fs/ext4/
H A Dextents.c230 ext4_fsblk_t goal, newblock; ext4_ext_new_meta_block() local
233 newblock = ext4_new_meta_blocks(handle, inode, goal, flags, ext4_ext_new_meta_block()
235 return newblock; ext4_ext_new_meta_block()
671 ext4_fsblk_t newblock, int level) ext4_ext_show_move()
683 newblock); ext4_ext_show_move()
697 newblock); ext4_ext_show_move()
705 #define ext4_ext_show_move(inode, path, newblock, level)
1032 ext4_fsblk_t newblock, oldblock; ext4_ext_split() local
1077 newblock = ext4_ext_new_meta_block(handle, inode, path, ext4_ext_split()
1079 if (newblock == 0) ext4_ext_split()
1081 ablocks[a] = newblock; ext4_ext_split()
1085 newblock = ablocks[--a]; ext4_ext_split()
1086 if (unlikely(newblock == 0)) { ext4_ext_split()
1087 EXT4_ERROR_INODE(inode, "newblock == 0!"); ext4_ext_split()
1091 bh = sb_getblk_gfp(inode->i_sb, newblock, __GFP_MOVABLE | GFP_NOFS); ext4_ext_split()
1119 ext4_ext_show_move(inode, path, newblock, depth); ext4_ext_split()
1162 oldblock = newblock; ext4_ext_split()
1163 newblock = ablocks[--a]; ext4_ext_split()
1164 bh = sb_getblk(inode->i_sb, newblock); ext4_ext_split()
1185 i, newblock, le32_to_cpu(border), oldblock); ext4_ext_split()
1200 ext4_ext_show_move(inode, path, newblock, i); ext4_ext_split()
1232 le32_to_cpu(border), newblock); ext4_ext_split()
1268 ext4_fsblk_t newblock, goal = 0; ext4_ext_grow_indepth() local
1280 newblock = ext4_new_meta_blocks(handle, inode, goal, flags, ext4_ext_grow_indepth()
1282 if (newblock == 0) ext4_ext_grow_indepth()
1285 bh = sb_getblk_gfp(inode->i_sb, newblock, __GFP_MOVABLE | GFP_NOFS); ext4_ext_grow_indepth()
1320 ext4_idx_store_pblock(EXT_FIRST_INDEX(neh), newblock); ext4_ext_grow_indepth() local
3164 ext4_fsblk_t newblock; ext4_split_extent_at() local
3183 newblock = split - ee_block + ext4_ext_pblock(ex); ext4_split_extent_at()
3230 ext4_ext_store_pblock(ex2, newblock); ext4_split_extent_at()
3934 unsigned int allocated, ext4_fsblk_t newblock) convert_initialized_extent()
4008 unsigned int allocated, ext4_fsblk_t newblock) ext4_ext_handle_unwritten_extents()
4028 allocated, newblock); ext4_ext_handle_unwritten_extents()
4059 map->m_pblk = newblock; ext4_ext_handle_unwritten_extents()
4108 newblock + map->m_len, ext4_ext_handle_unwritten_extents()
4143 map->m_pblk = newblock; ext4_ext_handle_unwritten_extents()
4276 ext4_fsblk_t newblock = 0; ext4_ext_map_blocks() local
4331 newblock = map->m_lblk - ee_block + ee_start; ext4_ext_map_blocks()
4335 ee_block, ee_len, newblock); ext4_ext_map_blocks()
4345 flags, allocated, newblock); ext4_ext_map_blocks()
4352 allocated, newblock); ext4_ext_map_blocks()
4387 newblock = map->m_pblk; ext4_ext_map_blocks()
4408 newblock = map->m_pblk; ext4_ext_map_blocks()
4459 newblock = ext4_mb_new_blocks(handle, &ar, &err); ext4_ext_map_blocks()
4460 if (!newblock) ext4_ext_map_blocks()
4463 ar.goal, newblock, allocated); ext4_ext_map_blocks()
4472 ext4_ext_store_pblock(&newex, newblock + offset); ext4_ext_map_blocks()
4512 ext4_free_blocks(handle, inode, NULL, newblock, ext4_ext_map_blocks()
4518 newblock = ext4_ext_pblock(&newex); ext4_ext_map_blocks()
4612 map->m_pblk = newblock; ext4_ext_map_blocks()
670 ext4_ext_show_move(struct inode *inode, struct ext4_ext_path *path, ext4_fsblk_t newblock, int level) ext4_ext_show_move() argument
3931 convert_initialized_extent(handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, struct ext4_ext_path **ppath, int flags, unsigned int allocated, ext4_fsblk_t newblock) convert_initialized_extent() argument
4005 ext4_ext_handle_unwritten_extents(handle_t *handle, struct inode *inode, struct ext4_map_blocks *map, struct ext4_ext_path **ppath, int flags, unsigned int allocated, ext4_fsblk_t newblock) ext4_ext_handle_unwritten_extents() argument
H A Dnamei.c1693 ext4_lblk_t newblock; do_split() local
1706 bh2 = ext4_append(handle, dir, &newblock); do_split()
1777 dx_insert_block(frame, hash2 + continued, newblock); do_split()
2261 ext4_lblk_t newblock; ext4_dx_add_entry() local
2274 bh2 = ext4_append(handle, dir, &newblock); ext4_dx_add_entry()
2312 dx_insert_block(frames + 0, hash2, newblock); ext4_dx_add_entry()
2329 dx_set_block(entries + 0, newblock); ext4_dx_add_entry()
/linux-4.1.27/fs/ext3/
H A Dnamei.c1145 u32 newblock; do_split() local
1153 bh2 = ext3_append (handle, dir, &newblock, &err); do_split()
1209 dx_insert_block (frame, hash2 + continued, newblock); do_split()
1522 u32 newblock; ext3_dx_add_entry() local
1536 bh2 = ext3_append (handle, dir, &newblock, &err); ext3_dx_add_entry()
1570 dx_insert_block (frames + 0, hash2, newblock); ext3_dx_add_entry()
1586 dx_set_block(entries + 0, newblock); ext3_dx_add_entry()
/linux-4.1.27/include/trace/events/
H A Dext4.h1843 unsigned int allocated, ext4_fsblk_t newblock),
1845 TP_ARGS(inode, map, flags, allocated, newblock),
1866 __entry->newblk = newblock;
1870 "allocated %d newblock %llu",

Completed in 255 milliseconds