Searched refs:used (Results 151 - 175 of 632) sorted by relevance

1234567891011>>

/linux-master/fs/bcachefs/
H A Dbtree_update_interior.h236 ssize_t used = bset_byte_offset(b, end) / sizeof(u64) + local
241 used++;
243 return total - used;
H A Dxattr.c234 size_t used; member in struct:xattr_buf
245 if (buf->used + total_len > buf->len)
248 memcpy(buf->buf + buf->used, prefix, prefix_len);
249 memcpy(buf->buf + buf->used + prefix_len,
251 buf->buf[buf->used + prefix_len + name_len] = '\0';
254 buf->used += total_len;
348 return buf.used;
/linux-master/sound/isa/gus/
H A Dgus_mem.c280 unsigned int total, used; local
296 used = 0;
298 used += block->size;
327 snd_iprintf(buffer, " Total: memory = %i, used = %i, free = %i\n",
328 total, used, total - used);
/linux-master/lib/
H A Dlru_cache.c67 * @name: descriptive name only used in lc_seq_printf_stats and lc_seq_dump_details
191 lc->used = 0;
228 seq_printf(seq, "\t%s: used:%u/%u hits:%lu misses:%lu starving:%lu locked:%lu changed:%lu\n",
229 lc->name, lc->used, lc->nr_elements,
267 * Ignores elements that are "about to be used", i.e. not yet in the active
281 * present in the hash table, and is used (refcnt > 0).
282 * Also finds elements that are not _currently_ used but only "about to be
283 * used", i.e. on the "to_be_changed" list, pending transaction commit.
345 /* used as internal flags to __lc_get */
383 lc->used
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dgen6_ppgtt.c92 GEM_BUG_ON(count > atomic_read(&pt->used));
93 if (!atomic_sub_return(count, &pt->used))
198 atomic_set(&pt->used, 0);
207 atomic_add(count, &pt->used);
307 /* Free all no longer used page tables */
309 if (!pt || atomic_read(&pt->used))
H A Dgen8_ppgtt.c249 GTT_TRACE("%s(%p):{ lvl:%d, start:%llx, end:%llx, idx:%d, len:%d, used:%d }\n",
257 if (atomic_fetch_inc(&pt->used) >> gen8_pd_shift(1) &&
277 GTT_TRACE("%s(%p):{ lvl:%d, start:%llx, end:%llx, idx:%d, len:%d, used:%d } removing pte\n",
280 atomic_read(&pt->used));
281 GEM_BUG_ON(!count || count >= atomic_read(&pt->used));
296 atomic_sub(count, &pt->used);
332 GTT_TRACE("%s(%p):{ lvl:%d, start:%llx, end:%llx, idx:%d, len:%d, used:%d }\n",
356 atomic_set(&pt->used, 0);
364 atomic_inc(&pt->used);
371 atomic_dec(&pt->used);
[all...]
H A Dintel_ppgtt.c31 atomic_set(&pt->used, 0);
132 if (atomic_add_unless(&pt->used, -1, 1))
136 if (atomic_dec_and_test(&pt->used)) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_smfs.c27 struct list_head used; member in struct:mlx5_ct_fs_smfs_matchers
136 // Find next available priority in sorted used list
138 prev = &matchers->used;
139 list_for_each_entry(m, &matchers->used, list) {
209 INIT_LIST_HEAD(&fs_smfs->matchers.used);
210 INIT_LIST_HEAD(&fs_smfs->matchers_nat.used);
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_v3d.c216 * bin_bo_alloc() - allocates the memory that will be used for
288 * will be used as storage for the overflow
324 int vc4_v3d_bin_bo_get(struct vc4_dev *vc4, bool *used) argument
333 if (used && *used)
341 if (ret == 0 && used)
342 *used = true;
/linux-master/drivers/net/wireless/ti/wl1251/
H A Dtx.c21 int used, data_in_count; local
29 used = data_in_count - data_out_count;
31 WARN_ON(used < 0);
32 WARN_ON(used > DP_TX_PACKET_RING_CHUNK_NUM);
34 if (used >= DP_TX_PACKET_RING_CHUNK_NUM)
205 /* check whether the current skb can be used */
/linux-master/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_blk.c128 if (vq->out_iov.used < 1 || vq->in_iov.used < 1) {
130 vq->out_iov.used, vq->in_iov.used);
134 if (vq->in_iov.iov[vq->in_iov.used - 1].iov_len < 1) {
345 /* Make sure used is visible before rasing the interrupt. */
/linux-master/fs/ceph/
H A Dquota.c496 u64 total = 0, used, free; local
514 used = ci->i_rbytes >> CEPH_BLOCK_SHIFT;
518 used = ci->i_rbytes >> CEPH_4K_BLOCK_SHIFT;
524 free = total > used ? total - used : 0;
526 * total=used=4KB,free=0 when quota is full
527 * and total=free=4KB, used=0 otherwise */
/linux-master/drivers/accessibility/speakup/
H A Dkobjects.c82 static void report_char_chartab_status(int reset, int received, int used, argument
97 used, received, object_type[do_characters]);
125 int used = 0; local
197 used++;
207 used++;
221 report_char_chartab_status(reset, received, used, rejected,
727 static void report_msg_status(int reset, int received, int used, argument
739 used, received, groupname);
760 int used = 0; local
824 used
[all...]
/linux-master/fs/ubifs/
H A Dreplay.c79 * set_bud_lprops - set free and dirty space used by a bud.
372 * @used: number of bytes in use in a LEB
385 unsigned long long sqnum, int deletion, int *used,
400 *used += ALIGN(len, 8);
427 * @used: number of bytes in use in a LEB
436 int deletion, int *used)
456 *used += ALIGN(len, 8);
511 * information is then used by 'replay_bud()' to decide whether the bud can
527 * images used with older UBIFS.
670 int err = 0, used local
383 insert_node(struct ubifs_info *c, int lnum, int offs, int len, const u8 *hash, union ubifs_key *key, unsigned long long sqnum, int deletion, int *used, loff_t old_size, loff_t new_size) argument
433 insert_dent(struct ubifs_info *c, int lnum, int offs, int len, const u8 *hash, union ubifs_key *key, const char *name, int nlen, unsigned long long sqnum, int deletion, int *used) argument
[all...]
/linux-master/fs/ntfs3/
H A Dntfs.h30 * ntfs.sys used 500 maximum links on-disk struct allows up to 0xffff.
56 * It used to store global constants NAME_MFT/NAME_MIRROR...
278 __le32 used; // 0x18: The size of used part. member in struct:MFT_REC
702 __le32 used; // 0x04: The size of this structure plus all member in struct:INDEX_HDR
709 // de_off + used <= total
718 u32 used = le32_to_cpu(hdr->used); local
722 if (de_off >= used || de_off + sizeof(struct NTFS_DE) > used )
737 u32 used = le32_to_cpu(hdr->used); local
[all...]
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_stateful.c78 if (dstbuf->used) {
91 * This function tries to clean all capture buffers that are not used as
122 if (dstbuf->used) {
167 dstbuf->used = false;
329 dst_buf_info->used = false;
361 dst_buf_info->used = true;
363 src_buf_info->used = true;
427 * check if this buffer is ready to be used after decode
436 if (!buf->used) {
/linux-master/net/netfilter/ipset/
H A Dip_set_hash_gen.h29 * Internally jhash is used with the assumption that the size of the
51 /* Which positions are used in the array */
52 DECLARE_BITMAP(used, AHASH_MAX_TUNED);
391 if (test_bit(i, n->used))
502 if (!test_bit(j, n->used)) {
510 clear_bit(j, n->used);
538 if (!test_bit(j, n->used))
543 set_bit(d, tmp->used);
689 if (!test_bit(j, n->used))
746 set_bit(m->pos++, m->used);
[all...]
/linux-master/arch/m68k/fpsp040/
H A Dfpsp.h13 | These equates are used to access the exception frame, the fsave
70 | restored from the "local variable" area and can be used as
105 .set BINDEC_FLG,LV+117 | used in bindec
106 .set DNRM_FLG,LV+118 | used in res_func
107 .set RES_FLG,LV+119 | used in res_func
135 .set WBTEMP_SGN,WBTEMP+2 | used to store sign
204 .set FPTEMP_SGN,FPTEMP+2 | used to store sign
211 .set ETEMP_SGN,ETEMP+2 | used to store sign
266 | FPSR combinations used in the FPSP
306 | this can only be used i
[all...]
H A Dsgetem.S39 | This entry point is used by the unimplemented instruction exception
65 | This entry point is used by the unimplemented instruction exception
80 fmovel %d0,%fpcr |this fpcr setting is used by the 882
/linux-master/net/openvswitch/
H A Dflow.c102 new_stats->used = jiffies;
119 stats->used = jiffies;
130 unsigned long *used, __be16 *tcp_flags)
134 *used = 0;
148 if (!*used || time_after(stats->used, *used))
149 *used = stats->used;
170 stats->used
128 ovs_flow_stats_get(const struct sw_flow *flow, struct ovs_flow_stats *ovs_stats, unsigned long *used, __be16 *tcp_flags) argument
[all...]
/linux-master/drivers/misc/ocxl/
H A Dfile.c400 ssize_t used = 0; local
439 used = append_xsl_error(ctx, &header, buf + sizeof(header));
440 if (used < 0)
441 return used;
450 used += sizeof(header);
452 rc = used;
/linux-master/drivers/staging/media/atomisp/pci/runtime/bufq/src/
H A Dbufq.c33 /* Global Queue objects used by CSS */
491 u32 free = 0, used = 0; local
494 ia_css_queue_get_used_space(qhandle, &used);
496 ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "%s: used=%u free=%u\n",
497 prefix, used, free);
/linux-master/sound/firewire/fireworks/
H A Dfireworks_stream.c108 bool used; local
116 err = cmp_connection_check_used(conn, &used);
117 if ((err >= 0) && used && !amdtp_stream_running(s)) {
/linux-master/drivers/input/joystick/
H A Dturbografx.c64 int used; member in struct:tgfx
112 if (!tgfx->used++) {
127 if (!--tgfx->used) {
/linux-master/crypto/
H A Daf_alg.c695 * @used: Number of bytes to pull from TX SGL
701 void af_alg_pull_tsgl(struct sock *sk, size_t used, struct scatterlist *dst, argument
716 size_t plen = min_t(size_t, used, sg[i].length);
744 used -= plen;
745 ctx->used -= plen;
758 if (!ctx->used)
883 (min && ctx->used >= min)),
908 if (!ctx->used)
973 if (ctx->used) {
1015 ctx->used
[all...]

Completed in 244 milliseconds

1234567891011>>