/linux-4.4.14/fs/btrfs/ |
D | inode-map.c | 402 int prealloc; in btrfs_save_ino_cache() local 483 prealloc = sizeof(struct btrfs_free_space) * ctl->free_extents; in btrfs_save_ino_cache() 484 prealloc = ALIGN(prealloc, PAGE_CACHE_SIZE); in btrfs_save_ino_cache() 485 prealloc += ctl->total_bitmaps * PAGE_CACHE_SIZE; in btrfs_save_ino_cache() 489 prealloc += 8 * PAGE_CACHE_SIZE; in btrfs_save_ino_cache() 491 ret = btrfs_delalloc_reserve_space(inode, 0, prealloc); in btrfs_save_ino_cache() 495 ret = btrfs_prealloc_file_range_trans(inode, trans, 0, 0, prealloc, in btrfs_save_ino_cache() 496 prealloc, prealloc, &alloc_hint); in btrfs_save_ino_cache() 498 btrfs_delalloc_release_space(inode, 0, prealloc); in btrfs_save_ino_cache() 501 btrfs_free_reserved_data_space(inode, 0, prealloc); in btrfs_save_ino_cache()
|
D | extent_io.c | 496 struct extent_state *prealloc, u64 split) in split_state() argument 502 prealloc->start = orig->start; in split_state() 503 prealloc->end = split - 1; in split_state() 504 prealloc->state = orig->state; in split_state() 507 node = tree_insert(&tree->state, &orig->rb_node, prealloc->end, in split_state() 508 &prealloc->rb_node, NULL, NULL); in split_state() 510 free_extent_state(prealloc); in split_state() 567 alloc_extent_state_atomic(struct extent_state *prealloc) in alloc_extent_state_atomic() argument 569 if (!prealloc) in alloc_extent_state_atomic() 570 prealloc = alloc_extent_state(GFP_ATOMIC); in alloc_extent_state_atomic() [all …]
|
D | extent_map.c | 280 bool prealloc = false; in unpin_extent_cache() local 296 prealloc = true; in unpin_extent_cache() 302 if (prealloc) { in unpin_extent_cache()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_iomap.c | 297 int *prealloc) in xfs_iomap_eof_want_preallocate() argument 304 *prealloc = 0; in xfs_iomap_eof_want_preallocate() 341 *prealloc = 1; in xfs_iomap_eof_want_preallocate() 583 int prealloc; in xfs_iomap_write_delay() local 600 imap, XFS_WRITE_IMAPS, &prealloc); in xfs_iomap_write_delay() 605 if (prealloc) { in xfs_iomap_write_delay() 618 if (prealloc || extsz) { in xfs_iomap_write_delay() 651 if (prealloc) { in xfs_iomap_write_delay() 652 prealloc = 0; in xfs_iomap_write_delay() 666 if (prealloc) in xfs_iomap_write_delay()
|
D | xfs_dquot.c | 95 int prealloc = 0; in xfs_qm_adjust_dqlimits() local 101 prealloc = 1; in xfs_qm_adjust_dqlimits() 105 prealloc = 1; in xfs_qm_adjust_dqlimits() 116 if (prealloc) in xfs_qm_adjust_dqlimits()
|
/linux-4.4.14/net/sched/ |
D | sch_gred.c | 387 struct gred_sched_data **prealloc) in gred_change_vq() argument 393 table->tab[dp] = q = *prealloc; in gred_change_vq() 394 *prealloc = NULL; in gred_change_vq() 432 struct gred_sched_data *prealloc; in gred_change() local 476 prealloc = kzalloc(sizeof(*prealloc), GFP_KERNEL); in gred_change() 479 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc); in gred_change() 493 kfree(prealloc); in gred_change()
|
/linux-4.4.14/arch/powerpc/platforms/ps3/ |
D | setup.c | 123 static void __init prealloc(struct ps3_prealloc *p) in prealloc() function 142 #define prealloc_ps3fb_videomemory() prealloc(&ps3fb_videomemory) 165 #define prealloc_ps3flash_bounce_buffer() prealloc(&ps3flash_bounce_buffer)
|
/linux-4.4.14/sound/hda/ |
D | Kconfig | 29 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
|
/linux-4.4.14/fs/sysfs/ |
D | file.c | 207 .prealloc = true, 212 .prealloc = true, 218 .prealloc = true,
|
/linux-4.4.14/drivers/md/ |
D | dm-cache-target.c | 380 struct prealloc { struct 429 static int prealloc_data_structs(struct cache *cache, struct prealloc *p) in prealloc_data_structs() 452 static void prealloc_free_structs(struct cache *cache, struct prealloc *p) in prealloc_free_structs() 464 static struct dm_cache_migration *prealloc_get_migration(struct prealloc *p) in prealloc_get_migration() 478 static struct dm_bio_prison_cell *prealloc_get_cell(struct prealloc *p) in prealloc_get_cell() 499 static void prealloc_put_cell(struct prealloc *p, struct dm_bio_prison_cell *cell) in prealloc_put_cell() 556 struct prealloc *structs, in get_cell() 1469 static void promote(struct cache *cache, struct prealloc *structs, in promote() 1493 static void writeback(struct cache *cache, struct prealloc *structs, in writeback() 1517 static void demote_then_promote(struct cache *cache, struct prealloc *structs, in demote_then_promote() [all …]
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_fbdev.c | 194 bool prealloc = false; in intelfb_create() local 216 prealloc = true; in intelfb_create() 267 if (ifbdev->fb->obj->stolen && !prealloc) in intelfb_create()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | u_ether.c | 360 static int prealloc(struct list_head *list, struct usb_ep *ep, unsigned n) in prealloc() function 404 status = prealloc(&dev->tx_reqs, link->in_ep, n); in alloc_requests() 407 status = prealloc(&dev->rx_reqs, link->out_ep, n); in alloc_requests()
|
/linux-4.4.14/fs/kernfs/ |
D | file.c | 682 if (ops->prealloc && ops->seq_show) in kernfs_fop_open() 684 if (ops->prealloc) { in kernfs_fop_open()
|
/linux-4.4.14/include/linux/ |
D | kernfs.h | 224 bool prealloc; member
|
/linux-4.4.14/fs/quota/ |
D | dquot.c | 1301 static int check_bdq(struct dquot *dquot, qsize_t space, int prealloc, in check_bdq() argument 1317 if (!prealloc) in check_bdq() 1327 if (!prealloc) in check_bdq() 1335 if (!prealloc) { in check_bdq()
|
/linux-4.4.14/Documentation/sound/alsa/ |
D | Procfile.txt | 133 card*/pcm*/sub*/prealloc
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec.c | 2043 unsigned int prealloc; in sptlrpc_svc_free_rs() local 2051 prealloc = rs->rs_prealloc; in sptlrpc_svc_free_rs() 2054 if (prealloc) in sptlrpc_svc_free_rs()
|