Home
last modified time | relevance | path

Searched refs:needed (Results 1 – 25 of 1081) sorted by relevance

12345678910>>...44

/linux-6.12.1/fs/ext4/
Dtruncate.h32 ext4_lblk_t needed; in ext4_blocks_for_truncate() local
34 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9); in ext4_blocks_for_truncate()
42 if (needed < 2) in ext4_blocks_for_truncate()
43 needed = 2; in ext4_blocks_for_truncate()
47 if (needed > EXT4_MAX_TRANS_DATA) in ext4_blocks_for_truncate()
48 needed = EXT4_MAX_TRANS_DATA; in ext4_blocks_for_truncate()
50 return EXT4_DATA_TRANS_BLOCKS(inode->i_sb) + needed; in ext4_blocks_for_truncate()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-usb-lvstest10 for Link Layer Validation device. It is needed for TD.7.06.
18 and 127. It is needed for TD.7.18, TD.7.19, TD.7.20 and TD.7.21.
26 and 127. It is needed for TD.7.18, TD.7.19, TD.7.20 and TD.7.21.
33 device. It is needed for TD.7.29, TD.7.31, TD.7.34 and TD.7.35.
40 Validation device. It is needed for TD.7.35 and TD.7.36.
47 Validation device. It is needed for TD.7.36.
53 with Link Layer Validation device. It is needed for TD.7.34.
59 device. It may be needed to properly reset an xHCI 1.1 host port if
60 compliance mode needed to be explicitly enabled.
Dconfigfs-most23 (needed for synchronous and isochronous data)
55 pass parameters needed by some components
78 (needed for synchronous and isochronous data)
110 pass parameters needed by some components
133 (needed for synchronous and isochronous data)
165 pass parameters needed by some components
199 (needed for synchronous and isochronous data)
231 pass parameters needed by some components
/linux-6.12.1/tools/testing/selftests/kselftest/
Dprefix.pl13 my $needed = 1;
18 if ($needed) {
20 $needed = 0;
23 $needed = 1 if ($char eq "\n");
/linux-6.12.1/drivers/net/xen-netback/
Drx.c45 unsigned int needed = 0; in xenvif_update_needed_slots() local
48 needed = DIV_ROUND_UP(skb->len, XEN_PAGE_SIZE); in xenvif_update_needed_slots()
50 needed++; in xenvif_update_needed_slots()
52 needed++; in xenvif_update_needed_slots()
55 WRITE_ONCE(queue->rx_slots_needed, needed); in xenvif_update_needed_slots()
61 unsigned int needed; in xenvif_rx_ring_slots_available() local
63 needed = READ_ONCE(queue->rx_slots_needed); in xenvif_rx_ring_slots_available()
64 if (!needed) in xenvif_rx_ring_slots_available()
71 if (prod - cons >= needed) in xenvif_rx_ring_slots_available()
522 unsigned int needed = READ_ONCE(queue->rx_slots_needed); in xenvif_rx_queue_stalled() local
[all …]
/linux-6.12.1/drivers/media/usb/gspca/
Dpac207.c380 int needed; in sd_pkt_scan() local
384 needed = 5 - sd->header_read; in sd_pkt_scan()
385 if (len >= needed) in sd_pkt_scan()
386 atomic_set(&sd->avg_lum, data[needed - 1]); in sd_pkt_scan()
389 needed = 11 - sd->header_read; in sd_pkt_scan()
390 if (len <= needed) { in sd_pkt_scan()
394 data += needed; in sd_pkt_scan()
395 len -= needed; in sd_pkt_scan()
/linux-6.12.1/drivers/misc/sgi-xp/
Dxpc_main.c600 xpc_activate_kthreads(struct xpc_channel *ch, int needed) in xpc_activate_kthreads() argument
606 DBUG_ON(needed <= 0); in xpc_activate_kthreads()
609 wakeup = (needed > idle) ? idle : needed; in xpc_activate_kthreads()
610 needed -= wakeup; in xpc_activate_kthreads()
619 if (needed <= 0) in xpc_activate_kthreads()
622 if (needed + assigned > ch->kthreads_assigned_limit) { in xpc_activate_kthreads()
623 needed = ch->kthreads_assigned_limit - assigned; in xpc_activate_kthreads()
624 if (needed <= 0) in xpc_activate_kthreads()
629 needed, ch->partid, ch->number); in xpc_activate_kthreads()
631 xpc_create_kthreads(ch, needed, 0); in xpc_activate_kthreads()
[all …]
/linux-6.12.1/Documentation/arch/x86/
Dtsx_async_abort.rst46 ucode needed Mitigation is enabled. CPU is affected and MD_CLEAR is not
73 … X 1 Disabled X None needed None needed
88 … 1 X 1 Enabled X None needed None needed
103 …1 X 1 Enabled X None needed None needed
/linux-6.12.1/scripts/coccinelle/free/
Difnulldev_put.cocci3 /// NULL check before dev_{put, hold} functions is not needed.
48 cocci.print_main("NULL check before dev_{put, hold} functions is not needed", p)
54 msg = "WARNING: NULL check before dev_{put, hold} functions is not needed."
Difnullfree.cocci2 /// NULL check before some freeing functions is not needed.
60 cocci.print_main("NULL check before that freeing function is not needed", p)
66 msg = "WARNING: NULL check before some freeing functions is not needed."
/linux-6.12.1/net/sctp/
Dulpqueue.c959 __u16 needed) in sctp_ulpq_renege_list() argument
999 if (freed >= needed) in sctp_ulpq_renege_list()
1007 static __u16 sctp_ulpq_renege_order(struct sctp_ulpq *ulpq, __u16 needed) in sctp_ulpq_renege_order() argument
1009 return sctp_ulpq_renege_list(ulpq, &ulpq->lobby, needed); in sctp_ulpq_renege_order()
1013 static __u16 sctp_ulpq_renege_frags(struct sctp_ulpq *ulpq, __u16 needed) in sctp_ulpq_renege_frags() argument
1015 return sctp_ulpq_renege_list(ulpq, &ulpq->reasm, needed); in sctp_ulpq_renege_frags()
1074 __u16 needed; in sctp_ulpq_renege() local
1076 needed = ntohs(chunk->chunk_hdr->length) - in sctp_ulpq_renege()
1080 freed = sctp_ulpq_renege_order(ulpq, needed); in sctp_ulpq_renege()
1081 if (freed < needed) in sctp_ulpq_renege()
[all …]
/linux-6.12.1/drivers/clk/sunxi/
DKconfig25 usually needed for the PMIC communication, mostly.
32 Those are usually needed for the PMIC communication,
40 usually needed for the PMIC communication, mostly.
/linux-6.12.1/Documentation/
Dsubsystem-apis.rst10 as needed (or at least as we managed to add it — probably *not* all that is
11 needed).
66 **Fixme**: much more organizational work is needed here.
/linux-6.12.1/Documentation/arch/arm/omap/
Domap.rst11 v4.3+ Update is needed for custom .config files to make sure
15 v4.18+ Update is needed for custom .config files to make sure
/linux-6.12.1/Documentation/devicetree/bindings/spi/
Dspi_oc_tiny.txt11 The clock-frequency and baud-width properties are needed only if the divider
12 is programmable. They are not needed if the divider is fixed.
/linux-6.12.1/Documentation/devicetree/bindings/pci/
Dralink,rt3883-pci.txt12 - #address-cells: specifies the number of cells needed to encode an
37 - #address-cells: specifies the number of cells needed to encode an
41 - #interrupt-cells: specifies the number of cells needed to encode an
52 - #address-cells: specifies the number of cells needed to encode an
58 - #interrupt-cells: specifies the number of cells needed to encode an
/linux-6.12.1/drivers/gpu/host1x/
Dcdma.c237 unsigned int needed) in host1x_cdma_wait_pushbuffer_space() argument
244 if (space >= needed) in host1x_cdma_wait_pushbuffer_space()
628 unsigned int space, needed = 2, extra = 0; in host1x_cdma_push_wide() local
637 needed += extra; in host1x_cdma_push_wide()
640 host1x_cdma_wait_pushbuffer_space(host1x, cdma, needed); in host1x_cdma_push_wide()
643 cdma->slots_free = space - needed; in host1x_cdma_push_wide()
644 cdma->slots_used += needed; in host1x_cdma_push_wide()
/linux-6.12.1/include/linux/
Dieee80211.h2727 u8 needed = sizeof(*he_cap_ie_elem); in ieee80211_he_capa_size_ok() local
2729 if (len < needed) in ieee80211_he_capa_size_ok()
2732 needed += ieee80211_he_mcs_nss_size(he_cap_ie_elem); in ieee80211_he_capa_size_ok()
2733 if (len < needed) in ieee80211_he_capa_size_ok()
2738 if (len < needed + 1) in ieee80211_he_capa_size_ok()
2740 needed += ieee80211_he_ppe_size(data[needed], in ieee80211_he_capa_size_ok()
2744 return len >= needed; in ieee80211_he_capa_size_ok()
2840 u8 needed = sizeof(*env); in ieee80211_valid_tpe_element() local
2843 if (len < needed) in ieee80211_valid_tpe_element()
2865 needed += count + 1; in ieee80211_valid_tpe_element()
[all …]
/linux-6.12.1/tools/memory-model/scripts/
Dnewlitmushist.sh57 sort -u $T/list-C-new $T/list-C-newer > $T/list-C-needed
59 scripts/runlitmushist.sh < $T/list-C-needed
Dcheckghlitmus.sh49 sort $T/list-C-already $T/list-C-result-short | uniq -u > $T/list-C-needed
52 if scripts/runlitmushist.sh < $T/list-C-needed > $T/run.stdout 2> $T/run.stderr
/linux-6.12.1/drivers/ata/
Dahci_da850.c46 u32 pll_output = 1500000000, needed; in ahci_da850_calculate_mpy() local
57 needed = pll_output / (refclk_rate / 10); in ahci_da850_calculate_mpy()
65 switch (needed) { in ahci_da850_calculate_mpy()
/linux-6.12.1/drivers/md/
Ddm-ioctl.c595 size_t len, needed = 0; in list_devices() local
610 needed += align_val(offsetof(struct dm_name_list, name) + strlen(hc->name) + 1); in list_devices()
611 needed += align_val(sizeof(uint32_t) * 2); in list_devices()
613 needed += align_val(strlen(hc->uuid) + 1); in list_devices()
620 if (len < needed || len < sizeof(nl->dev)) { in list_devices()
624 param->data_size = param->data_start + needed; in list_devices()
665 BUG_ON((char *)nl - (char *)orig_nl != needed); in list_devices()
674 size_t *needed = needed_param; in list_version_get_needed() local
676 *needed += sizeof(struct dm_target_versions); in list_version_get_needed()
677 *needed += strlen(tt->name) + 1; in list_version_get_needed()
[all …]
/linux-6.12.1/Documentation/arch/arm64/
Dkdump.rst9 reserved memory is needed to pre-load the kdump kernel and boot such
13 accommodate the kdump kernel and the user space programs needed for the
33 devices needed by the kdump kernel to run. Those devices not related to
84 If it succeeds, no further reservation for low memory is needed.
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c228 unsigned long long breaks, needed; in runtestsingle() local
274 needed = 0; in runtestsingle()
276 needed += loop_num; in runtestsingle()
278 needed += loop_num; in runtestsingle()
279 needed = needed * (1 - exclude_user); in runtestsingle()
282 if (breaks != needed) { in runtestsingle()
284 (unsigned long int)ptr, breaks, needed, loop_num, readwriteflag, exclude_user); in runtestsingle()
/linux-6.12.1/Documentation/livepatch/
Dsystem-state.rst22 - store data needed to manipulate and restore the system state
115 of the livepatch. The allocation is not needed when the data
118 - Do any other preparatory action that is needed by
139 not longer needed.
156 - Remove any not longer needed setting or data.

12345678910>>...44