/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
H A D | id_table.c | 44 u32 c4iw_id_alloc(struct c4iw_id_table *alloc) c4iw_id_alloc() argument 49 spin_lock_irqsave(&alloc->lock, flags); c4iw_id_alloc() 51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); c4iw_id_alloc() 52 if (obj >= alloc->max) c4iw_id_alloc() 53 obj = find_first_zero_bit(alloc->table, alloc->max); c4iw_id_alloc() 55 if (obj < alloc->max) { c4iw_id_alloc() 56 if (alloc->flags & C4IW_ID_TABLE_F_RANDOM) c4iw_id_alloc() 57 alloc->last += prandom_u32() % RANDOM_SKIP; c4iw_id_alloc() 59 alloc->last = obj + 1; c4iw_id_alloc() 60 if (alloc->last >= alloc->max) c4iw_id_alloc() 61 alloc->last = 0; c4iw_id_alloc() 62 set_bit(obj, alloc->table); c4iw_id_alloc() 63 obj += alloc->start; c4iw_id_alloc() 67 spin_unlock_irqrestore(&alloc->lock, flags); c4iw_id_alloc() 71 void c4iw_id_free(struct c4iw_id_table *alloc, u32 obj) c4iw_id_free() argument 75 obj -= alloc->start; c4iw_id_free() 78 spin_lock_irqsave(&alloc->lock, flags); c4iw_id_free() 79 clear_bit(obj, alloc->table); c4iw_id_free() 80 spin_unlock_irqrestore(&alloc->lock, flags); c4iw_id_free() 83 int c4iw_id_table_alloc(struct c4iw_id_table *alloc, u32 start, u32 num, c4iw_id_table_alloc() argument 88 alloc->start = start; c4iw_id_table_alloc() 89 alloc->flags = flags; c4iw_id_table_alloc() 91 alloc->last = prandom_u32() % RANDOM_SKIP; c4iw_id_table_alloc() 93 alloc->last = 0; c4iw_id_table_alloc() 94 alloc->max = num; c4iw_id_table_alloc() 95 spin_lock_init(&alloc->lock); c4iw_id_table_alloc() 96 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof(long), c4iw_id_table_alloc() 98 if (!alloc->table) c4iw_id_table_alloc() 101 bitmap_zero(alloc->table, num); c4iw_id_table_alloc() 102 if (!(alloc->flags & C4IW_ID_TABLE_F_EMPTY)) c4iw_id_table_alloc() 104 set_bit(i, alloc->table); c4iw_id_table_alloc() 109 void c4iw_id_table_free(struct c4iw_id_table *alloc) c4iw_id_table_free() argument 111 kfree(alloc->table); c4iw_id_table_free()
|
/linux-4.1.27/arch/blackfin/mm/ |
H A D | Makefile | 5 obj-y := sram-alloc.o isram-driver.o init.o maccess.o
|
/linux-4.1.27/arch/arm/boot/compressed/ |
H A D | piggy.gzip.S | 1 .section .piggydata,#alloc
|
H A D | piggy.lz4.S | 1 .section .piggydata,#alloc
|
H A D | piggy.lzma.S | 1 .section .piggydata,#alloc
|
H A D | piggy.lzo.S | 1 .section .piggydata,#alloc
|
H A D | piggy.xzkern.S | 1 .section .piggydata,#alloc
|
/linux-4.1.27/sound/isa/gus/ |
H A D | gus_mem.c | 33 void snd_gf1_mem_lock(struct snd_gf1_mem * alloc, int xup) snd_gf1_mem_lock() argument 36 mutex_lock(&alloc->memory_mutex); snd_gf1_mem_lock() 38 mutex_unlock(&alloc->memory_mutex); snd_gf1_mem_lock() 42 static struct snd_gf1_mem_block *snd_gf1_mem_xalloc(struct snd_gf1_mem * alloc, snd_gf1_mem_xalloc() argument 51 pblock = alloc->first; snd_gf1_mem_xalloc() 57 if (pblock == alloc->first) snd_gf1_mem_xalloc() 58 alloc->first = nblock; snd_gf1_mem_xalloc() 61 mutex_unlock(&alloc->memory_mutex); snd_gf1_mem_xalloc() 67 if (alloc->last == NULL) { snd_gf1_mem_xalloc() 69 alloc->first = alloc->last = nblock; snd_gf1_mem_xalloc() 71 nblock->prev = alloc->last; snd_gf1_mem_xalloc() 72 alloc->last->next = nblock; snd_gf1_mem_xalloc() 73 alloc->last = nblock; snd_gf1_mem_xalloc() 78 int snd_gf1_mem_xfree(struct snd_gf1_mem * alloc, struct snd_gf1_mem_block * block) snd_gf1_mem_xfree() argument 82 mutex_unlock(&alloc->memory_mutex); snd_gf1_mem_xfree() 85 if (alloc->first == block) { snd_gf1_mem_xfree() 86 alloc->first = block->next; snd_gf1_mem_xfree() 94 if (alloc->last == block) { snd_gf1_mem_xfree() 95 alloc->last = block->prev; snd_gf1_mem_xfree() 108 static struct snd_gf1_mem_block *snd_gf1_mem_look(struct snd_gf1_mem * alloc, snd_gf1_mem_look() argument 113 for (block = alloc->first; block; block = block->next) { snd_gf1_mem_look() 121 static struct snd_gf1_mem_block *snd_gf1_mem_share(struct snd_gf1_mem * alloc, snd_gf1_mem_share() argument 129 for (block = alloc->first; block; block = block->next) snd_gf1_mem_share() 136 static int snd_gf1_mem_find(struct snd_gf1_mem * alloc, snd_gf1_mem_find() argument 140 struct snd_gf1_bank_info *info = w_16 ? alloc->banks_16 : alloc->banks_8; snd_gf1_mem_find() 155 for (pblock = alloc->first, idx = 0; pblock; pblock = pblock->next) { snd_gf1_mem_find() 188 struct snd_gf1_mem_block *snd_gf1_mem_alloc(struct snd_gf1_mem * alloc, int owner, snd_gf1_mem_alloc() argument 194 snd_gf1_mem_lock(alloc, 0); snd_gf1_mem_alloc() 196 nblock = snd_gf1_mem_share(alloc, share_id); snd_gf1_mem_alloc() 204 snd_gf1_mem_lock(alloc, 1); snd_gf1_mem_alloc() 209 if (snd_gf1_mem_find(alloc, &block, size, w_16, align) < 0) { snd_gf1_mem_alloc() 210 snd_gf1_mem_lock(alloc, 1); snd_gf1_mem_alloc() 217 nblock = snd_gf1_mem_xalloc(alloc, &block); snd_gf1_mem_alloc() 218 snd_gf1_mem_lock(alloc, 1); snd_gf1_mem_alloc() 222 int snd_gf1_mem_free(struct snd_gf1_mem * alloc, unsigned int address) snd_gf1_mem_free() argument 227 snd_gf1_mem_lock(alloc, 0); snd_gf1_mem_free() 228 if ((block = snd_gf1_mem_look(alloc, address)) != NULL) { snd_gf1_mem_free() 229 result = snd_gf1_mem_xfree(alloc, block); snd_gf1_mem_free() 230 snd_gf1_mem_lock(alloc, 1); snd_gf1_mem_free() 233 snd_gf1_mem_lock(alloc, 1); snd_gf1_mem_free() 239 struct snd_gf1_mem *alloc; snd_gf1_mem_init() local 245 alloc = &gus->gf1.mem_alloc; snd_gf1_mem_init() 246 mutex_init(&alloc->memory_mutex); snd_gf1_mem_init() 247 alloc->first = alloc->last = NULL; snd_gf1_mem_init() 257 if (snd_gf1_mem_xalloc(alloc, &block) == NULL) snd_gf1_mem_init() 263 if (snd_gf1_mem_xalloc(alloc, &block) == NULL) snd_gf1_mem_init() 274 struct snd_gf1_mem *alloc; snd_gf1_mem_done() local 277 alloc = &gus->gf1.mem_alloc; snd_gf1_mem_done() 278 block = alloc->first; snd_gf1_mem_done() 281 snd_gf1_mem_xfree(alloc, block); snd_gf1_mem_done() 292 struct snd_gf1_mem *alloc; snd_gf1_mem_info_read() local 298 alloc = &gus->gf1.mem_alloc; snd_gf1_mem_info_read() 299 mutex_lock(&alloc->memory_mutex); snd_gf1_mem_info_read() 302 snd_iprintf(buffer, "0x%06x (%04ik)%s", alloc->banks_8[i].address, alloc->banks_8[i].size >> 10, i + 1 < 4 ? "," : ""); snd_gf1_mem_info_read() 306 snd_iprintf(buffer, "0x%06x (%04ik)%s", alloc->banks_16[i].address, alloc->banks_16[i].size >> 10, i + 1 < 4 ? "," : ""); snd_gf1_mem_info_read() 307 total += alloc->banks_16[i].size; snd_gf1_mem_info_read() 311 for (block = alloc->first, i = 0; block; block = block->next, i++) { snd_gf1_mem_info_read() 343 mutex_unlock(&alloc->memory_mutex); snd_gf1_mem_info_read()
|
/linux-4.1.27/arch/cris/arch-v32/mm/ |
H A D | intmem.c | 36 struct intmem_allocation* alloc; crisv32_intmem_init() local 37 alloc = kmalloc(sizeof *alloc, GFP_KERNEL); crisv32_intmem_init() 42 alloc->size = MEM_INTMEM_SIZE - RESERVED_SIZE; crisv32_intmem_init() 43 alloc->offset = 0; crisv32_intmem_init() 44 alloc->status = STATUS_FREE; crisv32_intmem_init() 45 list_add_tail(&alloc->entry, &intmem_allocations); crisv32_intmem_init() 65 struct intmem_allocation* alloc; crisv32_intmem_alloc() local 66 alloc = kmalloc(sizeof *alloc, GFP_ATOMIC); crisv32_intmem_alloc() 67 alloc->status = STATUS_FREE; crisv32_intmem_alloc() 68 alloc->size = allocation->size - size - crisv32_intmem_alloc() 70 alloc->offset = allocation->offset + size + crisv32_intmem_alloc() 72 list_add(&alloc->entry, &allocation->entry); crisv32_intmem_alloc()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
H A D | mthca_allocator.c | 40 u32 mthca_alloc(struct mthca_alloc *alloc) mthca_alloc() argument 45 spin_lock_irqsave(&alloc->lock, flags); mthca_alloc() 47 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); mthca_alloc() 48 if (obj >= alloc->max) { mthca_alloc() 49 alloc->top = (alloc->top + alloc->max) & alloc->mask; mthca_alloc() 50 obj = find_first_zero_bit(alloc->table, alloc->max); mthca_alloc() 53 if (obj < alloc->max) { mthca_alloc() 54 set_bit(obj, alloc->table); mthca_alloc() 55 obj |= alloc->top; mthca_alloc() 59 spin_unlock_irqrestore(&alloc->lock, flags); mthca_alloc() 64 void mthca_free(struct mthca_alloc *alloc, u32 obj) mthca_free() argument 68 obj &= alloc->max - 1; mthca_free() 70 spin_lock_irqsave(&alloc->lock, flags); mthca_free() 72 clear_bit(obj, alloc->table); mthca_free() 73 alloc->last = min(alloc->last, obj); mthca_free() 74 alloc->top = (alloc->top + alloc->max) & alloc->mask; mthca_free() 76 spin_unlock_irqrestore(&alloc->lock, flags); mthca_free() 79 int mthca_alloc_init(struct mthca_alloc *alloc, u32 num, u32 mask, mthca_alloc_init() argument 88 alloc->last = 0; mthca_alloc_init() 89 alloc->top = 0; mthca_alloc_init() 90 alloc->max = num; mthca_alloc_init() 91 alloc->mask = mask; mthca_alloc_init() 92 spin_lock_init(&alloc->lock); mthca_alloc_init() 93 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof (long), mthca_alloc_init() 95 if (!alloc->table) mthca_alloc_init() 98 bitmap_zero(alloc->table, num); mthca_alloc_init() 100 set_bit(i, alloc->table); mthca_alloc_init() 105 void mthca_alloc_cleanup(struct mthca_alloc *alloc) mthca_alloc_cleanup() argument 107 kfree(alloc->table); mthca_alloc_cleanup()
|
H A D | mthca_pd.c | 46 pd->pd_num = mthca_alloc(&dev->pd_table.alloc); mthca_pd_alloc() 56 mthca_free(&dev->pd_table.alloc, pd->pd_num); mthca_pd_alloc() 66 mthca_free(&dev->pd_table.alloc, pd->pd_num); mthca_pd_free() 71 return mthca_alloc_init(&dev->pd_table.alloc, mthca_init_pd_table() 80 mthca_alloc_cleanup(&dev->pd_table.alloc); mthca_cleanup_pd_table()
|
H A D | mthca_uar.c | 40 uar->index = mthca_alloc(&dev->uar_table.alloc); mthca_uar_alloc() 51 mthca_free(&dev->uar_table.alloc, uar->index); mthca_uar_free() 58 ret = mthca_alloc_init(&dev->uar_table.alloc, mthca_init_uar_table() 67 mthca_alloc_cleanup(&dev->uar_table.alloc); mthca_init_uar_table() 77 mthca_alloc_cleanup(&dev->uar_table.alloc); mthca_cleanup_uar_table()
|
H A D | mthca_mcg.c | 148 index = mthca_alloc(&dev->mcg_table.alloc); mthca_multicast_attach() 206 mthca_free(&dev->mcg_table.alloc, index); mthca_multicast_attach() 286 mthca_free(&dev->mcg_table.alloc, amgm_index_to_free); mthca_multicast_detach() 305 mthca_free(&dev->mcg_table.alloc, index); mthca_multicast_detach() 320 err = mthca_alloc_init(&dev->mcg_table.alloc, mthca_init_mcg_table() 334 mthca_alloc_cleanup(&dev->mcg_table.alloc); mthca_cleanup_mcg_table()
|
H A D | mthca_dev.h | 195 struct mthca_alloc alloc; member in struct:mthca_uar_table 201 struct mthca_alloc alloc; member in struct:mthca_pd_table 227 struct mthca_alloc alloc; member in struct:mthca_eq_table 240 struct mthca_alloc alloc; member in struct:mthca_cq_table 247 struct mthca_alloc alloc; member in struct:mthca_srq_table 254 struct mthca_alloc alloc; member in struct:mthca_qp_table 270 struct mthca_alloc alloc; member in struct:mthca_av_table 275 struct mthca_alloc alloc; member in struct:mthca_mcg_table 414 u32 mthca_alloc(struct mthca_alloc *alloc); 415 void mthca_free(struct mthca_alloc *alloc, u32 obj); 416 int mthca_alloc_init(struct mthca_alloc *alloc, u32 num, u32 mask, 418 void mthca_alloc_cleanup(struct mthca_alloc *alloc);
|
H A D | mthca_av.c | 172 index = mthca_alloc(&dev->av_table.alloc); mthca_create_ah() 244 mthca_free(&dev->av_table.alloc, mthca_destroy_ah() 331 err = mthca_alloc_init(&dev->av_table.alloc, mthca_init_av_table() 361 mthca_alloc_cleanup(&dev->av_table.alloc); mthca_init_av_table() 373 mthca_alloc_cleanup(&dev->av_table.alloc); mthca_cleanup_av_table()
|
H A D | mthca_srq.c | 229 srq->srqn = mthca_alloc(&dev->srq_table.alloc); mthca_alloc_srq() 314 mthca_free(&dev->srq_table.alloc, srq->srqn); mthca_alloc_srq() 360 mthca_free(&dev->srq_table.alloc, srq->srqn); mthca_free_srq() 674 err = mthca_alloc_init(&dev->srq_table.alloc, mthca_init_srq_table() 684 mthca_alloc_cleanup(&dev->srq_table.alloc); mthca_init_srq_table() 695 mthca_alloc_cleanup(&dev->srq_table.alloc); mthca_cleanup_srq_table()
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | Makefile | 4 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
|
H A D | alloc.c | 536 struct bkey *alloc) pick_data_bucket() 549 if (!ret->sectors_free && KEY_PTRS(alloc)) { pick_data_bucket() 551 bkey_copy(&ret->key, alloc); pick_data_bucket() 552 bkey_init(alloc); pick_data_bucket() 575 BKEY_PADDED(key) alloc; bch_alloc_sectors() 581 * and then retry. KEY_PTRS() indicates whether alloc points to bch_alloc_sectors() 585 bkey_init(&alloc.key); bch_alloc_sectors() 588 while (!(b = pick_data_bucket(c, k, write_point, &alloc.key))) { bch_alloc_sectors() 595 if (bch_bucket_alloc_set(c, watermark, &alloc.key, 1, wait)) bch_alloc_sectors() 606 if (KEY_PTRS(&alloc.key)) bch_alloc_sectors() 607 bkey_put(c, &alloc.key); bch_alloc_sectors() 533 pick_data_bucket(struct cache_set *c, const struct bkey *search, unsigned write_point, struct bkey *alloc) pick_data_bucket() argument
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | Makefile | 4 health.o mcg.o cq.o srq.o alloc.o qp.o port.o mr.o pd.o \
|
/linux-4.1.27/fs/hpfs/ |
H A D | Makefile | 7 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
|
H A D | hpfs_fn.h | 50 unsigned i_file_sec; /* (files) minimalist cache of alloc info */ 51 unsigned i_disk_sec; /* (files) minimalist cache of alloc info */ 52 unsigned i_n_secs; /* (files) minimalist cache of alloc info */ 192 /* alloc.c */
|
/linux-4.1.27/fs/nilfs2/ |
H A D | Makefile | 5 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
|
H A D | ifile.h | 32 #include "alloc.h"
|
H A D | btree.h | 39 * @bp_newreq: ptr alloc request for new ptr
|
H A D | alloc.h | 2 * alloc.h - persistent object (dat entry/disk inode) allocator/deallocator
|
/linux-4.1.27/tools/perf/util/ |
H A D | cache.h | 45 * is 'alloc', using the standard growing factor alloc_nr() macro. 47 * DO NOT USE any expression with side-effect for 'x' or 'alloc'. 49 #define ALLOC_GROW(x, nr, alloc) \ 51 if ((nr) > alloc) { \ 52 if (alloc_nr(alloc) < (nr)) \ 53 alloc = (nr); \ 55 alloc = alloc_nr(alloc); \ 56 x = xrealloc((x), alloc * sizeof(*(x))); \
|
H A D | strbuf.c | 22 sb->alloc = sb->len = 0; strbuf_init() 30 if (sb->alloc) { strbuf_release() 38 char *res = sb->alloc ? sb->buf : NULL; strbuf_detach() 49 if (!sb->alloc) strbuf_grow() 51 ALLOC_GROW(sb->buf, sb->len + extra + 1, sb->alloc); strbuf_grow() 93 len = vsnprintf(sb->buf + sb->len, sb->alloc - sb->len, fmt, ap); strbuf_addf() 100 len = vsnprintf(sb->buf + sb->len, sb->alloc - sb->len, fmt, ap); strbuf_addf() 112 size_t oldalloc = sb->alloc; strbuf_read() 118 cnt = read(fd, sb->buf + sb->len, sb->alloc - sb->len - 1); strbuf_read()
|
H A D | sigchain.c | 9 int alloc; member in struct:sigchain_signal 24 ALLOC_GROW(s->old, s->n + 1, s->alloc); sigchain_push()
|
H A D | strbuf.h | 36 * XXX: do _not_ assume that the area that is yours is of size ->alloc - 1 45 size_t alloc; member in struct:strbuf 59 return sb->alloc ? sb->alloc - sb->len - 1 : 0; strbuf_avail() 65 if (!sb->alloc) strbuf_setlen() 67 assert(len < sb->alloc); strbuf_setlen()
|
H A D | help.h | 5 size_t alloc; member in struct:cmdnames
|
H A D | help.c | 16 ALLOC_GROW(cmds->names, cmds->cnt + 1, cmds->alloc); add_cmdname() 28 cmds->alloc = 0; clean_cmdnames() 262 ALLOC_GROW(cmds->names, cmds->cnt + old->cnt, cmds->alloc); add_cmd_list()
|
/linux-4.1.27/fs/ocfs2/ |
H A D | localalloc.c | 36 #include "alloc.h" 51 static u32 ocfs2_local_alloc_count_bits(struct ocfs2_dinode *alloc); 54 struct ocfs2_dinode *alloc, 58 static void ocfs2_clear_local_alloc(struct ocfs2_dinode *alloc); 62 struct ocfs2_dinode *alloc, 80 * the local alloc. 82 * Generally, we'd like to pick as large a local alloc as 88 * Some things work against us when trying to choose a large local alloc: 103 * alloc maximums at various cluster sizes (4k blocksize) 158 * local alloc size down to 256 however, would give us ocfs2_la_default_mb() 252 * Tell us whether a given allocation should use the local alloc 255 * This function does semi-dirty reads of local alloc size and state! 271 * allocations go through the local alloc, so allow an ocfs2_alloc_should_use_local() 287 struct ocfs2_dinode *alloc = NULL; ocfs2_load_local_alloc() local 297 mlog(ML_NOTICE, "Requested local alloc window %d is larger " ocfs2_load_local_alloc() 305 /* read the alloc off disk */ ocfs2_load_local_alloc() 321 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; ocfs2_load_local_alloc() 322 la = OCFS2_LOCAL_ALLOC(alloc); ocfs2_load_local_alloc() 324 if (!(le32_to_cpu(alloc->i_flags) & ocfs2_load_local_alloc() 326 mlog(ML_ERROR, "Invalid local alloc inode, %llu\n", ocfs2_load_local_alloc() 334 mlog(ML_ERROR, "Local alloc size is invalid (la_size = %u)\n", ocfs2_load_local_alloc() 341 num_used = ocfs2_local_alloc_count_bits(alloc); ocfs2_load_local_alloc() 343 /* hopefully the local alloc has always been recovered before ocfs2_load_local_alloc() 346 || alloc->id1.bitmap1.i_used ocfs2_load_local_alloc() 347 || alloc->id1.bitmap1.i_total ocfs2_load_local_alloc() 349 mlog(ML_ERROR, "Local alloc hasn't been recovered!\n" ocfs2_load_local_alloc() 351 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), ocfs2_load_local_alloc() 352 le32_to_cpu(alloc->id1.bitmap1.i_total), ocfs2_load_local_alloc() 353 OCFS2_LOCAL_ALLOC(alloc)->la_bm_off); ocfs2_load_local_alloc() 387 struct ocfs2_dinode *alloc = NULL; ocfs2_shutdown_local_alloc() local 435 alloc = (struct ocfs2_dinode *) bh->b_data; ocfs2_shutdown_local_alloc() 442 memcpy(alloc_copy, alloc, bh->b_size); ocfs2_shutdown_local_alloc() 451 ocfs2_clear_local_alloc(alloc); ocfs2_shutdown_local_alloc() 485 * alloc before giving up the recovered nodes journal. To solve this, 486 * we kmalloc a copy of the local alloc before it's change for the 496 struct ocfs2_dinode *alloc; ocfs2_begin_local_alloc_recovery() local 527 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; ocfs2_begin_local_alloc_recovery() 528 ocfs2_clear_local_alloc(alloc); ocfs2_begin_local_alloc_recovery() 530 ocfs2_compute_meta_ecc(osb->sb, alloc_bh->b_data, &alloc->i_check); ocfs2_begin_local_alloc_recovery() 555 * a clean local alloc on disk and dropped the node out of the 560 struct ocfs2_dinode *alloc) ocfs2_complete_local_alloc_recovery() 595 status = ocfs2_sync_local_to_main(osb, handle, alloc, ocfs2_complete_local_alloc_recovery() 622 * local alloc. You lose them when you drop i_mutex. 632 struct ocfs2_dinode *alloc; ocfs2_reserve_local_alloc_bits() local 663 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; ocfs2_reserve_local_alloc_bits() 666 if (le32_to_cpu(alloc->id1.bitmap1.i_used) != ocfs2_reserve_local_alloc_bits() 667 ocfs2_local_alloc_count_bits(alloc)) { ocfs2_reserve_local_alloc_bits() 668 ocfs2_error(osb->sb, "local alloc inode %llu says it has " ocfs2_reserve_local_alloc_bits() 670 (unsigned long long)le64_to_cpu(alloc->i_blkno), ocfs2_reserve_local_alloc_bits() 671 le32_to_cpu(alloc->id1.bitmap1.i_used), ocfs2_reserve_local_alloc_bits() 672 ocfs2_local_alloc_count_bits(alloc)); ocfs2_reserve_local_alloc_bits() 678 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - ocfs2_reserve_local_alloc_bits() 679 le32_to_cpu(alloc->id1.bitmap1.i_used); ocfs2_reserve_local_alloc_bits() 693 * disabled the the local alloc entirely. Re-check ocfs2_reserve_local_alloc_bits() 700 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - ocfs2_reserve_local_alloc_bits() 701 le32_to_cpu(alloc->id1.bitmap1.i_used); ocfs2_reserve_local_alloc_bits() 738 struct ocfs2_dinode *alloc; ocfs2_claim_local_alloc_bits() local 744 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; ocfs2_claim_local_alloc_bits() 745 la = OCFS2_LOCAL_ALLOC(alloc); ocfs2_claim_local_alloc_bits() 747 start = ocfs2_local_alloc_find_clear_bits(osb, alloc, &bits_wanted, ocfs2_claim_local_alloc_bits() 775 le32_add_cpu(&alloc->id1.bitmap1.i_used, *num_bits); ocfs2_claim_local_alloc_bits() 794 struct ocfs2_dinode *alloc; ocfs2_free_local_alloc_bits() local 800 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; ocfs2_free_local_alloc_bits() 801 la = OCFS2_LOCAL_ALLOC(alloc); ocfs2_free_local_alloc_bits() 819 le32_add_cpu(&alloc->id1.bitmap1.i_used, -num_bits); ocfs2_free_local_alloc_bits() 826 static u32 ocfs2_local_alloc_count_bits(struct ocfs2_dinode *alloc) ocfs2_local_alloc_count_bits() argument 829 struct ocfs2_local_alloc *la = OCFS2_LOCAL_ALLOC(alloc); ocfs2_local_alloc_count_bits() 838 struct ocfs2_dinode *alloc, ocfs2_local_alloc_find_clear_bits() 848 if (!alloc->id1.bitmap1.i_total) { ocfs2_local_alloc_find_clear_bits() 877 bitmap = OCFS2_LOCAL_ALLOC(alloc)->la_bitmap; ocfs2_local_alloc_find_clear_bits() 881 left = le32_to_cpu(alloc->id1.bitmap1.i_total); ocfs2_local_alloc_find_clear_bits() 920 le32_to_cpu(alloc->id1.bitmap1.i_total), ocfs2_local_alloc_find_clear_bits() 926 static void ocfs2_clear_local_alloc(struct ocfs2_dinode *alloc) ocfs2_clear_local_alloc() argument 928 struct ocfs2_local_alloc *la = OCFS2_LOCAL_ALLOC(alloc); ocfs2_clear_local_alloc() 931 alloc->id1.bitmap1.i_total = 0; ocfs2_clear_local_alloc() 932 alloc->id1.bitmap1.i_used = 0; ocfs2_clear_local_alloc() 958 * sync the local alloc to main bitmap. 965 struct ocfs2_dinode *alloc, ocfs2_sync_local_to_main() 974 struct ocfs2_local_alloc *la = OCFS2_LOCAL_ALLOC(alloc); ocfs2_sync_local_to_main() 977 le32_to_cpu(alloc->id1.bitmap1.i_total), ocfs2_sync_local_to_main() 978 le32_to_cpu(alloc->id1.bitmap1.i_used)); ocfs2_sync_local_to_main() 980 if (!alloc->id1.bitmap1.i_total) { ocfs2_sync_local_to_main() 984 if (le32_to_cpu(alloc->id1.bitmap1.i_used) == ocfs2_sync_local_to_main() 985 le32_to_cpu(alloc->id1.bitmap1.i_total)) { ocfs2_sync_local_to_main() 993 left = le32_to_cpu(alloc->id1.bitmap1.i_total); ocfs2_sync_local_to_main() 1046 * Given an event, calculate the size of our next local alloc window. 1048 * This should always be called under i_mutex of the local alloc inode 1049 * so that local alloc disabling doesn't race with processes trying to 1052 * Returns the state which the local alloc was left in. This value can 1075 * by local alloc until we have to disable it. ocfs2_recalc_la_window() 1081 * the number of local alloc bits used down ocfs2_recalc_la_window() 1097 * Don't increase the size of the local alloc window until we ocfs2_recalc_la_window() 1168 struct ocfs2_dinode *alloc = NULL; ocfs2_local_alloc_new_window() local 1171 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; ocfs2_local_alloc_new_window() 1172 la = OCFS2_LOCAL_ALLOC(alloc); ocfs2_local_alloc_new_window() 1175 le32_to_cpu(alloc->id1.bitmap1.i_total), ocfs2_local_alloc_new_window() 1226 alloc->id1.bitmap1.i_total = cpu_to_le32(cluster_count); ocfs2_local_alloc_new_window() 1231 alloc->id1.bitmap1.i_used = 0; ocfs2_local_alloc_new_window() 1232 memset(OCFS2_LOCAL_ALLOC(alloc)->la_bitmap, 0, ocfs2_local_alloc_new_window() 1236 OCFS2_LOCAL_ALLOC(alloc)->la_bitmap); ocfs2_local_alloc_new_window() 1239 OCFS2_LOCAL_ALLOC(alloc)->la_bm_off, ocfs2_local_alloc_new_window() 1240 le32_to_cpu(alloc->id1.bitmap1.i_total)); ocfs2_local_alloc_new_window() 1248 /* Note that we do *NOT* lock the local alloc inode here as 1257 struct ocfs2_dinode *alloc; ocfs2_local_alloc_slide_window() local 1282 alloc = (struct ocfs2_dinode *) osb->local_alloc_bh->b_data; ocfs2_local_alloc_slide_window() 1284 /* We want to clear the local alloc before doing anything ocfs2_local_alloc_slide_window() 1286 * local alloc shutdown won't try to double free main bitmap ocfs2_local_alloc_slide_window() 1295 memcpy(alloc_copy, alloc, osb->local_alloc_bh->b_size); ocfs2_local_alloc_slide_window() 1306 ocfs2_clear_local_alloc(alloc); ocfs2_local_alloc_slide_window() 559 ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, struct ocfs2_dinode *alloc) ocfs2_complete_local_alloc_recovery() argument 837 ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, struct ocfs2_dinode *alloc, u32 *numbits, struct ocfs2_alloc_reservation *resv) ocfs2_local_alloc_find_clear_bits() argument 963 ocfs2_sync_local_to_main(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_dinode *alloc, struct inode *main_bm_inode, struct buffer_head *main_bm_bh) ocfs2_sync_local_to_main() argument
|
H A D | Makefile | 13 alloc.o \
|
H A D | reservations.h | 35 unsigned int r_last_len; /* Length of most recent alloc */ 36 unsigned int r_last_start; /* Start of most recent alloc */ 104 * useful for local alloc window slides.
|
H A D | localalloc.h | 41 struct ocfs2_dinode *alloc);
|
H A D | journal.h | 430 /* parent fe, parent block, new file entry, index leaf, inode alloc fe, inode 431 * alloc group descriptor + mkdir/symlink blocks + dir blocks + xattr 445 /* local alloc metadata change + main bitmap updates */ 470 /* dinode + orphan dir dinode + inode alloc dinode + orphan dir entry + 471 * inode alloc group descriptor + orphan dir index root + 518 * It doesn't include the credits for sub alloc change. 523 /* 2 metadata alloc, 2 new blocks and root refcount block */ 543 * alloc. */ ocfs2_calc_extend_credits() 606 /* We may be deleting metadata blocks, so metadata alloc dinode + ocfs2_calc_tree_trunc_credits()
|
H A D | symlink.c | 47 #include "alloc.h"
|
H A D | heartbeat.c | 35 #include "alloc.h"
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_alloc_btree.c | 153 len = rec->alloc.ar_blockcount; xfs_allocbt_update_lastrec() 156 if (be32_to_cpu(rec->alloc.ar_blockcount) <= xfs_allocbt_update_lastrec() 159 len = rec->alloc.ar_blockcount; xfs_allocbt_update_lastrec() 210 ASSERT(rec->alloc.ar_startblock != 0); xfs_allocbt_init_key_from_rec() 212 key->alloc.ar_startblock = rec->alloc.ar_startblock; xfs_allocbt_init_key_from_rec() 213 key->alloc.ar_blockcount = rec->alloc.ar_blockcount; xfs_allocbt_init_key_from_rec() 221 ASSERT(key->alloc.ar_startblock != 0); xfs_allocbt_init_rec_from_key() 223 rec->alloc.ar_startblock = key->alloc.ar_startblock; xfs_allocbt_init_rec_from_key() 224 rec->alloc.ar_blockcount = key->alloc.ar_blockcount; xfs_allocbt_init_rec_from_key() 234 rec->alloc.ar_startblock = cpu_to_be32(cur->bc_rec.a.ar_startblock); xfs_allocbt_init_rec_from_cur() 235 rec->alloc.ar_blockcount = cpu_to_be32(cur->bc_rec.a.ar_blockcount); xfs_allocbt_init_rec_from_cur() 257 xfs_alloc_key_t *kp = &key->alloc; xfs_allocbt_key_diff() 395 return be32_to_cpu(k1->alloc.ar_startblock) < xfs_allocbt_keys_inorder() 396 be32_to_cpu(k2->alloc.ar_startblock); xfs_allocbt_keys_inorder() 398 return be32_to_cpu(k1->alloc.ar_blockcount) < xfs_allocbt_keys_inorder() 399 be32_to_cpu(k2->alloc.ar_blockcount) || xfs_allocbt_keys_inorder() 400 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && xfs_allocbt_keys_inorder() 401 be32_to_cpu(k1->alloc.ar_startblock) < xfs_allocbt_keys_inorder() 402 be32_to_cpu(k2->alloc.ar_startblock)); xfs_allocbt_keys_inorder() 413 return be32_to_cpu(r1->alloc.ar_startblock) + xfs_allocbt_recs_inorder() 414 be32_to_cpu(r1->alloc.ar_blockcount) <= xfs_allocbt_recs_inorder() 415 be32_to_cpu(r2->alloc.ar_startblock); xfs_allocbt_recs_inorder() 417 return be32_to_cpu(r1->alloc.ar_blockcount) < xfs_allocbt_recs_inorder() 418 be32_to_cpu(r2->alloc.ar_blockcount) || xfs_allocbt_recs_inorder() 419 (r1->alloc.ar_blockcount == r2->alloc.ar_blockcount && xfs_allocbt_recs_inorder() 420 be32_to_cpu(r1->alloc.ar_startblock) < xfs_allocbt_recs_inorder() 421 be32_to_cpu(r2->alloc.ar_startblock)); xfs_allocbt_recs_inorder() 452 struct xfs_btree_cur * /* new alloc btree cursor */ xfs_allocbt_init_cursor() 490 * Calculate number of records in an alloc btree block.
|
H A D | xfs_bmap.h | 47 int nallocs;/* number of extents alloc'd */ 52 xfs_extlen_t minleft; /* amount must be left after alloc */ 90 int xbf_low; /* alloc in low mode */
|
/linux-4.1.27/arch/frv/mm/ |
H A D | Makefile | 9 mmu-context.o dma-alloc.o elf-fdpic.o
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | Makefile | 3 mlx4_core-y := alloc.o catas.o cmd.o cq.o eq.o fw.o fw_qos.o icm.o intf.o \
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | pwrseq.c | 22 struct mmc_pwrseq *(*alloc)(struct mmc_host *host, struct device *dev); member in struct:mmc_pwrseq_match 28 .alloc = mmc_pwrseq_simple_alloc, 31 .alloc = mmc_pwrseq_emmc_alloc, 74 pwrseq = match->alloc(host, &pdev->dev); mmc_pwrseq_alloc()
|
/linux-4.1.27/arch/powerpc/lib/ |
H A D | Makefile | 12 obj-y += string.o alloc.o crtsavres.o ppc_ksyms.o code-patching.o \
|
/linux-4.1.27/arch/xtensa/variants/dc233c/include/variant/ |
H A D | tie-asm.h | 73 * alloc Select what category(ies) of registers to allocate; if any 77 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 85 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_GLOB) & ~(\alloc)) == 0 97 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\alloc)) == 0 115 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\alloc)) == 0 137 * alloc Select what category(ies) of registers to allocate; if any 141 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 149 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_GLOB) & ~(\alloc)) == 0 161 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\alloc)) == 0 179 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\alloc)) == 0
|
/linux-4.1.27/arch/xtensa/boot/boot-elf/ |
H A D | Makefile | 24 --set-section-flags image=contents,alloc,load,load,data \
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | bar.h | 10 int (*alloc)(struct nvkm_bar *, struct nvkm_object *, member in struct:nvkm_bar
|
H A D | instmem.h | 28 int (*alloc)(struct nvkm_instmem *, struct nvkm_object *, member in struct:nvkm_instmem
|
/linux-4.1.27/drivers/char/agp/ |
H A D | compat_ioctl.c | 151 struct agp_allocate32 alloc; compat_agpioc_allocate_wrap() local 154 if (copy_from_user(&alloc, arg, sizeof(alloc))) compat_agpioc_allocate_wrap() 157 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); compat_agpioc_allocate_wrap() 162 alloc.key = memory->key; compat_agpioc_allocate_wrap() 163 alloc.physical = memory->physical; compat_agpioc_allocate_wrap() 165 if (copy_to_user(arg, &alloc, sizeof(alloc))) { compat_agpioc_allocate_wrap()
|
H A D | frontend.c | 877 struct agp_allocate alloc; agpioc_allocate_wrap() local 880 if (copy_from_user(&alloc, arg, sizeof(struct agp_allocate))) agpioc_allocate_wrap() 883 if (alloc.type >= AGP_USER_TYPES) agpioc_allocate_wrap() 886 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); agpioc_allocate_wrap() 891 alloc.key = memory->key; agpioc_allocate_wrap() 892 alloc.physical = memory->physical; agpioc_allocate_wrap() 894 if (copy_to_user(arg, &alloc, sizeof(struct agp_allocate))) { agpioc_allocate_wrap()
|
/linux-4.1.27/fs/nfs/ |
H A D | nfs3acl.c | 216 struct posix_acl *alloc = NULL, *dfacl = NULL; nfs3_set_acl() local 222 alloc = dfacl = get_acl(inode, ACL_TYPE_DEFAULT); nfs3_set_acl() 223 if (IS_ERR(alloc)) nfs3_set_acl() 229 alloc = acl = get_acl(inode, ACL_TYPE_ACCESS); nfs3_set_acl() 230 if (IS_ERR(alloc)) nfs3_set_acl() 237 alloc = acl = posix_acl_from_mode(inode->i_mode, GFP_KERNEL); nfs3_set_acl() 238 if (IS_ERR(alloc)) nfs3_set_acl() 242 posix_acl_release(alloc); nfs3_set_acl() 246 return PTR_ERR(alloc); nfs3_set_acl()
|
/linux-4.1.27/mm/ |
H A D | mempool.c | 84 if (pool->alloc == mempool_alloc_slab || pool->alloc == mempool_kmalloc) poison_element() 88 if (pool->alloc == mempool_alloc_pages) { poison_element() 107 if (pool->alloc == mempool_alloc_slab) kasan_poison_element() 109 if (pool->alloc == mempool_kmalloc) kasan_poison_element() 111 if (pool->alloc == mempool_alloc_pages) kasan_poison_element() 117 if (pool->alloc == mempool_alloc_slab) kasan_unpoison_element() 119 if (pool->alloc == mempool_kmalloc) kasan_unpoison_element() 121 if (pool->alloc == mempool_alloc_pages) kasan_unpoison_element() 202 pool->alloc = alloc_fn; mempool_create_node() 211 element = pool->alloc(gfp_mask, pool->pool_data); mempool_create_node() 281 element = pool->alloc(GFP_KERNEL, pool->pool_data); mempool_resize() 330 element = pool->alloc(gfp_temp, pool->pool_data); mempool_alloc() 350 * alloc failed with that and @pool was empty, retry immediately. mempool_alloc() 444 * A commonly used alloc and free fn. 462 * A commonly used alloc and free fn that kmalloc/kfrees the amount of memory
|
H A D | quicklist.c | 5 * on alloc and free. Pages must be in the quicklist specific defined state
|
H A D | memblock.c | 1097 phys_addr_t alloc; memblock_alloc_base() local 1099 alloc = __memblock_alloc_base(size, align, max_addr); memblock_alloc_base() 1101 if (alloc == 0) memblock_alloc_base() 1105 return alloc; memblock_alloc_base() 1154 phys_addr_t alloc; memblock_virt_alloc_internal() local 1175 alloc = memblock_find_in_range_node(size, align, min_addr, max_addr, memblock_virt_alloc_internal() 1177 if (alloc) memblock_virt_alloc_internal() 1181 alloc = memblock_find_in_range_node(size, align, min_addr, memblock_virt_alloc_internal() 1183 if (alloc) memblock_virt_alloc_internal() 1195 memblock_reserve(alloc, size); memblock_virt_alloc_internal() 1196 ptr = phys_to_virt(alloc); memblock_virt_alloc_internal()
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | dma-mapping.h | 18 /* Since dma_{alloc,free}_noncoherent() allocated coherent memory, this dma_cache_sync() 53 cpu_addr = ops->alloc(dev, size, dma_handle, flag, attrs); dma_alloc_attrs()
|
H A D | futex_64.h | 17 " .section .fixup,#alloc,#execinstr\n" \ 95 " .section .fixup,#alloc,#execinstr\n" futex_atomic_cmpxchg_inatomic()
|
H A D | uaccess_32.h | 163 ".section .fixup,#alloc,#execinstr\n\t" \ 169 ".section __ex_table,#alloc\n\t" \ 270 ".section .fixup,#alloc,#execinstr\n\t" \ 277 ".section __ex_table,#alloc\n\t" \ 289 ".section __ex_table,#alloc\n\t" \ 298 ".section .fixup,#alloc,#execinstr\n\t" \ 304 ".section __ex_table,#alloc\n\t" \ 348 ".section __ex_table,#alloc\n\t" __clear_user()
|
H A D | uaccess_64.h | 127 ".section .fixup,#alloc,#execinstr\n\t" \ 180 ".section .fixup,#alloc,#execinstr\n\t" \ 209 ".section .fixup,#alloc,#execinstr\n\t" \
|
H A D | checksum_32.h | 71 ".section __ex_table,#alloc\n\t" csum_partial_copy_from_user() 99 ".section __ex_table,#alloc\n\t" csum_partial_copy_to_user()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_mem.c | 223 drm_radeon_mem_alloc_t *alloc = data; radeon_mem_alloc() local 231 heap = get_heap(dev_priv, alloc->region); radeon_mem_alloc() 238 if (alloc->alignment < 12) radeon_mem_alloc() 239 alloc->alignment = 12; radeon_mem_alloc() 241 block = alloc_block(*heap, alloc->size, alloc->alignment, file_priv); radeon_mem_alloc() 246 if (copy_to_user(alloc->region_offset, &block->start, radeon_mem_alloc()
|
/linux-4.1.27/arch/xtensa/boot/boot-redboot/ |
H A D | Makefile | 25 --set-section-flags image=contents,alloc,load,load,data \
|
/linux-4.1.27/arch/unicore32/mm/ |
H A D | dma-swiotlb.c | 35 .alloc = unicore_swiotlb_alloc_coherent,
|
/linux-4.1.27/fs/quota/ |
H A D | quotaio_v1.h | 21 __u32 dqb_bhardlimit; /* absolute limit on disk blks alloc */
|
/linux-4.1.27/arch/mn10300/mm/ |
H A D | Makefile | 29 misalignment.o dma-alloc.o $(cacheflush-y)
|
/linux-4.1.27/arch/cris/arch-v32/drivers/pci/ |
H A D | dma.c | 5 * so consistent alloc/free are merely page allocation/freeing.
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | pci-swiotlb.c | 34 .alloc = ia64_swiotlb_alloc_coherent,
|
H A D | pal.S | 32 alloc r3=ar.pfs,1,0,0,0 57 alloc loc1 = ar.pfs,4,5,0,0 100 alloc loc1 = ar.pfs,4,4,4,0 147 alloc loc1 = ar.pfs,4,7,0,0 206 alloc loc1 = ar.pfs,5,7,4,0 265 alloc r3=ar.pfs,1,0,0,0 286 alloc r3=ar.pfs,1,0,0,0
|
H A D | entry.S | 64 alloc loc1=ar.pfs,8,2,3,0 68 ;; // stop bit between alloc and call 112 alloc r16=ar.pfs,8,2,6,0 143 alloc r16=ar.pfs,8,2,6,0 174 alloc r16=ar.pfs,1,0,0,0 589 alloc loc1=ar.pfs,0,3,1,0 1027 * NOTE: alloc, loadrs, and cover can't be predicated. 1056 alloc loc0=ar.pfs,2,Nregs-2,2,0 1069 alloc loc0=ar.pfs,2,Nregs-2,2,0 1075 nop.b 0 // can't do br.call here because of alloc (WAW on CFM) 1096 alloc loc0=ar.pfs,2,Nregs-2,2,0 1120 alloc r17=ar.pfs,0,0,0,0 // drop current register frame 1217 alloc loc1=ar.pfs,8,2,1,0 1237 alloc loc1=ar.pfs,8,2,3,0 // preserve all eight input regs in case of syscall restart! 1267 alloc r2=ar.pfs,8,0,1,0 1323 alloc loc1=ar.pfs,2,3,3,0 1371 alloc out0 = ar.pfs, 8, 0, 4, 0 1390 alloc loc0 = ar.pfs, 4, 4, 2, 0 1421 alloc loc0 = ar.pfs, 4, 4, 2, 0
|
H A D | efi_stub.S | 47 alloc loc1=ar.pfs,8,7,7,0
|
H A D | esi_stub.S | 49 alloc loc1=ar.pfs,2,7,8,0
|
H A D | relocate_kernel.S | 23 alloc r31=ar.pfs,4,0,0,0 191 alloc loc0=ar.pfs,1,2,0,0
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | dma-mapping.h | 21 return get_dma_ops(dev)->alloc(dev, size, dma_handle, gfp, attrs); dma_alloc_attrs()
|
/linux-4.1.27/samples/pktgen/ |
H A D | pktgen.conf-1-1-flows | 32 # We need to do alloc for every skb since we cannot clone here.
|
H A D | pktgen.conf-1-1-ip6-rdos | 34 # We need to do alloc for every skb since we cannot clone here.
|
H A D | pktgen.conf-1-1-rdos | 33 # We need to do alloc for every skb since we cannot clone here.
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | dma-mapping.h | 67 if (!ops->alloc) dma_alloc_attrs() 70 memory = ops->alloc(dev, size, dma_handle, gfp, attrs); dma_alloc_attrs()
|
/linux-4.1.27/tools/perf/tests/ |
H A D | kmod-path.c | 16 pr_debug("%s - alloc name %d, alloc ext %d, kmod %d, comp %d, name '%s', ext '%s'\n", test()
|
/linux-4.1.27/arch/arm64/mm/ |
H A D | mmu.c | 92 void *(*alloc)(unsigned long size)) alloc_init_pte() 97 pte = alloc(PTRS_PER_PTE * sizeof(pte_t)); alloc_init_pte() 127 void *(*alloc)(unsigned long size)) alloc_init_pmd() 136 pmd = alloc(PTRS_PER_PMD * sizeof(pmd_t)); alloc_init_pmd() 171 prot, alloc); alloc_init_pmd() 192 void *(*alloc)(unsigned long size)) alloc_init_pud() 198 pud = alloc(PTRS_PER_PUD * sizeof(pud_t)); alloc_init_pud() 231 alloc_init_pmd(mm, pud, addr, next, phys, prot, alloc); alloc_init_pud() 244 void *(*alloc)(unsigned long size)) __create_mapping() 254 alloc_init_pud(mm, pgd, addr, next, phys, prot, alloc); __create_mapping()
|
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/ |
H A D | usb_urb.c | 141 dev_dbg(&stream->udev->dev, "%s: alloc urb=%d\n", __func__, i); usb_urb_alloc_bulk_urbs() 172 dev_dbg(&stream->udev->dev, "%s: alloc urb=%d\n", __func__, i); usb_urb_alloc_isoc_urbs() 242 dev_dbg(&stream->udev->dev, "%s: alloc buf=%d failed\n", usb_alloc_stream_buffers() 248 dev_dbg(&stream->udev->dev, "%s: alloc buf=%d %p (dma %llu)\n", usb_alloc_stream_buffers() 303 dev_dbg(&stream->udev->dev, "%s: re-alloc urbs\n", __func__); usb_urb_reconfig()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
H A D | perf_event_intel_uncore_nhmex.c | 666 int i, idx[2], alloc = 0; nhmex_mbox_get_constraint() local 673 if (!uncore_box_is_fake(box) && (reg1->alloc & (0x1 << i))) nhmex_mbox_get_constraint() 682 alloc |= (0x1 << i); nhmex_mbox_get_constraint() 687 (uncore_box_is_fake(box) || !reg2->alloc) && nhmex_mbox_get_constraint() 695 * on each event, this avoids the need for reg->alloc. nhmex_mbox_get_constraint() 700 reg1->alloc |= alloc; nhmex_mbox_get_constraint() 702 reg2->alloc = 1; nhmex_mbox_get_constraint() 706 if (idx[0] != 0xff && !(alloc & 0x1) && nhmex_mbox_get_constraint() 724 if (alloc & 0x1) nhmex_mbox_get_constraint() 726 if (alloc & 0x2) nhmex_mbox_get_constraint() 739 if (reg1->alloc & 0x1) nhmex_mbox_put_constraint() 741 if (reg1->alloc & 0x2) nhmex_mbox_put_constraint() 743 reg1->alloc = 0; nhmex_mbox_put_constraint() 745 if (reg2->alloc) { nhmex_mbox_put_constraint() 747 reg2->alloc = 0; nhmex_mbox_put_constraint() 982 if (!uncore_box_is_fake(box) && reg1->alloc) nhmex_rbox_get_constraint() 1048 reg1->alloc = 1; nhmex_rbox_get_constraint() 1061 if (uncore_box_is_fake(box) || !reg1->alloc) nhmex_rbox_put_constraint() 1076 reg1->alloc = 0; nhmex_rbox_put_constraint()
|
H A D | perf_event_intel_uncore_snbep.c | 650 if (reg1->alloc & (0x1 << i)) snbep_cbox_put_constraint() 653 reg1->alloc = 0; snbep_cbox_put_constraint() 662 int i, alloc = 0; __snbep_cbox_get_constraint() local 673 if (!uncore_box_is_fake(box) && (reg1->alloc & (0x1 << i))) __snbep_cbox_get_constraint() 682 alloc |= (0x1 << i); __snbep_cbox_get_constraint() 692 reg1->alloc |= alloc; __snbep_cbox_get_constraint() 697 if (alloc & (0x1 << i)) __snbep_cbox_get_constraint() 799 (!uncore_box_is_fake(box) && reg1->alloc)) snbep_pcu_get_constraint() 825 reg1->alloc = 1; snbep_pcu_get_constraint() 835 if (uncore_box_is_fake(box) || !reg1->alloc) snbep_pcu_put_constraint() 839 reg1->alloc = 0; snbep_pcu_put_constraint()
|
/linux-4.1.27/drivers/s390/net/ |
H A D | fsm.c | 27 "fsm(%s): init_fsm: Couldn't alloc instance\n", name); init_fsm() 36 "fsm(%s): init_fsm: Couldn't alloc fsm\n", name); init_fsm() 49 "fsm(%s): init_fsm: Couldn't alloc jumptable\n", name); init_fsm()
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | edma.h | 114 /* alloc/free DMA channels and their dedicated parameter RAM slots */ 120 /* alloc/free parameter RAM slots */ 124 /* alloc/free a set of contiguous parameter RAM slots */
|
/linux-4.1.27/net/rds/ |
H A D | ib_ring.c | 48 * the alloc code has to determine the number of free entries. 55 * caller finds an allocation fails, it should set an "alloc fail" 56 * bit and retry the allocation. The "alloc fail" bit essentially tells
|
H A D | iw_ring.c | 48 * the alloc code has to determine the number of free entries. 55 * caller finds an allocation fails, it should set an "alloc fail" 56 * bit and retry the allocation. The "alloc fail" bit essentially tells
|
H A D | page.c | 147 /* alloc if there is nothing for us to use */ rds_page_remainder_alloc() 167 /* otherwise install our page and loop around to alloc */ rds_page_remainder_alloc()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | una_asm_32.S | 60 .section __ex_table,#alloc 139 .section __ex_table,#alloc
|
H A D | ftrace.c | 35 " .section .fixup,#alloc,#execinstr\n" ftrace_modify_code()
|
/linux-4.1.27/fs/jfs/ |
H A D | jfs_dmap.h | 210 __le32 dn_maxag; /* 4: max active alloc group number */ 211 __le32 dn_agpref; /* 4: preferred alloc group (hint) */ 216 __le32 dn_agl2size; /* 4: l2 num of blks per alloc group */ 218 __le64 dn_agsize; /* 8: num of blks per alloc group */ 229 int dn_maxag; /* max active alloc group number */ 230 int dn_agpref; /* preferred alloc group (hint) */ 235 int dn_agl2size; /* l2 num of blks per alloc group */ 237 s64 dn_agsize; /* num of blks per alloc group */
|
/linux-4.1.27/drivers/iommu/ |
H A D | io-pgtable.c | 57 iop = fns->alloc(cfg, cookie); alloc_io_pgtable_ops()
|
H A D | io-pgtable.h | 135 * @alloc: Allocate a set of page tables described by cfg. 139 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie); member in struct:io_pgtable_init_fns
|
/linux-4.1.27/drivers/staging/gs_fpgaboot/ |
H A D | gs_fpgaboot.h | 38 * NOTE: use MAX_STR instead of dynamic alloc for simplicity
|
/linux-4.1.27/drivers/firmware/efi/libstub/ |
H A D | Makefile | 39 OBJCOPYFLAGS := --prefix-alloc-sections=.init
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | pci-swiotlb.c | 43 .alloc = x86_swiotlb_alloc_coherent,
|
H A D | pci-nommu.c | 92 .alloc = dma_generic_alloc_coherent,
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | dma-nommu.c | 66 .alloc = dma_generic_alloc_coherent,
|
/linux-4.1.27/drivers/uwb/ |
H A D | drp-ie.c | 299 const struct uwb_drp_alloc *alloc; uwb_drp_ie_to_bm() local 308 alloc = &drp_ie->allocs[cnt]; uwb_drp_ie_to_bm() 309 zone_bm = le16_to_cpu(alloc->zone_bm); uwb_drp_ie_to_bm() 310 mas_bm = le16_to_cpu(alloc->mas_bm); uwb_drp_ie_to_bm()
|
/linux-4.1.27/include/linux/ |
H A D | slab_def.h | 20 /* 2) touched by every alloc & free from the backend */
|
H A D | mempool.h | 21 mempool_alloc_t *alloc; member in struct:mempool_s
|
H A D | slub_def.h | 34 CPU_PARTIAL_ALLOC, /* Used cpu partial on alloc */ 76 gfp_t allocflags; /* gfp flags to use on each alloc */
|
H A D | shmem_fs.h | 22 struct shared_policy policy; /* NUMA memory alloc policy */
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | dma-mapping.h | 70 cpu_addr = ops->alloc(dev, size, dma_handle, flags, attrs); dma_alloc_attrs()
|
H A D | airq.h | 37 spinlock_t lock; /* Lock to protect alloc & free */
|
H A D | perf_event.h | 65 #define SFB_ALLOC_REG(hwc) ((hwc)->extra_reg.alloc)
|
/linux-4.1.27/arch/sh/kernel/cpu/ |
H A D | fpu.c | 63 * does a slab alloc which can sleep fpu_state_restore()
|
/linux-4.1.27/arch/arm/mm/ |
H A D | proc-arm9tdmi.S | 73 .section ".proc.info.init", #alloc
|
H A D | proc-v7m.S | 76 .section ".text.init", #alloc, #execinstr 138 .section ".proc.info.init", #alloc
|
H A D | proc-arm7tdmi.S | 79 .section ".proc.info.init", #alloc
|
/linux-4.1.27/net/ceph/ |
H A D | msgpool.c | 64 /* try to alloc a fresh message */ ceph_msgpool_get()
|
/linux-4.1.27/drivers/net/ethernet/ |
H A D | ec_bhf.c | 126 u8 *alloc; member in struct:bhf_dma 350 buf->alloc = dma_alloc_coherent(dev, buf->alloc_len, &buf->alloc_phys, ec_bhf_alloc_dma_mem() 352 if (buf->alloc == NULL) { ec_bhf_alloc_dma_mem() 358 buf->buf = buf->alloc + (buf->buf_phys - buf->alloc_phys); ec_bhf_alloc_dma_mem() 436 dma_free_coherent(dev, priv->rx_buf.alloc_len, priv->rx_buf.alloc, ec_bhf_open() 454 priv->tx_buf.alloc, priv->tx_buf.alloc_phys); ec_bhf_stop() 456 priv->rx_buf.alloc, priv->rx_buf.alloc_phys); ec_bhf_stop()
|
/linux-4.1.27/drivers/base/ |
H A D | component.c | 22 size_t alloc; member in struct:component_match 237 if (match && match->alloc == num) component_match_realloc() 251 new->alloc = num; component_match_realloc() 269 if (!match || match->num == match->alloc) { component_match_add() 270 size_t new_size = match ? match->alloc + 16 : 15; component_match_add()
|
/linux-4.1.27/drivers/irqchip/ |
H A D | irq-orion.c | 75 panic("%s: unable to alloc irq domain gc\n", np->name); orion_irq_init() 161 pr_err("%s: unable to alloc irq domain gc\n", np->name); orion_bridge_irq_init()
|
H A D | irq-mtk-sysirq.c | 116 .alloc = mtk_sysirq_domain_alloc,
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | dfs_debug.c | 79 ATH9K_DFS_POOL_STAT("Pulses alloc error ", pulse_alloc_error); read_file_dfs() 82 ATH9K_DFS_POOL_STAT("Seqs. alloc error ", pseq_alloc_error); read_file_dfs()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | recv_linux.c | 43 /*alloc os related resource in union recv_frame*/ r8712_os_recv_resource_alloc() 51 /*alloc os related resource in struct recv_buf*/ r8712_os_recvbuf_resource_alloc()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
H A D | recv_linux.c | 31 /* alloc os related resource in struct recv_frame */ rtw_os_recv_resource_alloc() 40 /* alloc os related resource in struct recv_buf */ rtw_os_recvbuf_resource_alloc()
|
H A D | osdep_service.c | 56 pr_info("%s: alloc memory fail!\n", __func__); rtw_malloc2d()
|
/linux-4.1.27/arch/sparc/lib/ |
H A D | memset.S | 14 #define ALLOC #alloc 181 .section .fixup,#alloc,#execinstr
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | dma-mapping.h | 148 if (!ops->alloc) dma_alloc_attrs() 151 memory = ops->alloc(dev, size, dma_handle, dma_alloc_attrs()
|
H A D | calgary.h | 36 unsigned long it_hint; /* Hint for next alloc */
|
/linux-4.1.27/fs/sysv/ |
H A D | ialloc.c | 10 * xenix/alloc.c 13 * coh/alloc.c
|
H A D | balloc.c | 10 * xenix/alloc.c 13 * coh/alloc.c
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
H A D | capimain.c | 57 * alloc a message buffer
|
/linux-4.1.27/drivers/staging/rtl8188eu/hal/ |
H A D | rtl8188eu_recv.c | 49 ("alloc recv_buf fail!\n")); rtl8188eu_init_recv_priv()
|
/linux-4.1.27/drivers/oprofile/ |
H A D | nmi_timer_int.c | 162 nmi_timer_shutdown(); /* only check, don't alloc */ op_nmi_timer_init()
|
/linux-4.1.27/arch/x86/xen/ |
H A D | pci-swiotlb-xen.c | 23 .alloc = xen_swiotlb_alloc_coherent,
|
/linux-4.1.27/arch/sh/lib64/ |
H A D | copy_page.S | 75 alloco r2, 0x40 ! alloc destination line 2 lines ahead
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | pm.c | 115 printk(KERN_ERR "failed to alloc memory for pm save\n"); puv3_pm_init()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | dma-mapping.h | 77 ret = ops->alloc(dev, size, dma_handle, gfp, attrs); dma_alloc_attrs()
|
/linux-4.1.27/arch/mips/lantiq/xway/ |
H A D | xrx200_phy_fw.c | 71 dev_err(&pdev->dev, "failed to alloc firmware memory\n"); xway_gphy_load()
|
/linux-4.1.27/arch/openrisc/include/asm/ |
H A D | dma-mapping.h | 50 memory = ops->alloc(dev, size, dma_handle, gfp, attrs); dma_alloc_attrs()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | dma-swiotlb.c | 50 .alloc = dma_direct_alloc_coherent,
|
H A D | pci_64.c | 115 pr_debug(" alloc=0x%p\n", hose->io_base_alloc); pcibios_unmap_io_space() 155 pr_debug(" phys=0x%016llx, virt=0x%p (alloc=0x%p)\n", pcibios_map_phb_io_space() 157 pr_debug(" size=0x%016llx (alloc=0x%016lx)\n", pcibios_map_phb_io_space()
|
H A D | dma-iommu.c | 109 .alloc = dma_iommu_alloc_coherent,
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | dma-mapping.h | 35 caddr = ops->alloc(dev, size, daddr, gfp, attrs); dma_alloc_attrs()
|
/linux-4.1.27/arch/ia64/lib/ |
H A D | copy_page.S | 40 alloc saved_pfs=ar.pfs,3,Nrot-3,0,Nrot
|
H A D | ip_fast_csum.S | 81 alloc r35=ar.pfs,2,2,2,0
|
H A D | memcpy.S | 49 alloc saved_pfs=ar.pfs,3,Nrot,0,Nrot 182 alloc t3=ar.pfs,3,Nrot,0,Nrot // resize register frame
|
/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | pm.c | 110 printk(KERN_ERR "failed to alloc memory for pm save\n"); pxa_pm_init()
|
/linux-4.1.27/arch/arm/mach-spear/ |
H A D | spear13xx.c | 35 * write alloc and 'Full line of zero' options spear13xx_l2x0_init()
|
/linux-4.1.27/security/selinux/include/ |
H A D | audit.h | 22 * selinux_audit_rule_init - alloc/init an selinux audit rule structure.
|
/linux-4.1.27/sound/soc/intel/atom/sst/ |
H A D | sst_stream.c | 98 dev_dbg(sst_drv_ctx->dev, "alloc tstamp location = 0x%x\n", sst_alloc_stream_mrfld() 114 dev_err(sst_drv_ctx->dev, "FW alloc failed ret %d\n", ret); sst_alloc_stream_mrfld() 115 /* alloc failed, so reset the state to uninit */ sst_alloc_stream_mrfld() 123 dev_err(sst_drv_ctx->dev, "FW alloc failed ret %d\n", ret); sst_alloc_stream_mrfld()
|
/linux-4.1.27/drivers/scsi/arm/ |
H A D | queue.c | 73 queue->alloc = q = kmalloc(sizeof(QE_t) * nqueues, GFP_KERNEL); queue_initialise() 82 return queue->alloc != NULL; queue_initialise() 94 kfree(queue->alloc); queue_free()
|
H A D | queue.h | 17 void *alloc; /* start of allocated mem */ member in struct:__anon8658
|
/linux-4.1.27/drivers/of/ |
H A D | of_reserved_mem.c | 92 * and 'alloc-ranges' properties 128 prop = of_get_flat_dt_prop(node, "alloc-ranges", &len); __reserved_mem_alloc_size() 132 pr_err("Reserved memory: invalid alloc-ranges property in '%s', skipping node.\n", __reserved_mem_alloc_size()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | gpuobj.c | 81 ret = imem->alloc(imem, parent, size, align, &parent); nvkm_gpuobj_create_() 89 if (bar && bar->alloc) { nvkm_gpuobj_create_() 93 if (!bar->alloc(bar, parent, node, &pargpu)) { nvkm_gpuobj_create_()
|
/linux-4.1.27/crypto/ |
H A D | lrw.c | 326 static struct crypto_instance *alloc(struct rtattr **tb) alloc() function 383 .alloc = alloc,
|
H A D | xts.c | 287 static struct crypto_instance *alloc(struct rtattr **tb) alloc() function 345 .alloc = alloc,
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
H A D | rtl819x_BAProc.c | 95 RTLLIB_DEBUG(RTLLIB_DL_ERR, "can't alloc skb for ADDBA_REQ\n"); rtllib_ADDBA() 161 RTLLIB_DEBUG(RTLLIB_DL_ERR, "can't alloc skb for ADDBA_REQ\n"); rtllib_DELBA() 206 "alloc skb error in function %s()\n", __func__); rtllib_send_ADDBAReq() 220 "alloc skb error in function %s()\n", __func__); rtllib_send_ADDBARsp() 234 "alloc skb error in function %s()\n", __func__); rtllib_send_DELBA()
|
/linux-4.1.27/drivers/pinctrl/samsung/ |
H A D | pinctrl-exynos5440.c | 211 dev_err(dev, "could not alloc memory for pin-maps\n"); exynos5440_dt_node_to_map() 222 dev_err(dev, "failed to alloc memory for group name\n"); exynos5440_dt_node_to_map() 237 dev_err(dev, "failed to alloc memory for configs\n"); exynos5440_dt_node_to_map() 261 dev_err(dev, "failed to alloc memory for func name\n"); exynos5440_dt_node_to_map() 718 dev_err(dev, "failed to alloc memory for group name\n"); for_each_child_of_node() 739 dev_err(dev, "failed to alloc memory for func name\n"); for_each_child_of_node() 748 dev_err(dev, "failed to alloc memory for group list " for_each_child_of_node() 792 dev_err(&pdev->dev, "mem alloc for pin descriptors failed\n"); exynos5440_pinctrl_register() 809 dev_err(&pdev->dev, "mem alloc for pin names failed\n"); exynos5440_pinctrl_register() 849 dev_err(&pdev->dev, "mem alloc for gpio_chip failed\n"); exynos5440_gpiolib_register()
|
/linux-4.1.27/arch/cris/arch-v10/drivers/ |
H A D | sync_serial.c | 471 printk(KERN_CRIT "Can't alloc " sync_serial_open() 478 printk(KERN_CRIT "Can't alloc " sync_serial_open() 487 printk(KERN_CRIT "Can't alloc " sync_serial_open() 498 printk(KERN_CRIT "Can't alloc " sync_serial_open() 526 printk(KERN_CRIT "Can't alloc " sync_serial_open() 533 printk(KERN_CRIT "Can't alloc " sync_serial_open() 542 printk(KERN_CRIT "Can't alloc " sync_serial_open() 553 printk(KERN_CRIT "Can't alloc " sync_serial_open() 587 printk(KERN_CRIT "Can't alloc " sync_serial_open() 597 printk(KERN_CRIT "Can't alloc " sync_serial_open()
|
/linux-4.1.27/sound/oss/ |
H A D | sequencer.c | 421 for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) find_voice() 422 if (synth_devs[dev]->alloc.map[i] == key) find_voice() 435 &synth_devs[dev]->alloc); alloc_voice() 436 synth_devs[dev]->alloc.map[voice] = key; alloc_voice() 437 synth_devs[dev]->alloc.alloc_times[voice] = alloc_voice() 438 synth_devs[dev]->alloc.timestamp++; alloc_voice() 586 for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) seq_chn_common_event() 587 if ((synth_devs[dev]->alloc.map[i] & 0xff00) == key) seq_chn_common_event() 612 for (i = 0; i < synth_devs[dev]->alloc.max_voice; i++) seq_chn_common_event() 613 if ((synth_devs[dev]->alloc.map[i] & 0xff00) == key) seq_chn_common_event()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
H A D | rtl819x_BAProc.c | 126 IEEE80211_DEBUG(IEEE80211_DL_ERR, "can't alloc skb for ADDBA_REQ\n"); ieee80211_ADDBA() 130 memset(skb->data, 0, sizeof( struct ieee80211_hdr_3addr)); //I wonder whether it's necessary. Apparently kernel will not do it when alloc a skb. ieee80211_ADDBA() 214 IEEE80211_DEBUG(IEEE80211_DL_ERR, "can't alloc skb for ADDBA_REQ\n"); ieee80211_DELBA() 269 IEEE80211_DEBUG(IEEE80211_DL_ERR, "alloc skb error in function %s()\n", __func__); ieee80211_send_ADDBAReq() 294 IEEE80211_DEBUG(IEEE80211_DL_ERR, "alloc skb error in function %s()\n", __func__); ieee80211_send_ADDBARsp() 323 IEEE80211_DEBUG(IEEE80211_DL_ERR, "alloc skb error in function %s()\n", __func__); ieee80211_send_DELBA()
|
/linux-4.1.27/kernel/power/ |
H A D | snapshot.c | 1403 unsigned long alloc; preallocate_image_memory() local 1408 alloc = avail_normal - alloc_normal; preallocate_image_memory() 1409 if (nr_pages < alloc) preallocate_image_memory() 1410 alloc = nr_pages; preallocate_image_memory() 1412 return preallocate_image_pages(alloc, GFP_IMAGE); preallocate_image_memory() 1435 unsigned long alloc = __fraction(nr_pages, highmem, total); preallocate_highmem_fraction() local 1437 return preallocate_image_pages(alloc, GFP_IMAGE | __GFP_HIGHMEM); preallocate_highmem_fraction() 1563 unsigned long alloc, save_highmem, pages_highmem, avail_normal; hibernate_preallocate_memory() local 1655 alloc = count - max_size; 1656 if (alloc > pages_highmem) 1657 alloc -= pages_highmem; 1659 alloc = 0; 1660 pages = preallocate_image_memory(alloc, avail_normal); 1661 if (pages < alloc) { 1663 alloc -= pages; 1665 pages_highmem = preallocate_image_highmem(alloc); 1666 if (pages_highmem < alloc) 1673 alloc = (count - pages) - size; 1674 pages += preallocate_image_highmem(alloc); 1680 alloc = max_size - size; 1681 size = preallocate_highmem_fraction(alloc, highmem, count); 1683 alloc -= size; 1684 size = preallocate_image_memory(alloc, avail_normal); 1685 pages_highmem += preallocate_image_highmem(alloc - size);
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
H A D | arcmsr_attr.c | 227 printk(KERN_ERR "arcmsr: alloc sysfs mu_read failed\n"); arcmsr_alloc_sysfs_attr() 232 printk(KERN_ERR "arcmsr: alloc sysfs mu_write failed\n"); arcmsr_alloc_sysfs_attr() 237 printk(KERN_ERR "arcmsr: alloc sysfs mu_clear failed\n"); arcmsr_alloc_sysfs_attr()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | imx21-dbg.c | 220 if (etd->alloc) debug_status_show() 306 "alloc: %d\n" debug_etd_show() 315 etd->alloc, debug_etd_show()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | gfs2_ondisk.h | 269 __be64 di_goal_meta; /* rgrp to alloc from next */ 474 __be64 qb_limit; /* Hard limit of # blocks to alloc */ 475 __be64 qb_warn; /* Warn user when alloc is above this # */
|
/linux-4.1.27/drivers/media/radio/ |
H A D | radio-aztech.c | 121 .alloc = aztech_alloc,
|
H A D | radio-rtrack2.c | 103 .alloc = rtrack2_alloc,
|
/linux-4.1.27/drivers/net/fddi/skfp/h/ |
H A D | sba.h | 140 u_long alloc_trans_id ; /* trans id of the last alloc req */
|
H A D | fddimib.h | 98 u_long fddiESSPayload ; /* payload for static alloc */ 99 u_long fddiESSOverhead ; /* frame ov for static alloc */
|
/linux-4.1.27/drivers/net/wireless/ath/ |
H A D | main.c | 55 pr_err("skbuff alloc of size %u failed\n", len); ath_rxbuf_alloc()
|
/linux-4.1.27/drivers/fmc/ |
H A D | fmc-match.c | 15 /* The fru parser is both user and kernel capable: it needs alloc */ fru_alloc()
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_qp_grp.c | 216 usnic_err("Unable to alloc flow failed with err %ld\n", create_roce_custom_flow() 291 usnic_err("Unable to alloc flow failed with err %ld\n", create_udp_flow() 683 usnic_err("Unable to alloc qp_grp - Out of memory\n"); usnic_ib_qp_grp_create() 692 usnic_err("Unable to alloc res for %d with err %d\n", usnic_ib_qp_grp_create()
|
/linux-4.1.27/drivers/crypto/amcc/ |
H A D | crypto4xx_core.c | 187 * alloc memory for the gather ring 188 * no need to alloc buf for the ring 227 /* alloc 256 bytes which is enough for any kind of dynamic sa */ crypto4xx_build_pdr() 231 /* alloc state record */ crypto4xx_build_pdr() 301 * alloc memory for the gather ring 302 * no need to alloc buf for the ring 379 * alloc memory for the scatter ring 380 * need to alloc buf for the ring 388 /* alloc memory for scatter descriptor ring */ crypto4xx_build_sdr()
|
/linux-4.1.27/drivers/crypto/caam/ |
H A D | intern.h | 56 dma_addr_t *inpring; /* Base of input ring, alloc DMA-safe */
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | pci-dma.c | 325 .alloc = tile_dma_alloc_coherent, 512 .alloc = tile_pci_dma_alloc_coherent, 548 .alloc = tile_swiotlb_alloc_coherent, 563 .alloc = tile_swiotlb_alloc_coherent,
|
/linux-4.1.27/arch/unicore32/include/asm/ |
H A D | dma-mapping.h | 93 return dma_ops->alloc(dev, size, dma_handle, flag, attrs); dma_alloc_attrs()
|
/linux-4.1.27/arch/x86/crypto/ |
H A D | fpu.c | 149 .alloc = crypto_fpu_alloc,
|
/linux-4.1.27/arch/metag/kernel/ |
H A D | tcm.c | 119 pr_err("Failed to alloc memory for TCM pool!\n"); tcm_add_region()
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | dma-mapping.h | 116 memory = ops->alloc(dev, size, dma_handle, flag, attrs); dma_alloc_attrs()
|
/linux-4.1.27/arch/mips/boot/compressed/ |
H A D | Makefile | 65 --set-section-flags=.image=contents,alloc,load,readonly,data
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-a4tech.c | 95 hid_err(hdev, "can't alloc device descriptor\n"); a4_probe()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | buffer.c | 106 /* sometimes alloc/free could use kmalloc with GFP_DMA, for
|
/linux-4.1.27/include/linux/sunrpc/ |
H A D | rpc_pipe_fs.h | 114 struct rpc_pipe_dir_object *(*alloc)(void *),
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | os_info.c | 88 msg = "alloc failed"; os_info_old_alloc()
|
/linux-4.1.27/arch/mips/loongson/common/ |
H A D | dma-swiotlb.c | 131 .alloc = loongson_dma_alloc_coherent,
|
/linux-4.1.27/arch/mips/netlogic/common/ |
H A D | nlm-dma.c | 81 .alloc = nlm_dma_alloc_coherent,
|
/linux-4.1.27/arch/cris/mm/ |
H A D | tlb.c | 40 D(printk("tlb: alloc context %d (%p)\n", map_replace_ptr, mm)); alloc_context()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
H A D | dma-mapping.h | 84 ret = ops->alloc(dev, size, dma_handle, flag, attrs); dma_alloc_attrs()
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | pgtable-3level-hwdef.h | 64 #define PMD_SECT_WBWA (_AT(pmdval_t, 7) << 2) /* normal inner write-alloc */
|
/linux-4.1.27/arch/arm/include/asm/xen/ |
H A D | page-coherent.h | 24 return __generic_dma_ops(hwdev)->alloc(hwdev, size, dma_handle, flags, attrs); xen_alloc_coherent_pages()
|
/linux-4.1.27/arch/arm/mach-omap1/ |
H A D | timer.c | 115 pr_err("%s: Failed to device alloc for dmtimer%d\n", omap1_dm_timer_init()
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | pci-noop.c | 179 .alloc = alpha_noop_alloc_coherent,
|
/linux-4.1.27/arch/arc/include/asm/ |
H A D | thread_info.h | 10 * anyways one page allocation, thus slab alloc can be short-circuited and
|
H A D | mmu_context.h | 68 * Move to new ASID if it was not from current alloc-cycle/generation. get_new_mmu_context() 129 If task doesn't have an ASID (never alloc or stolen, get a new ASID)
|
/linux-4.1.27/arch/arm/boot/bootp/ |
H A D | init.S | 19 .section .start,#alloc,#execinstr
|
/linux-4.1.27/net/netfilter/ |
H A D | nf_conntrack_tftp.c | 64 nf_ct_helper_log(skb, ct, "cannot alloc expectation"); tftp_help()
|
/linux-4.1.27/fs/afs/ |
H A D | afs_vl.h | 54 AFSVL_NOMEM = 363547, /* malloc/realloc failed to alloc enough memory */
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
H A D | remote_perm.c | 188 CERROR("alloc lli_remote_perms failed!\n"); ll_update_remote_perm() 221 CERROR("alloc memory for ll_remote_perm failed!\n");
|
/linux-4.1.27/drivers/pinctrl/ |
H A D | devicetree.c | 85 dev_err(p->dev, "failed to alloc struct pinctrl_dt_map\n"); dt_remember_or_free_map() 165 dev_err(p->dev, "failed to alloc struct pinctrl_map\n"); dt_remember_dummy_state()
|
/linux-4.1.27/arch/x86/boot/compressed/ |
H A D | eboot.c | 87 efi_printk(sys_table, "Failed to alloc mem for file info\n"); __file_size32() 140 efi_printk(sys_table, "Failed to alloc mem for file info\n"); __file_size64() 333 efi_printk(sys_table, "Failed to alloc mem for rom\n"); __setup_efi_pci32() 441 efi_printk(sys_table, "Failed to alloc mem for rom\n"); __setup_efi_pci64() 553 efi_printk(sys_table, "Failed to alloc mem for pci_handle\n"); setup_efi_pci() 1087 efi_printk(sys_table, "Failed to alloc lowmem for boot params\n"); make_boot_params() 1426 efi_printk(sys_table, "Failed to alloc mem for gdt structure\n"); efi_main() 1434 efi_printk(sys_table, "Failed to alloc mem for gdt\n"); efi_main()
|
/linux-4.1.27/drivers/block/rsxx/ |
H A D | dev.c | 264 dev_err(CARD_TO_DEV(card), "Failed queue alloc\n"); rsxx_setup_dev() 271 dev_err(CARD_TO_DEV(card), "Failed disk alloc\n"); rsxx_setup_dev()
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
H A D | dma-octeon.c | 243 .alloc = octeon_dma_alloc_coherent, 329 .alloc = octeon_dma_alloc_coherent,
|
/linux-4.1.27/arch/c6x/platforms/ |
H A D | megamod-pic.c | 210 pr_err("%s: Could not alloc PIC structure.\n", np->full_name); init_megamod_pic() 217 pr_err("%s: Could not alloc host.\n", np->full_name); init_megamod_pic()
|
/linux-4.1.27/arch/ia64/sn/kernel/ |
H A D | io_init.c | 160 panic("%s: Unable to alloc memory for pcidev_info", __func__); sn_io_slot_fixup() 164 panic("%s: Unable to alloc memory for sn_irq_info", __func__); sn_io_slot_fixup()
|
/linux-4.1.27/sound/soc/intel/common/ |
H A D | sst-firmware.c | 355 dev_err(dsp->dev, "error: DMA alloc failed\n"); sst_fw_new() 681 dev_err(dsp->dev, "error: can't alloc blocks %d\n", ret); sst_alloc_blocks() 804 /* alloc blocks that includes this section */ sst_module_alloc_blocks() 882 /* alloc blocks that includes this section */ sst_module_runtime_alloc_blocks() 889 /* alloc blocks that includes this section */ sst_module_runtime_alloc_blocks() 944 dev_err(dsp->dev, "error: DMA context alloc failed\n"); sst_module_runtime_save() 1112 /* alloc blocks that includes this section */ sst_block_alloc_scratch() 1123 dev_err(dsp->dev, "error: can't alloc scratch blocks\n"); sst_block_alloc_scratch()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_cm.c | 276 PDBG("%s alloc ep %p\n", __func__, epc); alloc_ep() 395 printk(KERN_ERR MOD "%s - failed to alloc skb\n", __func__); send_halfclose() 414 printk(KERN_ERR MOD "%s - failed to alloc skb.\n", send_abort() 441 printk(KERN_ERR MOD "%s - failed to alloc skb.\n", send_connect() 547 printk(KERN_ERR MOD "%s - cannot alloc skb!\n", __func__); send_mpa_reject() 596 printk(KERN_ERR MOD "%s - cannot alloc skb!\n", __func__); send_mpa_reply() 801 printk(KERN_ERR MOD "update_rx_credits - cannot alloc skb!\n"); update_rx_credits() 1208 printk(KERN_ERR MOD "t3c_listen_start failed to alloc skb!\n"); listen_start() 1250 printk(KERN_ERR MOD "%s - failed to alloc skb\n", __func__); listen_stop() 1910 printk(KERN_ERR MOD "%s - cannot alloc ep.\n", __func__); iwch_connect() 1939 printk(KERN_ERR MOD "%s - cannot alloc atid.\n", __func__); iwch_connect() 1957 printk(KERN_ERR MOD "%s - cannot alloc l2e.\n", __func__); iwch_connect() 2002 printk(KERN_ERR MOD "%s - cannot alloc ep.\n", __func__); iwch_create_listen() 2019 printk(KERN_ERR MOD "%s - cannot alloc atid.\n", __func__); iwch_create_listen()
|
/linux-4.1.27/drivers/md/ |
H A D | dm-log-writes.c | 200 DMERR("Couldn't alloc log bio"); write_metadata() 212 DMERR("Couldn't alloc log page"); write_metadata() 264 DMERR("Couldn't alloc log bio"); log_one_block() 287 DMERR("Couldn't alloc log bio"); log_one_block() 460 ti->error = "Couldn't alloc kthread"; log_writes_ctr()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
H A D | ql4_bsg.c | 50 ql4_printk(KERN_ERR, ha, "%s: dma alloc failed for flash " qla4xxx_read_flash() 117 ql4_printk(KERN_ERR, ha, "%s: dma alloc failed for flash " qla4xxx_update_flash() 245 ql4_printk(KERN_ERR, ha, "%s: dma alloc failed for nvram " qla4xxx_read_nvram() 316 ql4_printk(KERN_ERR, ha, "%s: dma alloc failed for flash " qla4xxx_update_nvram() 423 ql4_printk(KERN_ERR, ha, "%s: dma alloc failed for acb " qla4xxx_bsg_get_acb()
|