Home
last modified time | relevance | path

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

12345678910>>...124

/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_dbgfs.c15 int *used, int total) in mtk_vdec_dbgfs_get_format_type() argument
21 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
25 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
29 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
33 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
37 *used += curr_len; in mtk_vdec_dbgfs_get_format_type()
41 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
45 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
49 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
53 *used += curr_len; in mtk_vdec_dbgfs_get_format_type()
[all …]
/linux/fs/ntfs3/
H A Drecord.c202 u32 used = le32_to_cpu(rec->used); in mi_enum_attr() local
212 if (used > total) in mi_enum_attr()
215 if (off >= used || off < MFTRECORD_FIXUP_OFFSET_1 || in mi_enum_attr()
245 if (off + 8 > used) { in mi_enum_attr()
270 if (off + asize < off || off + asize > used) in mi_enum_attr()
274 if (off + 9 > used) in mi_enum_attr()
432 } else if (rno >= sbi->mft.used) { in mi_format_new()
484 u32 used = le32_to_cpu(rec->used); in mi_insert_attr() local
488 if (used + asize > sbi->record_size) in mi_insert_attr()
510 attr = Add2Ptr(rec, used - 8); in mi_insert_attr()
[all …]
/linux/net/mac80211/tests/
H A Dtpe.c139 struct cfg80211_chan_def ap, used; member
149 .used.width = NL80211_CHAN_WIDTH_320,
150 .used.chan = &chan6g_1,
151 .used.center_freq1 = 6105,
170 .used.width = NL80211_CHAN_WIDTH_160,
171 .used.chan = &chan6g_1,
172 .used.center_freq1 = 6025,
191 .used.width = NL80211_CHAN_WIDTH_160,
192 .used.chan = &chan6g_1,
193 .used.center_freq1 = 6025,
[all …]
/linux/arch/um/os-Linux/
H A Dsigio.c40 int used; member
62 n = poll(fds->poll, fds->used, -1); in write_sigio_thread()
69 for (i = 0; i < fds->used; i++) { in write_sigio_thread()
88 fds->used--; in write_sigio_thread()
90 (fds->used - i) * sizeof(*fds->poll)); in write_sigio_thread()
118 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); in need_poll()
173 for (i = 0; i < all_sigio_fds.used; i++) { in __add_sigio_fd()
177 if (i == all_sigio_fds.used) in __add_sigio_fd()
182 for (i = 0; i < current_poll.used; i++) { in __add_sigio_fd()
187 n = current_poll.used; in __add_sigio_fd()
[all …]
/linux/sound/oss/dmasound/
H A Ddmasound_atari.c161 ssize_t count, used; in ata_ct_law() local
167 used = count; in ata_ct_law()
175 *frameUsed += used; in ata_ct_law()
176 return used; in ata_ct_law()
184 ssize_t count, used; in ata_ct_s8() local
190 used = count; in ata_ct_s8()
193 *frameUsed += used; in ata_ct_s8()
194 return used; in ata_ct_s8()
202 ssize_t count, used; in ata_ct_u8() local
207 used = count; in ata_ct_u8()
[all …]
/linux/Documentation/ABI/testing/
H A Dconfigfs-spear-pcie-gadget7 Interface is used to configure selected dual mode PCIe controller
10 This interfaces can be used to show spear's PCIe device capability.
20 link used to enable ltssm and read its status.
21 int_type used to configure and read type of supported interrupt
22 no_of_msi used to configure number of MSI vector needed and
26 vendor_id used to write and read vendor id (hex)
27 device_id used to write and read device id (hex)
28 bar0_size used to write and read bar0_size
29 bar0_address used to write and read bar0 mapped area in hex.
30 bar0_rw_offset used to write and read offset of bar0 where bar0_data
[all …]
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-stats.c42 size_t used; in rtrs_clt_stats_migration_from_cnt_to_str() local
45 used = 0; in rtrs_clt_stats_migration_from_cnt_to_str()
48 used += sysfs_emit_at(buf, used, "%d ", in rtrs_clt_stats_migration_from_cnt_to_str()
52 used += sysfs_emit_at(buf, used, "\n"); in rtrs_clt_stats_migration_from_cnt_to_str()
54 return used; in rtrs_clt_stats_migration_from_cnt_to_str()
61 size_t used; in rtrs_clt_stats_migration_to_cnt_to_str() local
64 used = 0; in rtrs_clt_stats_migration_to_cnt_to_str()
67 used += sysfs_emit_at(buf, used, "%d ", s->cpu_migr.to); in rtrs_clt_stats_migration_to_cnt_to_str()
70 used += sysfs_emit_at(buf, used, "\n"); in rtrs_clt_stats_migration_to_cnt_to_str()
72 return used; in rtrs_clt_stats_migration_to_cnt_to_str()
/linux/fs/xfs/libxfs/
H A Dxfs_ag_resv.c173 xfs_extlen_t used) in __xfs_ag_resv_init() argument
180 if (used > ask) in __xfs_ag_resv_init()
181 ask = used; in __xfs_ag_resv_init()
199 hidden_space = ask - used; in __xfs_ag_resv_init()
230 resv->ar_reserved = ask - used; in __xfs_ag_resv_init()
244 xfs_extlen_t used; in xfs_ag_resv_init() local
250 ask = used = 0; in xfs_ag_resv_init()
252 error = xfs_refcountbt_calc_reserves(mp, tp, pag, &ask, &used); in xfs_ag_resv_init()
256 error = xfs_finobt_calc_reserves(pag, tp, &ask, &used); in xfs_ag_resv_init()
261 ask, used); in xfs_ag_resv_init()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-reserved.rst50 - 8 bit RGB format used by the BTTV driver.
55 - YUV format used by the gspca cpia1 driver.
60 - JPEG-Light format (Pegasus Lossless JPEG) used in Divio webcams NW
66 - YUYV per line used by the gspca driver.
71 - YYUV per line used by the gspca driver.
76 - YUVY per line used by the gspca driver.
81 - Compressed GBRG Bayer format used by the gspca driver.
86 - Compressed BGGR Bayer format used by the gspca driver.
91 - Compressed BGGR Bayer format used by the gspca driver.
96 - JPEG compressed RGGB Bayer format used by the gspca driver.
[all …]
/linux/fs/bcachefs/
H A Dsiphash.c106 size_t left, used; in SipHash_Update() local
111 used = ctx->bytes % sizeof(ctx->buf); in SipHash_Update()
114 if (used > 0) { in SipHash_Update()
115 left = sizeof(ctx->buf) - used; in SipHash_Update()
118 memcpy(&ctx->buf[used], ptr, left); in SipHash_Update()
123 memcpy(&ctx->buf[used], ptr, len); in SipHash_Update()
135 memcpy(&ctx->buf[used], ptr, len); in SipHash_Update()
150 size_t left, used; in SipHash_End() local
152 used = ctx->bytes % sizeof(ctx->buf); in SipHash_End()
153 left = sizeof(ctx->buf) - used; in SipHash_End()
[all …]
/linux/Documentation/admin-guide/
H A Dufs.rst12 UFS is a file system widely used in different operating systems.
23 used in FreeBSD, NetBSD, OpenBSD
27 used in FreeBSD 5.x
34 used in SunOS (Solaris)
38 used in SunOS for Intel (Solarisx86)
42 used in HP-UX
46 used in NextStep
50 used for NextStep CDROMs (block_size == 2048)
54 used in OpenStep
/linux/kernel/kcsan/
H A Ddebugfs.c46 int used; /* number of elements used */ member
108 if (report_filterlist.used == 0) in kcsan_skip_report_debugfs()
113 sort(report_filterlist.addrs, report_filterlist.used, in kcsan_skip_report_debugfs()
118 report_filterlist.used, sizeof(unsigned long), in kcsan_skip_report_debugfs()
157 if (data_race(report_filterlist.used == report_filterlist.size)) { in insert_report_filterlist()
165 if (report_filterlist.used == report_filterlist.size) { in insert_report_filterlist()
167 if (report_filterlist.used >= new_size) { in insert_report_filterlist()
174 if (report_filterlist.used) in insert_report_filterlist()
175 memcpy(new_addrs, report_filterlist.addrs, report_filterlist.used * sizeof(unsigned long)); in insert_report_filterlist()
182 report_filterlist.addrs[report_filterlist.used++] = addr; in insert_report_filterlist()
[all …]
/linux/Documentation/arch/arm/
H A Dsetup.rst6 structure, otherwise known as 'struct param_struct' which is used
9 This structure is used to pass initialisation parameters from the
30 This is now obsolete, and should not be used.
47 or VGA console character size. They should not be used for any other
56 is otherwise unused. (should not be used for other console types, and
57 should not be used for other purposes).
61 based machines. May be used differently by different architectures.
64 Default sound setting on Acorn machines. May be used differently by
68 Number of ADFS/MFM disks. May be used differently by different
72 These are now obsolete, and should not be used.
[all …]
/linux/Documentation/arch/parisc/
H A Dregisters.rst5 [ an asterisk is used for planned usage which is currently unimplemented ]
14 CR 0 (Recovery Counter) used for ptrace
31 CR26 (TR 2) not used
33 CR28 (TR 4) not used
34 CR29 (TR 5) not used
36 CR31 (TR 7) Temporary register, used in various places
47 SR3 used for userspace accesses (current process)
72 N (Nullify next instruction) used by C code
74 B (Taken Branch) used by C code
76 V (divide step correction) used by C code
[all …]
/linux/drivers/vhost/
H A Dvringh.c85 while (len && iov->i < iov->used) { in vringh_kiov_advance()
116 while (len && iov->i < iov->used) { in vringh_iov_xfer()
320 riov->i = riov->used = riov->consumed = 0; in __vringh_iov()
322 wiov->i = wiov->used = wiov->consumed = 0; in __vringh_iov()
377 if (unlikely(wiov && wiov->used)) { in __vringh_iov()
403 if (unlikely(iov->used == (iov->max_num & ~VRINGH_IOV_ALLOCATED))) { in __vringh_iov()
409 iov->iov[iov->used].iov_base = addr; in __vringh_iov()
410 iov->iov[iov->used].iov_len = len; in __vringh_iov()
411 iov->used++; in __vringh_iov()
448 const struct vring_used_elem *used, in __vringh_complete() argument
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-syscfg-configfs.c58 ssize_t used = 0; in cscfg_cfg_values_show() local
78 used += scnprintf(page + used, PAGE_SIZE - used, in cscfg_cfg_values_show()
85 used += scnprintf(page + used, PAGE_SIZE - used, "\n"); in cscfg_cfg_values_show()
87 return used; in cscfg_cfg_values_show()
245 int used = 0; in cscfg_feat_matches_show() local
248 used = scnprintf(page, PAGE_SIZE, "SRC_ALL "); in cscfg_feat_matches_show()
251 used += scnprintf(page + used, PAGE_SIZE - used, "SRC_ETMV4 "); in cscfg_feat_matches_show()
253 used += scnprintf(page + used, PAGE_SIZE - used, "\n"); in cscfg_feat_matches_show()
254 return used; in cscfg_feat_matches_show()
/linux/Documentation/sound/cards/
H A Daudigy-mixer.rst27 Explanation of used abbreviations:
35 (this standard is used for connecting standalone D/A and A/D converters)
37 low frequency effects (used as subwoofer signal)
49 This control is used to attenuate samples from left and right front PCM FX-bus
55 This control is used to attenuate samples from left and right surround PCM FX-bus
62 This control is used to attenuate samples from left and right side PCM FX-bus
68 This control is used to attenuate samples from center PCM FX-bus accumulator.
74 This control is used to attenuate sample for LFE PCM FX-bus accumulator.
80 This control is used to attenuate samples from left and right PCM FX-bus
86 This control is used to attenuate samples from left and right PCM FX-bus
[all …]
/linux/include/linux/
H A Dvringh.h101 unsigned i, used, max_num; member
119 unsigned i, used, max_num; member
130 vring_used_t __user *used);
135 iov->used = iov->i = 0; in vringh_iov_init()
153 iov->max_num = iov->used = iov->i = iov->consumed = 0; in vringh_iov_cleanup()
175 const struct vring_used_elem used[],
192 struct vring_used *used);
197 kiov->used = kiov->i = 0; in vringh_kiov_init()
215 kiov->max_num = kiov->used = kiov->i = kiov->consumed = 0; in vringh_kiov_cleanup()
224 for (i = kiov->i; i < kiov->used; i++) in vringh_kiov_length()
[all …]
/linux/drivers/mtd/ubi/
H A Dfastmap-wl.c60 for (i = pool->used; i < pool->size; i++) { in return_unused_pool_pebs()
126 free += pool->size - pool->used + wl_pool->size - wl_pool->used; in wait_free_pebs_for_pool()
256 wl_pool->used = 0; in ubi_refill_pools_and_lock()
257 pool->used = 0; in ubi_refill_pools_and_lock()
306 if (pool->used == pool->size || wl_pool->used == wl_pool->size) { in ubi_wl_get_peb()
319 if (pool->used == pool->size) { in ubi_wl_get_peb()
336 ubi_assert(pool->used < pool->size); in ubi_wl_get_peb()
337 ret = pool->pebs[pool->used++]; in ubi_wl_get_peb()
357 if (pool->used == pool->size) { in next_peb_for_wl()
371 pnum = pool->pebs[pool->used]; in next_peb_for_wl()
[all …]
/linux/Documentation/driver-api/gpio/
H A Ddrivers-on-gpio.rst17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with
29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from
33 - pwm-gpio: drivers/pwm/pwm-gpio.c is used to toggle a GPIO with a high
37 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an
41 - restart-gpio: drivers/power/reset/gpio-restart.c is used to restart/reboot
45 - poweroff-gpio: drivers/power/reset/gpio-poweroff.c is used to power the
50 - gpio-gate-clock: drivers/clk/clk-gpio.c is used to control a gated clock
53 - i2c-gpio: drivers/i2c/busses/i2c-gpio.c is used to drive an I2C bus
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dsta.c25 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) in iwl_sta_ucode_activate()
30 if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) { in iwl_sta_ucode_activate()
36 priv->stations[sta_id].used |= IWL_STA_UCODE_ACTIVE; in iwl_sta_ucode_activate()
256 if (!priv->stations[i].used && in iwl_prep_station()
273 if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) { in iwl_prep_station()
279 if ((priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) && in iwl_prep_station()
280 (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) && in iwl_prep_station()
288 station->used = IWL_STA_DRIVER_ACTIVE; in iwl_prep_station()
347 if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) { in iwl_add_station_common()
354 if ((priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) && in iwl_add_station_common()
[all …]
/linux/scripts/coccinelle/misc/
H A Darray_size_dup.cocci5 /// 1. An opencoded expression is used before array_size() to compute the same size
6 /// 2. An opencoded expression is used after array_size() to compute the same size
43 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line)
51 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line)
72 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line)
80 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line)
108 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line)
116 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line)
138 msg = "WARNING: array3_size is already used (line %s) to compute the same size" % (p1[0].line)
146 msg = "WARNING: array3_size is already used (line %s) to compute the same size" % (p1[0].line)
[all …]
/linux/fs/ubifs/
H A Dtnc_commit.c432 int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; in layout_in_empty_space() local
444 used = 0; in layout_in_empty_space()
465 used = 0; in layout_in_empty_space()
469 offs = buf_offs + used; in layout_in_empty_space()
510 wlen = used + len; in layout_in_empty_space()
511 used += ALIGN(len, 8); in layout_in_empty_space()
515 buf_offs + used + next_len <= c->leb_size && in layout_in_empty_space()
520 buf_offs + used + next_len <= c->leb_size) in layout_in_empty_space()
530 c->leb_size - buf_offs, blen - used, in layout_in_empty_space()
536 used -= blen; in layout_in_empty_space()
[all …]
/linux/tools/virtio/
H A Dvringh_test.c193 vrh.vring.desc, vrh.vring.avail, vrh.vring.used); in parallel_test()
257 if (riov.used) { in parallel_test()
263 assert(riov.i == riov.used); in parallel_test()
270 assert(wiov.i == wiov.used); in parallel_test()
450 struct vring_used_elem used[RINGSIZE]; in main() local
499 vrh.vring.desc, vrh.vring.avail, vrh.vring.used); in main()
530 assert(riov.used == 1); in main()
534 assert(wiov.used == 1); in main()
538 assert(wiov.used == 2); in main()
557 assert(wiov.i == wiov.used); in main()
[all …]
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_guc_id_mgr_test.c65 KUNIT_EXPECT_EQ(test, idm->used, n); in check_used()
67 KUNIT_EXPECT_EQ(test, idm->used, n + 1); in check_used()
69 KUNIT_EXPECT_EQ(test, idm->used, idm->total); in check_used()
70 idm_release_chunk_locked(idm, 0, idm->used); in check_used()
71 KUNIT_EXPECT_EQ(test, idm->used, 0); in check_used()
93 KUNIT_EXPECT_EQ(test, idm->used, idm->total); in check_quota()
95 KUNIT_EXPECT_EQ(test, idm->used, 0); in check_quota()
111 KUNIT_EXPECT_EQ(test, idm->used, idm->total); in check_all()

12345678910>>...124