Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_mem.c46 struct mem_block *newblock = kmalloc(sizeof(*newblock), in split_block() local
48 if (!newblock) in split_block()
50 newblock->start = start; in split_block()
51 newblock->size = p->size - (start - p->start); in split_block()
52 newblock->file_priv = NULL; in split_block()
53 newblock->next = p->next; in split_block()
54 newblock->prev = p; in split_block()
55 p->next->prev = newblock; in split_block()
56 p->next = newblock; in split_block()
57 p->size -= newblock->size; in split_block()
[all …]
/linux-3.4.99/fs/ext4/
Dextents.c187 ext4_fsblk_t goal, newblock; in ext4_ext_new_meta_block() local
190 newblock = ext4_new_meta_blocks(handle, inode, goal, flags, in ext4_ext_new_meta_block()
192 return newblock; in ext4_ext_new_meta_block()
481 ext4_fsblk_t newblock, int level) in ext4_ext_show_move() argument
493 newblock); in ext4_ext_show_move()
507 newblock); in ext4_ext_show_move()
515 #define ext4_ext_show_move(inode, path, newblock, level) argument
848 ext4_fsblk_t newblock, oldblock; in ext4_ext_split() local
893 newblock = ext4_ext_new_meta_block(handle, inode, path, in ext4_ext_split()
895 if (newblock == 0) in ext4_ext_split()
[all …]
Dnamei.c1159 ext4_lblk_t newblock; in do_split() local
1167 bh2 = ext4_append (handle, dir, &newblock, &err); in do_split()
1226 dx_insert_block(frame, hash2 + continued, newblock); in do_split()
1539 ext4_lblk_t newblock; in ext4_dx_add_entry() local
1552 bh2 = ext4_append (handle, dir, &newblock, &err); in ext4_dx_add_entry()
1588 dx_insert_block(frames + 0, hash2, newblock); in ext4_dx_add_entry()
1605 dx_set_block(entries + 0, newblock); in ext4_dx_add_entry()
/linux-3.4.99/fs/udf/
Dpartition.c51 uint32_t newblock; in udf_get_pblock_virt15() local
76 newblock = 1 + (block / (sb->s_blocksize / sizeof(uint32_t))); in udf_get_pblock_virt15()
79 newblock = 0; in udf_get_pblock_virt15()
83 loc = udf_block_map(sbi->s_vat_inode, newblock); in udf_get_pblock_virt15()
Dballoc.c232 int newblock = 0; in udf_bitmap_new_block() local
306 return newblock; in udf_bitmap_new_block()
327 newblock = bit + (block_group << (sb->s_blocksize_bits + 3)) - in udf_bitmap_new_block()
340 return newblock; in udf_bitmap_new_block()
646 uint32_t newblock = 0, adsize; in udf_table_new_block() local
660 return newblock; in udf_table_new_block()
715 newblock = goal_eloc.logicalBlockNum; in udf_table_new_block()
729 return newblock; in udf_table_new_block()
Dinode.c235 int newblock; in udf_expand_dir_adinicb() local
264 newblock = udf_get_pblock(inode->i_sb, *block, in udf_expand_dir_adinicb()
267 if (!newblock) in udf_expand_dir_adinicb()
269 dbh = udf_tgetblk(inode->i_sb, newblock); in udf_expand_dir_adinicb()
571 uint32_t newblocknum, newblock; in inode_getblk() local
649 newblock = udf_get_lb_pblock(inode->i_sb, &eloc, offset); in inode_getblk()
650 return newblock; in inode_getblk()
779 newblock = udf_get_pblock(inode->i_sb, newblocknum, in inode_getblk()
781 if (!newblock) { in inode_getblk()
795 return newblock; in inode_getblk()
Dsuper.c2209 int block = 0, newblock; in udf_count_free_bitmap() local
2241 newblock = udf_get_lb_pblock(sb, &loc, ++block); in udf_count_free_bitmap()
2242 bh = udf_tread(sb, newblock); in udf_count_free_bitmap()
/linux-3.4.99/drivers/mtd/
Dmtdswap.c725 unsigned int *newblock) in mtdswap_move_block() argument
761 ret = mtdswap_write_block(d, d->page_buf, page, newblock, 1); in mtdswap_move_block()
768 eb = d->eb_data + *newblock / d->pages_per_eblk; in mtdswap_move_block()
769 d->page_data[page] = *newblock; in mtdswap_move_block()
784 unsigned int i, block, eblk_base, newblock; in mtdswap_gc_eblock() local
798 ret = mtdswap_move_block(d, block, &newblock); in mtdswap_gc_eblock()
1073 unsigned int newblock, mapped; in mtdswap_writesect() local
1099 ret = mtdswap_write_block(d, buf, page, &newblock, 0); in mtdswap_writesect()
1105 eb = d->eb_data + (newblock / d->pages_per_eblk); in mtdswap_writesect()
1106 d->page_data[page] = newblock; in mtdswap_writesect()
/linux-3.4.99/fs/ext3/
Dnamei.c1142 u32 newblock; in do_split() local
1150 bh2 = ext3_append (handle, dir, &newblock, &err); in do_split()
1206 dx_insert_block (frame, hash2 + continued, newblock); in do_split()
1519 u32 newblock; in ext3_dx_add_entry() local
1533 bh2 = ext3_append (handle, dir, &newblock, &err); in ext3_dx_add_entry()
1567 dx_insert_block (frames + 0, hash2, newblock); in ext3_dx_add_entry()
1583 dx_set_block(entries + 0, newblock); in ext3_dx_add_entry()
/linux-3.4.99/include/trace/events/
Dext4.h1684 unsigned int allocated, ext4_fsblk_t newblock),
1686 TP_ARGS(inode, map, allocated, newblock),
1707 __entry->newblk = newblock;