Home
last modified time | relevance | path

Searched refs:freespace (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dalloc_background.c2242 struct bkey_i *freespace; in bch2_dev_freespace_init() local
2244 freespace = bch2_trans_kmalloc(trans, sizeof(*freespace)); in bch2_dev_freespace_init()
2245 ret = PTR_ERR_OR_ZERO(freespace); in bch2_dev_freespace_init()
2249 bkey_init(&freespace->k); in bch2_dev_freespace_init()
2250 freespace->k.type = KEY_TYPE_set; in bch2_dev_freespace_init()
2251 freespace->k.p = k.k->p; in bch2_dev_freespace_init()
2252 freespace->k.size = k.k->size; in bch2_dev_freespace_init()
2254 ret = bch2_btree_insert_trans(trans, BTREE_ID_freespace, freespace, 0) ?: in bch2_dev_freespace_init()
Dalloc_foreground.c612 bool freespace = READ_ONCE(ca->mi.freespace_initialized); in bch2_bucket_alloc_trans() local
647 ob = likely(freespace) in bch2_bucket_alloc_trans()
659 if (!ob && freespace && c->curr_recovery_pass <= BCH_RECOVERY_PASS_check_alloc_info) { in bch2_bucket_alloc_trans()
660 freespace = false; in bch2_bucket_alloc_trans()
Dbcachefs_format.h658 x(freespace, BCH_VERSION(0, 19)) \
1320 x(freespace, 11, BTREE_ID_EXTENTS, \
/linux-6.12.1/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c1219 unsigned freespace; in do_start_xmit() local
1243 freespace = GetWord(XIRCREG0_TSO) & 0x7fff; in do_start_xmit()
1245 okay = pktlen +2 < freespace; in do_start_xmit()
1247 dev->name, freespace, okay ? " (okay)":" (not enough)"); in do_start_xmit()
/linux-6.12.1/drivers/media/usb/dvb-usb/
Dcxusb-analog.c116 unsigned int freespace; in cxusb_auxbuf_make_space() local
121 freespace = auxbuf->len - cxusb_auxbuf_paylen(auxbuf); in cxusb_auxbuf_make_space()
123 cxusb_vprintk(dvbdev, AUXB, "freespace is %u\n", freespace); in cxusb_auxbuf_make_space()
125 if (freespace >= howmuch) in cxusb_auxbuf_make_space()
128 howmuch -= freespace; in cxusb_auxbuf_make_space()
/linux-6.12.1/fs/jfs/
Djfs_logmgr.c352 int freespace; /* free space in log page */ in lmWriteRecord() local
422 freespace = (LOGPSIZE - LOGPTLRSIZE) - dstoffset; in lmWriteRecord()
423 nbytes = min(freespace, srclen); in lmWriteRecord()
470 freespace = (LOGPSIZE - LOGPTLRSIZE) - dstoffset; in lmWriteRecord()
471 nbytes = min(freespace, srclen); in lmWriteRecord()
/linux-6.12.1/drivers/net/ethernet/smsc/
Dsmsc911x.c1790 unsigned int freespace; in smsc911x_hard_start_xmit() local
1797 freespace = smsc911x_reg_read(pdata, TX_FIFO_INF) & TX_FIFO_INF_TDFREE_; in smsc911x_hard_start_xmit()
1799 if (unlikely(freespace < TX_FIFO_LOW_THRESHOLD)) in smsc911x_hard_start_xmit()
1801 "Tx data fifo low, space available: %d", freespace); in smsc911x_hard_start_xmit()
1820 freespace -= (skb->len + 32); in smsc911x_hard_start_xmit()
1827 if (freespace < TX_FIFO_LOW_THRESHOLD) { in smsc911x_hard_start_xmit()
/linux-6.12.1/Documentation/filesystems/xfs/
Dxfs-self-describing-metadata.rst118 freespace btree blocks are owned by an allocation group. Hence the size and
121 freespace btree block written to the wrong AG).
Dxfs-online-fsck-design.rst5437 uses the new fallocate map-freespace call to map any free space in that region
5489 `kernel freespace defrag
5490 <https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/log/?h=defrag-freespace>`_
5492 `userspace freespace defrag
5493 <https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=defrag-freespace>`_