| /linux/drivers/nvdimm/ |
| H A D | btt.c | 243 debugfs_create_u32("nfree", S_IRUGO, d, &a->nfree); in arena_debugfs_init() 487 for (i = 0; i < arena->nfree; i++) { in btt_log_init() 542 arena->freelist = kzalloc_objs(struct free_entry, arena->nfree); in btt_freelist_init() 546 for (i = 0; i < arena->nfree; i++) { in btt_freelist_init() 632 for (i = 0; i < arena->nfree; i++) { in log_set_indices() 724 arena->rtt = kcalloc(arena->nfree, sizeof(u32), GFP_KERNEL); in btt_rtt_init() 735 arena->map_locks = kzalloc_objs(struct aligned_lock, arena->nfree); in btt_maplocks_init() 739 for (i = 0; i < arena->nfree; i++) in btt_maplocks_init() 767 arena->nfree = BTT_DEFAULT_NFREE; in alloc_arena() 778 logsize = roundup(arena->nfree * LOG_GRP_SIZE, BTT_PG_SIZE); in alloc_arena() [all …]
|
| H A D | btt.h | 106 __le32 nfree; member 175 u32 nfree; member
|
| H A D | dimm_devs.c | 322 u32 nfree; in __available_slots_show() local 329 nfree = nd_label_nfree(ndd); in __available_slots_show() 330 if (nfree - 1 > nfree) { in __available_slots_show() 332 nfree = 0; in __available_slots_show() 334 nfree--; in __available_slots_show() 335 return sprintf(buf, "%d\n", nfree); in __available_slots_show()
|
| H A D | label.c | 710 u32 nfree = ALIGN(nslot, BITS_PER_LONG); in nd_label_write_index() local 713 memset(nsindex->free, 0xff, nfree / 8); in nd_label_write_index() 714 for (i = 0, last_bits = nfree - nslot; i < last_bits; i++) in nd_label_write_index()
|
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | l2t.h | 76 atomic_t nfree; /* number of free entries */ member 144 atomic_dec(&d->nfree); in l2t_hold()
|
| H A D | l2t.c | 186 if (!atomic_read(&d->nfree)) in alloc_l2e() 197 atomic_dec(&d->nfree); in alloc_l2e() 237 atomic_inc(&d->nfree); in t3_l2e_free() 417 atomic_set(&d->nfree, l2t_capacity - 1); in t3_init_l2t()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | clip_tbl.c | 112 atomic_dec(&ctbl->nfree); in cxgb4_clip_get() 183 atomic_inc(&ctbl->nfree); in cxgb4_clip_release() 269 seq_printf(seq, "Free clip entries : %d\n", atomic_read(&ctbl->nfree)); in clip_tbl_show() 298 atomic_set(&ctbl->nfree, clipt_size); in t4_init_clip_tbl()
|
| H A D | l2t.c | 60 atomic_t nfree; /* number of free entries */ member 73 atomic_dec(&d->nfree); in l2t_hold() 268 if (!atomic_read(&d->nfree)) in alloc_l2e() 280 atomic_dec(&d->nfree); in alloc_l2e() 364 atomic_inc(&d->nfree); in _t4_l2e_free() 383 atomic_inc(&d->nfree); in t4_l2e_free() 631 atomic_set(&d->nfree, l2t_size); in t4_init_l2t()
|
| H A D | clip_tbl.h | 29 atomic_t nfree; member
|
| /linux/net/sunrpc/ |
| H A D | svc_xprt.c | 712 unsigned long pages, nfree; in svc_alloc_arg() local 716 nfree = rqstp->rq_pages_nfree; in svc_alloc_arg() 717 if (nfree) { in svc_alloc_arg() 718 if (!svc_fill_pages(rqstp, rqstp->rq_pages, nfree)) in svc_alloc_arg() 725 nfree = rqstp->rq_next_page - rqstp->rq_respages; in svc_alloc_arg() 726 if (nfree) { in svc_alloc_arg() 727 if (!svc_fill_pages(rqstp, rqstp->rq_respages, nfree)) in svc_alloc_arg()
|
| /linux/drivers/net/ppp/ |
| H A D | ppp_generic.c | 1969 int navail, nfree, nzero; in ppp_mp_explode() local 1980 nfree = 0; /* # channels which have no packet already queued */ in ppp_mp_explode() 2001 ++nfree; in ppp_mp_explode() 2014 if (nfree == 0 || nfree < navail / 2) in ppp_mp_explode() 2028 nbigger = len % nfree; in ppp_mp_explode() 2059 if (nfree > 0) in ppp_mp_explode() 2073 if (nfree > 0) { in ppp_mp_explode() 2075 flen = len/nfree; in ppp_mp_explode() 2089 nfree--; in ppp_mp_explode() 2097 if ((nfree <= 0) || (flen > len)) in ppp_mp_explode()
|
| /linux/fs/jfs/ |
| H A D | jfs_dmap.h | 149 __le32 nfree; /* 4: num of free blks in this dmap */ member
|
| /linux/sound/core/ |
| H A D | pcm.c | 1126 * @nfree: 0 = register, 1 = unregister 1134 int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree) 1144 if (nfree) { in snd_pcm_notify() 1136 snd_pcm_notify(struct snd_pcm_notify * notify,int nfree) snd_pcm_notify() argument
|