Lines Matching refs:tmpbuf
169 char *tmpbuf = kmalloc(info->dqi_usable_bs, GFP_KERNEL); in remove_free_dqentry() local
175 if (!tmpbuf) in remove_free_dqentry()
178 err = read_blk(info, nextblk, tmpbuf); in remove_free_dqentry()
181 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_prev_free = in remove_free_dqentry()
183 err = write_blk(info, nextblk, tmpbuf); in remove_free_dqentry()
188 err = read_blk(info, prevblk, tmpbuf); in remove_free_dqentry()
191 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_next_free = in remove_free_dqentry()
193 err = write_blk(info, prevblk, tmpbuf); in remove_free_dqentry()
200 kfree(tmpbuf); in remove_free_dqentry()
208 kfree(tmpbuf); in remove_free_dqentry()
216 char *tmpbuf = kmalloc(info->dqi_usable_bs, GFP_KERNEL); in insert_free_dqentry() local
220 if (!tmpbuf) in insert_free_dqentry()
228 err = read_blk(info, info->dqi_free_entry, tmpbuf); in insert_free_dqentry()
231 ((struct qt_disk_dqdbheader *)tmpbuf)->dqdh_prev_free = in insert_free_dqentry()
233 err = write_blk(info, info->dqi_free_entry, tmpbuf); in insert_free_dqentry()
237 kfree(tmpbuf); in insert_free_dqentry()
242 kfree(tmpbuf); in insert_free_dqentry()