/linux-4.4.14/drivers/nvdimm/ |
D | btt.c | 224 debugfs_create_u32("nfree", S_IRUGO, d, &a->nfree); in arena_debugfs_init() 428 for (i = 0; i < arena->nfree; i++) { in btt_log_init() 450 arena->freelist = kcalloc(arena->nfree, sizeof(struct free_entry), in btt_freelist_init() 455 for (i = 0; i < arena->nfree; i++) { in btt_freelist_init() 497 arena->rtt = kcalloc(arena->nfree, sizeof(u32), GFP_KERNEL); in btt_rtt_init() 508 arena->map_locks = kcalloc(arena->nfree, sizeof(struct aligned_lock), in btt_maplocks_init() 513 for (i = 0; i < arena->nfree; i++) in btt_maplocks_init() 539 arena->nfree = BTT_DEFAULT_NFREE; in alloc_arena() 550 logsize = roundup(2 * arena->nfree * sizeof(struct log_entry), in alloc_arena() 557 arena->external_nlba = arena->internal_nlba - arena->nfree; in alloc_arena() [all …]
|
D | dimm_devs.c | 311 u32 nfree; in available_slots_show() local 317 nfree = nd_label_nfree(ndd); in available_slots_show() 318 if (nfree - 1 > nfree) { in available_slots_show() 320 nfree = 0; in available_slots_show() 322 nfree--; in available_slots_show() 323 rc = sprintf(buf, "%d\n", nfree); in available_slots_show()
|
D | btt.h | 66 __le32 nfree; member 131 u32 nfree; member
|
D | label.c | 459 u32 nfree = ALIGN(nslot, BITS_PER_LONG); in nd_label_write_index() local 462 memset(nsindex->free, 0xff, nfree / 8); in nd_label_write_index() 463 for (i = 0, last_bits = nfree - nslot; i < last_bits; i++) in nd_label_write_index() 610 int i, l, alloc, victims, nfree, old_num_resources, nlabel, rc = -ENXIO; in __blk_label_update() local 624 nfree = nd_label_nfree(ndd); in __blk_label_update() 668 if (nfree - alloc < 0 || nfree - alloc + victims < 1) { in __blk_label_update()
|
/linux-4.4.14/fs/nilfs2/ |
D | alloc.c | 143 unsigned long nfree; in nilfs_palloc_group_desc_nfrees() local 146 nfree = le32_to_cpu(desc->pg_nfrees); in nilfs_palloc_group_desc_nfrees() 148 return nfree; in nilfs_palloc_group_desc_nfrees() 161 u32 nfree; in nilfs_palloc_group_desc_add_entries() local 165 nfree = le32_to_cpu(desc->pg_nfrees); in nilfs_palloc_group_desc_add_entries() 167 return nfree; in nilfs_palloc_group_desc_add_entries() 747 u32 nfree; in nilfs_palloc_freev() local 831 nfree = nilfs_palloc_group_desc_add_entries(desc, lock, n); in nilfs_palloc_freev() 837 if (nfree == nilfs_palloc_entries_per_group(inode)) { in nilfs_palloc_freev()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | l2t.h | 76 atomic_t nfree; /* number of free entries */ member 146 atomic_dec(&d->nfree); in l2t_hold()
|
D | l2t.c | 222 if (!atomic_read(&d->nfree)) in alloc_l2e() 233 atomic_dec(&d->nfree); in alloc_l2e() 273 atomic_inc(&d->nfree); in t3_l2e_free() 453 atomic_set(&d->nfree, l2t_capacity - 1); in t3_init_l2t()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | clip_tbl.c | 112 atomic_dec(&ctbl->nfree); in cxgb4_clip_get() 175 atomic_inc(&ctbl->nfree); in cxgb4_clip_release() 261 seq_printf(seq, "Free clip entries : %d\n", atomic_read(&ctbl->nfree)); in clip_tbl_show() 291 atomic_set(&ctbl->nfree, clipt_size); in t4_init_clip_tbl()
|
D | l2t.c | 62 atomic_t nfree; /* number of free entries */ member 75 atomic_dec(&d->nfree); in l2t_hold() 278 if (!atomic_read(&d->nfree)) in alloc_l2e() 290 atomic_dec(&d->nfree); in alloc_l2e() 332 atomic_inc(&d->nfree); in t4_l2e_free() 580 atomic_set(&d->nfree, l2t_size); in t4_init_l2t()
|
D | clip_tbl.h | 27 atomic_t nfree; member
|
/linux-4.4.14/fs/xfs/ |
D | xfs_fsops.c | 163 xfs_rfsblock_t nfree; in xfs_growfs_data_private() local 215 nfree = 0; in xfs_growfs_data_private() 378 nfree += be32_to_cpu(arec->ar_blockcount); in xfs_growfs_data_private() 437 xfs_trans_agblocks_delta(tp, nfree); in xfs_growfs_data_private() 489 if (nfree) in xfs_growfs_data_private() 490 xfs_trans_mod_sb(tp, XFS_TRANS_SB_FDBLOCKS, nfree); in xfs_growfs_data_private()
|
/linux-4.4.14/Documentation/nvdimm/ |
D | btt.txt | 104 nfree : The number of free blocks that are maintained at any given time. 122 "free list" and "log". The flog contains 'nfree' entries, and an entry contains: 148 While 'nfree' describes the number of concurrent IOs an arena can process 151 nlanes = min(nfree, num_cpus) 172 The RTT is a simple, per arena table with 'nfree' entries. Every reader inserts 194 Instead we use an array of (nfree) map_locks that is indexed by 195 (premap_aba modulo nfree).
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 1242 u16 nfree, nsent; in qib_user_sdma_send_desc() local 1246 nfree = qib_sdma_descq_freecnt(ppd); in qib_user_sdma_send_desc() 1247 if (!nfree) in qib_user_sdma_send_desc() 1262 for (i = pkt->index; i < pkt->naddr && nfree; i++) { in qib_user_sdma_send_desc() 1273 nfree--; in qib_user_sdma_send_desc() 1309 if (!nfree || (nsent<<2) > ppd->sdma_descq_cnt) in qib_user_sdma_send_desc() 1319 if (nfree && !list_empty(pktlist)) in qib_user_sdma_send_desc()
|
/linux-4.4.14/drivers/net/ppp/ |
D | ppp_generic.c | 1420 int navail, nfree, nzero; in ppp_mp_explode() local 1431 nfree = 0; /* # channels which have no packet already queued */ in ppp_mp_explode() 1457 ++nfree; in ppp_mp_explode() 1470 if (nfree == 0 || nfree < navail / 2) in ppp_mp_explode() 1482 nbigger = len % nfree; in ppp_mp_explode() 1513 if (nfree > 0) in ppp_mp_explode() 1532 nfree--; in ppp_mp_explode() 1545 if (nfree > 0) { in ppp_mp_explode() 1547 flen = len/nfree; in ppp_mp_explode() 1561 nfree--; in ppp_mp_explode() [all …]
|
/linux-4.4.14/fs/f2fs/ |
D | gc.c | 781 int nfree = 0; in do_garbage_collect() local 801 nfree = gc_node_segment(sbi, sum->entries, segno, gc_type); in do_garbage_collect() 804 nfree = gc_data_segment(sbi, sum->entries, gc_list, in do_garbage_collect() 814 return nfree; in do_garbage_collect()
|
/linux-4.4.14/fs/jfs/ |
D | jfs_dmap.h | 162 __le32 nfree; /* 4: num of free blks in this dmap */ member
|
D | jfs_dmap.c | 2282 le32_add_cpu(&dp->nfree, -nblocks); in dbAllocBits() 2426 le32_add_cpu(&dp->nfree, nblocks); in dbFreeBits() 3331 le32_add_cpu(&dp->nfree, -nblocks); in dbAllocDmapBU() 3755 dp->nblocks = dp->nfree = cpu_to_le32(nblocks); in dbInitDmap() 3765 le32_add_cpu(&dp->nfree, nblocks); in dbInitDmap()
|
/linux-4.4.14/sound/core/ |
D | pcm.c | 1157 int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree) in snd_pcm_notify() argument 1167 if (nfree) { in snd_pcm_notify()
|
/linux-4.4.14/include/sound/ |
D | pcm.h | 555 int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree);
|