Home
last modified time | relevance | path

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

12345678910>>...107

/Linux-v6.1/fs/ntfs3/
Drecord.c189 u32 used = le32_to_cpu(rec->used); in mi_enum_attr() local
198 if (used > total) in mi_enum_attr()
201 if (off >= used || off < MFTRECORD_FIXUP_OFFSET_1 || in mi_enum_attr()
214 if (off >= used) in mi_enum_attr()
230 if (off + 8 > used) { in mi_enum_attr()
246 if (off + asize > used) in mi_enum_attr()
361 } else if (rno >= sbi->mft.used) { in mi_format_new()
411 u32 used = le32_to_cpu(rec->used); in mi_insert_attr() local
416 if (used + asize > mi->sbi->record_size) in mi_insert_attr()
437 attr = Add2Ptr(rec, used - 8); in mi_insert_attr()
[all …]
/Linux-v6.1/Documentation/ABI/testing/
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-v6.1/arch/um/os-Linux/
Dsigio.c41 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()
86 fds->used--; in write_sigio_thread()
88 (fds->used - i) * sizeof(*fds->poll)); in write_sigio_thread()
116 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); in need_poll()
171 for (i = 0; i < all_sigio_fds.used; i++) { in __add_sigio_fd()
175 if (i == all_sigio_fds.used) in __add_sigio_fd()
180 for (i = 0; i < current_poll.used; i++) { in __add_sigio_fd()
185 n = current_poll.used; in __add_sigio_fd()
[all …]
/Linux-v6.1/sound/oss/dmasound/
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-v6.1/drivers/infiniband/ulp/rtrs/
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-v6.1/fs/xfs/libxfs/
Dxfs_ag_resv.c183 xfs_extlen_t used) in __xfs_ag_resv_init() argument
190 if (used > ask) in __xfs_ag_resv_init()
191 ask = used; in __xfs_ag_resv_init()
209 hidden_space = ask - used; in __xfs_ag_resv_init()
241 resv->ar_reserved = ask - used; in __xfs_ag_resv_init()
255 xfs_extlen_t used; in xfs_ag_resv_init() local
261 ask = used = 0; in xfs_ag_resv_init()
263 error = xfs_refcountbt_calc_reserves(mp, tp, pag, &ask, &used); in xfs_ag_resv_init()
267 error = xfs_finobt_calc_reserves(mp, tp, pag, &ask, &used); in xfs_ag_resv_init()
272 ask, used); in xfs_ag_resv_init()
[all …]
/Linux-v6.1/Documentation/admin-guide/
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-v6.1/Documentation/userspace-api/media/v4l/
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-v6.1/Documentation/arm/
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-v6.1/drivers/vhost/
Dvringh.c85 while (len && iov->i < iov->used) { in vringh_kiov_advance()
116 while (len && iov->i < iov->used) { in vringh_iov_xfer()
310 riov->i = riov->used = riov->consumed = 0; in __vringh_iov()
312 wiov->i = wiov->used = wiov->consumed = 0; in __vringh_iov()
367 if (unlikely(wiov && wiov->used)) { in __vringh_iov()
393 if (unlikely(iov->used == (iov->max_num & ~VRINGH_IOV_ALLOCATED))) { in __vringh_iov()
399 iov->iov[iov->used].iov_base = addr; in __vringh_iov()
400 iov->iov[iov->used].iov_len = len; in __vringh_iov()
401 iov->used++; in __vringh_iov()
438 const struct vring_used_elem *used, in __vringh_complete() argument
[all …]
/Linux-v6.1/Documentation/parisc/
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-v6.1/drivers/hwtracing/coresight/
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-v6.1/drivers/mtd/ubi/
Dfastmap-wl.c60 for (i = pool->used; i < pool->size; i++) { in return_unused_pool_pebs()
190 wl_pool->used = 0; in ubi_refill_pools()
191 pool->used = 0; in ubi_refill_pools()
240 if (pool->used == pool->size || wl_pool->used == wl_pool->size) { in ubi_wl_get_peb()
253 if (pool->used == pool->size) { in ubi_wl_get_peb()
270 ubi_assert(pool->used < pool->size); in ubi_wl_get_peb()
271 ret = pool->pebs[pool->used++]; in ubi_wl_get_peb()
289 if (pool->used == pool->size) in next_peb_for_wl()
292 pnum = pool->pebs[pool->used]; in next_peb_for_wl()
309 if (!ubi->used.rb_node) in need_wear_leveling()
[all …]
/Linux-v6.1/drivers/gpu/drm/savage/
Dsavage_bci.c318 dev_priv->dma_pages[i].used = 0; in savage_dma_init()
337 dev_priv->dma_pages[i].used = 0; in savage_dma_reset()
376 dev_priv->dma_pages[cur].used; in savage_dma_alloc()
383 cur, dev_priv->dma_pages[cur].used, n, rest, nr_pages); in savage_dma_alloc()
387 cur * SAVAGE_DMA_PAGE_SIZE + dev_priv->dma_pages[cur].used; in savage_dma_alloc()
390 dev_priv->dma_pages[cur].used += rest; in savage_dma_alloc()
399 dev_priv->dma_pages[i].used = 0; in savage_dma_alloc()
407 if (dev_priv->dma_pages[i].used) { in savage_dma_alloc()
409 i, dev_priv->dma_pages[i].used); in savage_dma_alloc()
413 dev_priv->dma_pages[i].used = SAVAGE_DMA_PAGE_SIZE; in savage_dma_alloc()
[all …]
/Linux-v6.1/Documentation/driver-api/media/drivers/
Drkisp1.rst12 - V10: used at least in rk3288 and rk3399
13 - V11: declared in the original vendor code, but not used
14 - V12: used at least in rk3326 and px30
15 - V13: used at least in rk1808
16 - V20: used in rk3568 and beyond
19 on V10 and V12 variants. V11 does not seem to be actually used
24 V20 on the other hand will probably be used in future SoCs and
/Linux-v6.1/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/
Di2c.txt13 - clock-frequency : Can be used to set the i2c clock frequency. If
14 unspecified, a default frequency of 60kHz is being used.
15 The following two properties are deprecated. They are only used by legacy
17 - linux,i2c-index : Can be used to hard code an i2c bus number. By default,
19 - linux,i2c-class : Can be used to override the i2c class. The class is used
22 being used. The definition of the classes can be found in
/Linux-v6.1/kernel/kcsan/
Ddebugfs.c46 int used; /* number of elements used */ member
52 .used = 0,
114 if (report_filterlist.used == 0) in kcsan_skip_report_debugfs()
119 sort(report_filterlist.addrs, report_filterlist.used, in kcsan_skip_report_debugfs()
124 report_filterlist.used, sizeof(unsigned long), in kcsan_skip_report_debugfs()
166 } else if (report_filterlist.used == report_filterlist.size) { in insert_report_filterlist()
184 report_filterlist.addrs[report_filterlist.used++] = in insert_report_filterlist()
210 report_filterlist.used == 0 ? "none" : ""); in show_info()
211 for (i = 0; i < report_filterlist.used; ++i) in show_info()
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Das3711.txt23 feedback used:
24 - su2-feedback-voltage : voltage feedback is used
25 - su2-feedback-curr1 : CURR1 input used for current feedback
26 - su2-feedback-curr2 : CURR2 input used for current feedback
27 - su2-feedback-curr3 : CURR3 input used for current feedback
31 - su2-fbprot-lx-sd4 : LX_SD4 is used for over-voltage protection
32 - su2-fbprot-gpio2 : GPIO2 is used for over-voltage protection
33 - su2-fbprot-gpio3 : GPIO3 is used for over-voltage protection
34 - su2-fbprot-gpio4 : GPIO4 is used for over-voltage protection
/Linux-v6.1/include/linux/
Dvringh.h91 unsigned i, used, max_num; member
103 unsigned i, used, max_num; member
114 vring_used_t __user *used);
119 iov->used = iov->i = 0; in vringh_iov_init()
137 iov->max_num = iov->used = iov->i = iov->consumed = 0; in vringh_iov_cleanup()
159 const struct vring_used_elem used[],
176 struct vring_used *used);
181 kiov->used = kiov->i = 0; in vringh_kiov_init()
199 kiov->max_num = kiov->used = kiov->i = kiov->consumed = 0; in vringh_kiov_cleanup()
208 for (i = kiov->i; i < kiov->used; i++) in vringh_kiov_length()
[all …]
/Linux-v6.1/scripts/coccinelle/misc/
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-v6.1/arch/mips/mm/
Dinit.c316 unsigned num_maars, used, i; in maar_init() local
320 unsigned used; in maar_init() member
335 if (recorded.used) { in maar_init()
336 used = maar_config(recorded.cfgs, recorded.used, num_maars / 2); in maar_init()
337 BUG_ON(used != recorded.used); in maar_init()
340 used = platform_maar_init(num_maars / 2); in maar_init()
344 for (i = (used * 2); i < num_maars; i++) { in maar_init()
351 if (recorded.used) in maar_init()
388 if (used <= ARRAY_SIZE(recorded.cfgs)) { in maar_init()
389 recorded.cfgs[recorded.used].lower = lower; in maar_init()
[all …]
/Linux-v6.1/Documentation/driver-api/gpio/
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
32 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an
36 - restart-gpio: drivers/power/reset/gpio-restart.c is used to restart/reboot
40 - poweroff-gpio: drivers/power/reset/gpio-poweroff.c is used to power the
45 - gpio-gate-clock: drivers/clk/clk-gpio.c is used to control a gated clock
48 - i2c-gpio: drivers/i2c/busses/i2c-gpio.c is used to drive an I2C bus
53 - spi_gpio: drivers/spi/spi-gpio.c is used to drive an SPI bus (variable number
[all …]
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/dvm/
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-v6.1/drivers/gpu/drm/i810/
Di810_dma.c57 int used; in i810_freelist_get() local
65 used = cmpxchg(buf_priv->in_use, I810_BUF_FREE, in i810_freelist_get()
67 if (used == I810_BUF_FREE) in i810_freelist_get()
80 int used; in i810_freelist_put() local
83 used = cmpxchg(buf_priv->in_use, I810_BUF_CLIENT, I810_BUF_FREE); in i810_freelist_put()
84 if (used != I810_BUF_CLIENT) { in i810_freelist_put()
712 struct drm_buf *buf, int discard, int used) in i810_dma_dispatch_vertex() argument
729 if (used < 0 || used > 4 * 1024) in i810_dma_dispatch_vertex()
730 used = 0; in i810_dma_dispatch_vertex()
739 ((GFX_OP_PRIMITIVE | prim | ((used / 4) - 2))); in i810_dma_dispatch_vertex()
[all …]
/Linux-v6.1/fs/ubifs/
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 …]

12345678910>>...107