Home
last modified time | relevance | path

Searched refs:used (Results 1 – 25 of 207) sorted by relevance

123456789

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_ag_resv.c188 xfs_extlen_t used) in __xfs_ag_resv_init() argument
195 if (used > ask) in __xfs_ag_resv_init()
196 ask = used; in __xfs_ag_resv_init()
214 hidden_space = ask - used; in __xfs_ag_resv_init()
242 resv->ar_reserved = ask - used; in __xfs_ag_resv_init()
257 xfs_extlen_t used; in xfs_ag_resv_init() local
262 ask = used = 0; in xfs_ag_resv_init()
264 error = xfs_refcountbt_calc_reserves(mp, tp, agno, &ask, &used); in xfs_ag_resv_init()
268 error = xfs_finobt_calc_reserves(mp, tp, agno, &ask, &used); in xfs_ag_resv_init()
273 ask, used); in xfs_ag_resv_init()
[all …]
/linux-4.19.296/include/linux/
Dvringh.h93 unsigned i, used, max_num; member
105 unsigned i, used, max_num; member
116 struct vring_used __user *used);
121 iov->used = iov->i = 0; in vringh_iov_init()
139 iov->max_num = iov->used = iov->i = iov->consumed = 0; in vringh_iov_cleanup()
161 const struct vring_used_elem used[],
178 struct vring_used *used);
183 kiov->used = kiov->i = 0; in vringh_kiov_init()
201 kiov->max_num = kiov->used = kiov->i = kiov->consumed = 0; in vringh_kiov_cleanup()
Dtty_flip.h24 if (!change && tb->used < tb->size) { in tty_insert_flip_char()
26 *flag_buf_ptr(tb, tb->used) = flag; in tty_insert_flip_char()
27 *char_buf_ptr(tb, tb->used++) = ch; in tty_insert_flip_char()
/linux-4.19.296/fs/ubifs/
Dtnc_commit.c439 int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; in layout_in_empty_space() local
451 used = 0; in layout_in_empty_space()
472 used = 0; in layout_in_empty_space()
476 offs = buf_offs + used; in layout_in_empty_space()
517 wlen = used + len; in layout_in_empty_space()
518 used += ALIGN(len, 8); in layout_in_empty_space()
522 buf_offs + used + next_len <= c->leb_size && in layout_in_empty_space()
527 buf_offs + used + next_len <= c->leb_size) in layout_in_empty_space()
537 c->leb_size - buf_offs, blen - used, in layout_in_empty_space()
543 used -= blen; in layout_in_empty_space()
[all …]
Dio.c518 if (!wbuf->used || wbuf->lnum == -1) in ubifs_wbuf_sync_nolock()
523 wbuf->lnum, wbuf->offs, wbuf->used, dbg_jhead(wbuf->jhead)); in ubifs_wbuf_sync_nolock()
540 sync_len = ALIGN(wbuf->used, c->min_io_size); in ubifs_wbuf_sync_nolock()
541 dirt = sync_len - wbuf->used; in ubifs_wbuf_sync_nolock()
543 ubifs_pad(c, wbuf->buf + wbuf->used, dirt); in ubifs_wbuf_sync_nolock()
567 wbuf->used = 0; in ubifs_wbuf_sync_nolock()
596 ubifs_assert(c, wbuf->used == 0); in ubifs_wbuf_seek_nolock()
608 wbuf->used = 0; in ubifs_wbuf_seek_nolock()
701 dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs + wbuf->used); in ubifs_wbuf_write_nolock()
715 if (c->leb_size - wbuf->offs - wbuf->used < aligned_len) { in ubifs_wbuf_write_nolock()
[all …]
Dreplay.c394 int deletion, int *used, loff_t old_size, in insert_node() argument
409 *used += ALIGN(len, 8); in insert_node()
442 unsigned long long sqnum, int deletion, int *used) in insert_dent() argument
462 *used += ALIGN(len, 8); in insert_dent()
580 int err = 0, used = 0, lnum = b->bud->lnum, offs = b->bud->start; in replay_bud() local
645 &used, 0, new_size); in replay_bud()
657 &used, 0, new_size); in replay_bud()
672 !le64_to_cpu(dent->inum), &used); in replay_bud()
696 &key, snod->sqnum, 1, &used, in replay_bud()
711 ubifs_assert(c, sleb->endpt - offs >= used); in replay_bud()
[all …]
Dgc.c88 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, in switch_gc_head()
89 c->leb_size - wbuf->offs - wbuf->used); in switch_gc_head()
320 int err, new_lnum = wbuf->lnum, new_offs = wbuf->offs + wbuf->used; in move_node()
372 avail = c->leb_size - wbuf->offs - wbuf->used; in move_nodes()
387 avail = c->leb_size - wbuf->offs - wbuf->used; in move_nodes()
472 ubifs_assert(c, c->gc_lnum != -1 || wbuf->offs + wbuf->used == 0 || in ubifs_garbage_collect_leb()
664 ubifs_assert(c, !wbuf->used); in ubifs_garbage_collect()
716 space_before = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect()
756 space_after = c->leb_size - wbuf->offs - wbuf->used; in ubifs_garbage_collect()
/linux-4.19.296/lib/zlib_inflate/
Dinftrees.c33 unsigned used; /* code entries in table used */ in zlib_inflate_table() local
194 used = 1U << root; /* use root table entries */ in zlib_inflate_table()
195 mask = used - 1; /* mask for comparing low */ in zlib_inflate_table()
198 if (type == LENS && used >= ENOUGH - MAXD) in zlib_inflate_table()
265 used += 1U << curr; in zlib_inflate_table()
266 if (type == LENS && used >= ENOUGH - MAXD) in zlib_inflate_table()
312 *table += used; in zlib_inflate_table()
/linux-4.19.296/drivers/misc/mic/vop/
Dvop_debugfs.c142 struct vring_used *used; in vop_vdev_info_show() local
177 used = vrh->vring.used; in vop_vdev_info_show()
179 vringh16_to_cpu(vrh, used->flags), in vop_vdev_info_show()
180 vringh16_to_cpu(vrh, used->idx) & (num - 1)); in vop_vdev_info_show()
182 vringh16_to_cpu(vrh, used->flags), in vop_vdev_info_show()
183 vringh16_to_cpu(vrh, used->idx)); in vop_vdev_info_show()
187 used->ring[j].id), in vop_vdev_info_show()
189 used->ring[j].len)); in vop_vdev_info_show()
Dvop_main.c64 dma_addr_t used[VOP_MAX_VRINGS]; member
253 dma_unmap_single(&vpdev->dev, vdev->used[n], in vop_del_vq()
255 free_pages((unsigned long)vr->used, get_order(vdev->used_size[n])); in vop_del_vq()
290 void *used; in vop_find_vq() local
335 used = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in vop_find_vq()
337 if (!used) { in vop_find_vq()
343 vdev->used[index] = dma_map_single(&vpdev->dev, used, in vop_find_vq()
346 if (dma_mapping_error(&vpdev->dev, vdev->used[index])) { in vop_find_vq()
352 writeq(vdev->used[index], &vqconfig->used_address); in vop_find_vq()
361 vr->used = used; in vop_find_vq()
[all …]
/linux-4.19.296/crypto/
Dalgif_aead.c62 return ctx->used >= ctx->aead_assoclen + (ctx->enc ? 0 : as); in aead_sufficient_data()
108 size_t used = 0; /* [in] TX bufs to be en/decrypted */ in _aead_recvmsg() local
113 if (!ctx->used) { in _aead_recvmsg()
123 used = ctx->used; in _aead_recvmsg()
146 outlen = used + as; in _aead_recvmsg()
148 outlen = used - as; in _aead_recvmsg()
154 used -= ctx->aead_assoclen; in _aead_recvmsg()
177 if (used < less) { in _aead_recvmsg()
181 used -= less; in _aead_recvmsg()
185 processed = used + ctx->aead_assoclen; in _aead_recvmsg()
[all …]
/linux-4.19.296/drivers/irqchip/
Dirq-ls-scfg-msi.c59 unsigned long *used; member
150 pos = find_first_zero_bit(msi_data->used, msi_data->irqs_num); in ls_scfg_msi_domain_irq_alloc()
152 __set_bit(pos, msi_data->used); in ls_scfg_msi_domain_irq_alloc()
181 __clear_bit(pos, msi_data->used); in ls_scfg_msi_domain_irq_free()
280 bitmap_clear(msi_data->used, hwirq, 1); in ls_scfg_msi_setup_hwirq()
297 bitmap_set(msi_data->used, hwirq, 1); in ls_scfg_msi_teardown_hwirq()
365 msi_data->used = devm_kcalloc(&pdev->dev, in ls_scfg_msi_probe()
367 sizeof(*msi_data->used), in ls_scfg_msi_probe()
369 if (!msi_data->used) in ls_scfg_msi_probe()
375 bitmap_set(msi_data->used, 0, msi_data->irqs_num); in ls_scfg_msi_probe()
/linux-4.19.296/drivers/pci/hotplug/
Dcpqphp_sysfs.c116 int used; in spew_debug_info() local
118 used = size - show_ctrl(ctrl, data); in spew_debug_info()
119 used = (size - used) - show_dev(ctrl, &data[used]); in spew_debug_info()
120 return used; in spew_debug_info()
/linux-4.19.296/include/uapi/linux/
Dvirtio_ring.h104 struct vring_used *used; member
141 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num])
149 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init()
/linux-4.19.296/drivers/char/mwave/
DREADME20 irq used by the dsp to be configured.
25 io range used by the dsp to be configured.
30 irq used by the mwave uart to be configured.
35 io range used by the mwave uart to be configured.
/linux-4.19.296/fs/affs/
DKconfig5 The Fast File System (FFS) is the common file system used on hard
10 controller used in an Amiga and the standard floppy controller in
14 With this driver you can also mount disk files used by Bernd
/linux-4.19.296/fs/jfs/
Djfs_types.h164 #define setDASDUSED(dasdp, used)\ argument
166 (dasdp)->used_hi = ((u64)used) >> 32;\
167 (dasdp)->used_lo = __cpu_to_le32(used);\
/linux-4.19.296/fs/
Dcoredump.c61 int used, size; member
88 free = cn->size - cn->used; in cn_vprintf()
91 need = vsnprintf(cn->corename + cn->used, free, fmt, arg_copy); in cn_vprintf()
95 cn->used += need; in cn_vprintf()
120 int cur = cn->used; in cn_esc_printf()
133 if ((cn->used - cur == 1 && cn->corename[cur] == '.') || in cn_esc_printf()
134 (cn->used - cur == 2 && cn->corename[cur] == '.' in cn_esc_printf()
144 if (cn->used == cur) in cn_esc_printf()
148 for (; cur < cn->used; ++cur) { in cn_esc_printf()
198 cn->used = 0; in format_corename()
/linux-4.19.296/drivers/pci/controller/
Dpcie-altera-msi.c28 DECLARE_BITMAP(used, MAX_MSI_VECTORS);
125 bit = find_first_zero_bit(msi->used, msi->num_of_vectors); in altera_irq_domain_alloc()
131 set_bit(bit, msi->used); in altera_irq_domain_alloc()
155 if (!test_bit(d->hwirq, msi->used)) { in altera_irq_domain_free()
159 __clear_bit(d->hwirq, msi->used); in altera_irq_domain_free()
/linux-4.19.296/lib/
Dtest_parman.c74 bool used; member
209 if (!item->used) in test_parman_items_fini()
280 if (!item->used) { in test_parman_run()
295 item->used = !item->used; in test_parman_run()
/linux-4.19.296/include/linux/qed/
Dqed_chain.h213 u16 used; in qed_chain_get_elem_left() local
218 used = (u16)(prod - cons); in qed_chain_get_elem_left()
220 used -= prod / elem_per_page - cons / elem_per_page; in qed_chain_get_elem_left()
222 return (u16)(p_chain->capacity - used); in qed_chain_get_elem_left()
230 u32 used; in qed_chain_get_elem_left_u32() local
235 used = (u32)(prod - cons); in qed_chain_get_elem_left_u32()
237 used -= (u32)(prod / elem_per_page - cons / elem_per_page); in qed_chain_get_elem_left_u32()
239 return p_chain->capacity - used; in qed_chain_get_elem_left_u32()
/linux-4.19.296/drivers/iio/buffer/
DKconfig7 tristate "IIO callback buffer used for push in-kernel interfaces"
15 Provides the generic IIO DMA buffer infrastructure that can be used by
26 DMAengine framework. This can be used by converter drivers with a DMA port
/linux-4.19.296/include/uapi/drm/
Di810_drm.h248 int used; /* nr bytes in use */ member
254 int used; /* nr bytes in use */ member
282 int used; /* nr bytes in use */ member
/linux-4.19.296/drivers/pci/endpoint/
DKconfig27 This will enable the configfs entry that can be used to
28 configure the endpoint function and used to bind the
/linux-4.19.296/fs/notify/fanotify/
DKconfig21 decisions concerning filesystem events. This is used by some fanotify
23 use those files. This is used by some anti-malware vendors and by some

123456789