Searched refs:used (Results 51 - 75 of 632) sorted by relevance

1234567891011>>

/linux-master/arch/sparc/
H A DMakefile32 KBUILD_CFLAGS += -m32 -mcpu=v8 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
48 KBUILD_CFLAGS += -ffixed-g4 -ffixed-g5 -fcall-used-g7 -Wno-sign-compare
82 # This is the image used for packaging
/linux-master/tools/testing/selftests/net/forwarding/
H A Drouter_mpath_nh_lib.sh59 local used
64 used=$(ip -s -j -d nexthop show id $group_id |
65 jq '.[].hw_stats.used')
68 if [[ $used == true ]]; then
/linux-master/include/sound/
H A Dutil_mem.h30 unsigned int used; /* used memory size */ member in struct:snd_util_memhdr
/linux-master/sound/pci/ctxfi/
H A Dctvmem.h46 struct list_head used; /* List of used blocks */ member in struct:ct_vm
H A Dctvmem.c52 /* Move the vm node from unused list to used list directly */
53 list_move(&entry->list, &vm->used);
65 list_add(&block->list, &vm->used);
201 INIT_LIST_HEAD(&vm->used);
213 /* The caller must ensure no mapping pages are being used
221 /* free used and unused list nodes */
222 while (!list_empty(&vm->used)) {
223 pos = vm->used.next;
/linux-master/include/linux/
H A Dtty_buffer.h15 unsigned int used; member in struct:tty_buffer
/linux-master/drivers/net/wireless/silabs/wfx/
H A Ddata_tx.h31 struct list_head used; member in struct:wfx_tx_policy_cache
/linux-master/drivers/gpu/drm/xe/
H A Dxe_ttm_vram_mgr.h30 u64 *used, u64 *used_visible);
/linux-master/drivers/net/ethernet/sfc/
H A Dtx.c71 /* We used the stale old_read_count above, which gives us a
129 int used; member in struct:efx_short_copy_buffer
148 BUG_ON(copy_buf->used);
151 copy_buf->used = len;
162 if (copy_buf->used) {
165 min_t(int, sizeof(copy_buf->buf) - copy_buf->used, len);
167 memcpy(copy_buf->buf + copy_buf->used, data, copy_to_buf);
168 copy_buf->used += copy_to_buf;
171 if (copy_buf->used < sizeof(copy_buf->buf))
179 copy_buf->used
[all...]
/linux-master/drivers/tty/
H A Dtty_buffer.c104 p->used = 0;
114 * tty_buffer_free_all - free buffers used by a tty
266 size_t left = (b->flags ? 1 : 2) * b->size - b->used;
283 smp_store_release(&b->commit, b->used);
315 memcpy(char_buf_ptr(tb, tb->used), chars, space);
318 memcpy(flag_buf_ptr(tb, tb->used), flags, space);
321 memset(flag_buf_ptr(tb, tb->used), flags[0], space);
327 tb->used += space;
348 * This is used for drivers that need their own block copy routines into the
361 *chars = char_buf_ptr(tb, tb->used);
[all...]
/linux-master/sound/firewire/digi00x/
H A Damdtp-dot.c85 * hir[] is not used and - coincidentally - the salt's hi nibble is
227 int used; local
229 used = p->midi_fifo_used[port];
230 if (used == 0)
233 used -= MIDI_BYTES_PER_SECOND * s->syt_interval;
234 used = max(used, 0);
235 p->midi_fifo_used[port] = used;
237 return used < p->midi_fifo_limit;
/linux-master/sound/firewire/
H A Damdtp-am824.c275 int used; local
277 used = p->midi_fifo_used[port];
278 if (used == 0) /* common shortcut */
281 used -= MIDI_BYTES_PER_SECOND * s->syt_interval;
282 used = max(used, 0);
283 p->midi_fifo_used[port] = used;
285 return used < p->midi_fifo_limit;
/linux-master/include/trace/events/
H A Dneigh.h93 __field(unsigned long, used)
133 __entry->used = n->used;
143 "confirmed %lu updated %lu used %lu new_lladdr %s "
150 __entry->confirmed, __entry->updated, __entry->used,
173 __field(unsigned long, used)
211 __entry->used = n->used;
217 "confirmed %lu updated %lu used %lu err %d",
223 __entry->confirmed, __entry->updated, __entry->used,
[all...]
/linux-master/drivers/pci/hotplug/
H A Dcpqphp_sysfs.c116 int used; local
118 used = size - show_ctrl(ctrl, data);
119 used = (size - used) - show_dev(ctrl, &data[used]);
120 return used;
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c55 /* Show function pointer used in the connections dynamic declared attributes*/
502 * integration control registers. Normally only used to investigate connection
798 int used = 0, reg_idx; local
804 used += sprintf(buf + used, "%d ", reg_idx);
807 used += sprintf(buf + used, "\n");
808 return used;
818 int used = 0, reg_idx; local
824 used
967 int sig_idx, used = 0; local
985 int sig_idx, used = 0; local
[all...]
/linux-master/fs/bcachefs/
H A Dbkey_sort.c15 return !iter->used;
24 i + 1 < iter->used &&
32 unsigned i = iter->used;
47 BUG_ON(!iter->used);
54 array_remove_item(iter->data, iter->used, 0);
88 return iter->used >= 2 &&
/linux-master/sound/oss/dmasound/
H A Ddmasound_paula.c136 * return the number of bytes they've used from both streams so you may detect
160 ssize_t count, used; local
165 used = count;
172 used = count*2;
180 *frameUsed += used;
181 return used;
194 ssize_t count, used; \
199 used = count; \
211 used = count*2; \
223 *frameUsed += used; \
[all...]
/linux-master/tools/virtio/
H A Dvringh_test.c190 vrh.vring.desc, vrh.vring.avail, vrh.vring.used);
254 if (riov.used) {
260 assert(riov.i == riov.used);
267 assert(wiov.i == wiov.used);
447 struct vring_used_elem used[RINGSIZE]; local
496 vrh.vring.desc, vrh.vring.avail, vrh.vring.used);
527 assert(riov.used == 1);
531 assert(wiov.used == 1);
535 assert(wiov.used == 2);
554 assert(wiov.i == wiov.used);
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Daffinity.c36 cpumask_clear(&set->used);
43 if (cpumask_equal(&set->mask, &set->used)) {
45 * We've used up all the CPUs, bump up the generation
46 * and reset the 'used' map
49 cpumask_clear(&set->used);
55 if (cpumask_empty(&set->used) && set->gen) {
57 cpumask_copy(&set->used, &set->mask);
72 cpumask_andnot(diff, &set->mask, &set->used);
78 cpumask_set_cpu(cpu, &set->used);
88 cpumask_clear_cpu(cpu, &set->used);
[all...]
/linux-master/fs/btrfs/
H A Dspace-info.c37 * 3) btrfs_calc*_size. These are the worst case calculations we used based
311 found->bytes_used += block_group->used;
312 found->disk_used += block_group->used * factor;
362 * space is actually usable. For raid56, the space info used
386 * available space used by a data allocation, which could put us in a
416 u64 used; local
422 used = btrfs_space_info_used(space_info, true);
425 if (used + bytes < space_info->total_bytes + avail)
456 u64 used = btrfs_space_info_used(space_info, true); local
461 if ((used
833 u64 used; local
861 u64 used; local
1633 u64 used; local
[all...]
/linux-master/arch/powerpc/mm/book3s64/
H A Diommu_api.c30 unsigned long used; member in struct:mm_iommu_table_group_mem_t
126 mem->used = 1;
256 if (mem->used == 0) {
261 --mem->used;
263 if (mem->used)
268 ++mem->used;
319 ++mem->used;
/linux-master/fs/ubifs/
H A Dio.c19 * buffer is full or when it is not used for some time (by timer). This is
20 * similar to the mechanism is used by JFFS2.
325 * Padding nodes are also used to fill gaps when the "commit-in-gaps" method is
326 * used.
554 * if the write-buffer is only partially filled with data, only the used part
564 if (!wbuf->used || wbuf->lnum == -1)
569 wbuf->lnum, wbuf->offs, wbuf->used, dbg_jhead(wbuf->jhead));
586 sync_len = ALIGN(wbuf->used, c->min_io_size);
587 dirt = sync_len - wbuf->used;
589 ubifs_pad(c, wbuf->buf + wbuf->used, dir
[all...]
/linux-master/drivers/irqchip/
H A Dirq-ls-scfg-msi.c57 unsigned long *used; member in struct:ls_scfg_msi
149 pos = find_first_zero_bit(msi_data->used, msi_data->irqs_num);
151 __set_bit(pos, msi_data->used);
184 __clear_bit(pos, msi_data->used);
281 bitmap_clear(msi_data->used, hwirq, 1);
298 bitmap_set(msi_data->used, hwirq, 1);
362 msi_data->used = devm_bitmap_zalloc(&pdev->dev, msi_data->irqs_num, GFP_KERNEL);
363 if (!msi_data->used)
369 bitmap_set(msi_data->used, 0, msi_data->irqs_num);
/linux-master/fs/xfs/scrub/
H A Dnewbt.c137 * Designate specific blocks to be used to build our new btree. @pag must be
157 resv->used = 0;
381 if (!btree_committed || resv->used == 0) {
394 * We used space and committed the btree. Cancel the autoreap, remove
399 free_agbno += resv->used;
400 free_aglen -= resv->used;
470 * reservations and try to commit to freeing the space we used.
526 if (resv->used == resv->len)
536 agbno = resv->agbno + resv->used;
537 resv->used
[all...]
/linux-master/tools/testing/selftests/powerpc/nx-gzip/
H A Dgunz_test.c13 * Definitions of acronyms used here. See
72 #define fifo_used_bytes(used) (used)
73 #define fifo_free_bytes(used, len) ((len)-(used))
75 #define fifo_free_first_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \
76 ? (len)-((cur)+(used)) : 0)
77 #define fifo_free_last_bytes(cur, used, len) ((((cur)+(used)) <
[all...]

Completed in 224 milliseconds

1234567891011>>