Home
last modified time | relevance | path

Searched refs:nfree (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.h76 atomic_t nfree; /* number of free entries */ member
144 atomic_dec(&d->nfree); in l2t_hold()
H A Dl2t.c186 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/nvdimm/
H A Dbtt.h106 __le32 nfree; member
175 u32 nfree; member
H A Ddimm_devs.c322 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 Dlabel.c699 u32 nfree = ALIGN(nslot, BITS_PER_LONG); in nd_label_write_index() local
702 memset(nsindex->free, 0xff, nfree / 8); in nd_label_write_index()
703 for (i = 0, last_bits = nfree - nslot; i < last_bits; i++) in nd_label_write_index()
/linux/Documentation/driver-api/nvdimm/
H A Dbtt.rst110 nfree The number of free blocks that are maintained at any given time.
129 "free list" and "log". The flog contains 'nfree' entries, and an entry contains:
157 While 'nfree' describes the number of concurrent IOs an arena can process
161 nlanes = min(nfree, num_cpus)
183 The RTT is a simple, per arena table with 'nfree' entries. Every reader inserts
205 Instead we use an array of (nfree) map_locks that is indexed by
206 (premap_aba modulo nfree).
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dclip_tbl.h29 atomic_t nfree; member
/linux/drivers/net/ppp/
H A Dppp_generic.c1940 int navail, nfree, nzero; in ppp_mp_explode() local
1951 nfree = 0; /* # channels which have no packet already queued */ in ppp_mp_explode()
1977 ++nfree; in ppp_mp_explode()
1990 if (nfree == 0 || nfree < navail / 2) in ppp_mp_explode()
2002 nbigger = len % nfree; in ppp_mp_explode()
2033 if (nfree > 0) in ppp_mp_explode()
2052 nfree--; in ppp_mp_explode()
2065 if (nfree > 0) { in ppp_mp_explode()
2067 flen = len/nfree; in ppp_mp_explode()
2081 nfree--; in ppp_mp_explode()
[all …]
/linux/fs/xfs/
H A Dxfs_fsops.c191 if (id.nfree) in xfs_growfs_data_private()
192 xfs_trans_mod_sb(tp, XFS_TRANS_SB_FDBLOCKS, id.nfree); in xfs_growfs_data_private()
/linux/fs/jfs/
H A Djfs_dmap.h149 __le32 nfree; /* 4: num of free blks in this dmap */ member
/linux/fs/xfs/libxfs/
H A Dxfs_ag.h323 xfs_rfsblock_t nfree; /* cumulative new free space */ member
H A Dxfs_ag.c723 id->nfree += id->agsize - mp->m_ag_prealloc_blocks; in xfs_ag_init_headers()
/linux/include/sound/
H A Dpcm.h577 int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree);