/linux-4.1.27/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, 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, prealloc); in btrfs_save_ino_cache() 501 btrfs_free_reserved_data_space(inode, prealloc); in btrfs_save_ino_cache()
|
D | extent_io.c | 476 struct extent_state *prealloc, u64 split) in split_state() argument 482 prealloc->start = orig->start; in split_state() 483 prealloc->end = split - 1; in split_state() 484 prealloc->state = orig->state; in split_state() 487 node = tree_insert(&tree->state, &orig->rb_node, prealloc->end, in split_state() 488 &prealloc->rb_node, NULL, NULL); in split_state() 490 free_extent_state(prealloc); in split_state() 545 alloc_extent_state_atomic(struct extent_state *prealloc) in alloc_extent_state_atomic() argument 547 if (!prealloc) in alloc_extent_state_atomic() 548 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.1.27/fs/xfs/ |
D | xfs_iomap.c | 259 int *prealloc) in xfs_iomap_eof_want_preallocate() argument 266 *prealloc = 0; in xfs_iomap_eof_want_preallocate() 303 *prealloc = 1; in xfs_iomap_eof_want_preallocate() 545 int prealloc; in xfs_iomap_write_delay() local 562 imap, XFS_WRITE_IMAPS, &prealloc); in xfs_iomap_write_delay() 567 if (prealloc) { in xfs_iomap_write_delay() 580 if (prealloc || extsz) { in xfs_iomap_write_delay() 613 if (prealloc) { in xfs_iomap_write_delay() 614 prealloc = 0; in xfs_iomap_write_delay() 628 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.1.27/net/sched/ |
D | sch_gred.c | 386 struct gred_sched_data **prealloc) in gred_change_vq() argument 392 table->tab[dp] = q = *prealloc; in gred_change_vq() 393 *prealloc = NULL; in gred_change_vq() 427 struct gred_sched_data *prealloc; in gred_change() local 467 prealloc = kzalloc(sizeof(*prealloc), GFP_KERNEL); in gred_change() 470 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc); in gred_change() 484 kfree(prealloc); in gred_change()
|
/linux-4.1.27/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.1.27/fs/sysfs/ |
D | file.c | 205 .prealloc = true, 210 .prealloc = true, 216 .prealloc = true,
|
/linux-4.1.27/drivers/md/ |
D | dm-cache-target.c | 335 struct prealloc { struct 380 static int prealloc_data_structs(struct cache *cache, struct prealloc *p) in prealloc_data_structs() 403 static void prealloc_free_structs(struct cache *cache, struct prealloc *p) in prealloc_free_structs() 415 static struct dm_cache_migration *prealloc_get_migration(struct prealloc *p) in prealloc_get_migration() 429 static struct dm_bio_prison_cell *prealloc_get_cell(struct prealloc *p) in prealloc_get_cell() 450 static void prealloc_put_cell(struct prealloc *p, struct dm_bio_prison_cell *cell) in prealloc_put_cell() 507 struct prealloc *structs, in get_cell() 1250 static void promote(struct cache *cache, struct prealloc *structs, in promote() 1274 static void writeback(struct cache *cache, struct prealloc *structs, in writeback() 1298 static void demote_then_promote(struct cache *cache, struct prealloc *structs, in demote_then_promote() [all …]
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | intel_fbdev.c | 184 bool prealloc = false; in intelfb_create() local 206 prealloc = true; in intelfb_create() 268 if (ifbdev->fb->obj->stolen && !prealloc) in intelfb_create()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | u_ether.c | 355 static int prealloc(struct list_head *list, struct usb_ep *ep, unsigned n) in prealloc() function 399 status = prealloc(&dev->tx_reqs, link->in_ep, n); in alloc_requests() 402 status = prealloc(&dev->rx_reqs, link->out_ep, n); in alloc_requests()
|
/linux-4.1.27/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.1.27/include/linux/ |
D | kernfs.h | 224 bool prealloc; member
|
/linux-4.1.27/fs/quota/ |
D | dquot.c | 1296 static int check_bdq(struct dquot *dquot, qsize_t space, int prealloc, in check_bdq() argument 1312 if (!prealloc) in check_bdq() 1322 if (!prealloc) in check_bdq() 1330 if (!prealloc) { in check_bdq()
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | Procfile.txt | 133 card*/pcm*/sub*/prealloc
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec.c | 2150 unsigned int prealloc; in sptlrpc_svc_free_rs() local 2158 prealloc = rs->rs_prealloc; in sptlrpc_svc_free_rs() 2161 if (prealloc) in sptlrpc_svc_free_rs()
|
/linux-4.1.27/sound/pci/hda/ |
D | Kconfig | 55 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
|