Home
last modified time | relevance | path

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

12345678910>>...39

/Linux-v4.19/fs/ext4/
Dtruncate.h30 ext4_lblk_t needed; in ext4_blocks_for_truncate() local
32 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9); in ext4_blocks_for_truncate()
40 if (needed < 2) in ext4_blocks_for_truncate()
41 needed = 2; in ext4_blocks_for_truncate()
45 if (needed > EXT4_MAX_TRANS_DATA) in ext4_blocks_for_truncate()
46 needed = EXT4_MAX_TRANS_DATA; in ext4_blocks_for_truncate()
48 return EXT4_DATA_TRANS_BLOCKS(inode->i_sb) + needed; in ext4_blocks_for_truncate()
Dmigrate.c25 int retval = 0, needed; in finish_range() local
50 needed = ext4_ext_calc_credits_for_single_extent(inode, in finish_range()
56 if (needed && ext4_handle_has_enough_credits(handle, in finish_range()
59 retval = ext4_journal_restart(handle, needed); in finish_range()
63 } else if (needed) { in finish_range()
64 retval = ext4_journal_extend(handle, needed); in finish_range()
70 retval = ext4_journal_restart(handle, needed); in finish_range()
201 int retval = 0, needed; in extend_credit_for_blkdel() local
211 needed = 3 + EXT4_MAXQUOTAS_TRANS_BLOCKS(inode->i_sb); in extend_credit_for_blkdel()
213 if (ext4_journal_extend(handle, needed) != 0) in extend_credit_for_blkdel()
[all …]
/Linux-v4.19/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c84 unsigned long long breaks, needed; in runtestsingle() local
137 needed = 0; in runtestsingle()
139 needed += loop_num; in runtestsingle()
141 needed += loop_num; in runtestsingle()
142 needed = needed * (1 - exclude_user); in runtestsingle()
145 if (breaks != needed) { in runtestsingle()
147 (unsigned long int)ptr, breaks, needed, loop_num, readwriteflag, exclude_user); in runtestsingle()
/Linux-v4.19/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.
/Linux-v4.19/drivers/media/usb/gspca/
Dpac207.c390 int needed; in sd_pkt_scan() local
394 needed = 5 - sd->header_read; in sd_pkt_scan()
395 if (len >= needed) in sd_pkt_scan()
396 atomic_set(&sd->avg_lum, data[needed - 1]); in sd_pkt_scan()
399 needed = 11 - sd->header_read; in sd_pkt_scan()
400 if (len <= needed) { in sd_pkt_scan()
404 data += needed; in sd_pkt_scan()
405 len -= needed; in sd_pkt_scan()
/Linux-v4.19/drivers/misc/sgi-xp/
Dxpc_main.c617 xpc_activate_kthreads(struct xpc_channel *ch, int needed) in xpc_activate_kthreads() argument
623 DBUG_ON(needed <= 0); in xpc_activate_kthreads()
626 wakeup = (needed > idle) ? idle : needed; in xpc_activate_kthreads()
627 needed -= wakeup; in xpc_activate_kthreads()
636 if (needed <= 0) in xpc_activate_kthreads()
639 if (needed + assigned > ch->kthreads_assigned_limit) { in xpc_activate_kthreads()
640 needed = ch->kthreads_assigned_limit - assigned; in xpc_activate_kthreads()
641 if (needed <= 0) in xpc_activate_kthreads()
646 needed, ch->partid, ch->number); in xpc_activate_kthreads()
648 xpc_create_kthreads(ch, needed, 0); in xpc_activate_kthreads()
[all …]
/Linux-v4.19/scripts/coccinelle/free/
Difnullfree.cocci1 /// NULL check before some freeing functions is not needed.
52 cocci.print_main("NULL check before that freeing function is not needed", p)
58 msg = "WARNING: NULL check before some freeing functions is not needed."
/Linux-v4.19/Documentation/arm/OMAP/
DREADME5 v4.3+ Update is needed for custom .config files to make sure
9 v4.18+ Update is needed for custom .config files to make sure
/Linux-v4.19/net/sctp/
Dulpqueue.c987 __u16 needed) in sctp_ulpq_renege_list() argument
1027 if (freed >= needed) in sctp_ulpq_renege_list()
1035 static __u16 sctp_ulpq_renege_order(struct sctp_ulpq *ulpq, __u16 needed) in sctp_ulpq_renege_order() argument
1037 return sctp_ulpq_renege_list(ulpq, &ulpq->lobby, needed); in sctp_ulpq_renege_order()
1041 static __u16 sctp_ulpq_renege_frags(struct sctp_ulpq *ulpq, __u16 needed) in sctp_ulpq_renege_frags() argument
1043 return sctp_ulpq_renege_list(ulpq, &ulpq->reasm, needed); in sctp_ulpq_renege_frags()
1098 __u16 needed; in sctp_ulpq_renege() local
1100 needed = ntohs(chunk->chunk_hdr->length) - in sctp_ulpq_renege()
1104 freed = sctp_ulpq_renege_order(ulpq, needed); in sctp_ulpq_renege()
1105 if (freed < needed) in sctp_ulpq_renege()
[all …]
/Linux-v4.19/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-v4.19/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
Dxilinx-pcie.txt6 - #interrupt-cells: specifies the number of cells needed to encode an
27 - #address-cells: specifies the number of cells needed to encode an
29 - #interrupt-cells: specifies the number of cells needed to encode an
Drockchip-pcie-host.txt6 - #interrupt-cells: specifies the number of cells needed to encode an
39 - #interrupt-cells: specifies the number of cells needed to encode an
56 - aspm-no-l0s: RC won't support ASPM L0s. This property is needed if
74 - #address-cells: specifies the number of cells needed to encode an
76 - #interrupt-cells: specifies the number of cells needed to encode an
/Linux-v4.19/drivers/ata/
Dahci_da850.c50 u32 pll_output = 1500000000, needed; in ahci_da850_calculate_mpy() local
61 needed = pll_output / (refclk_rate / 10); in ahci_da850_calculate_mpy()
69 switch (needed) { in ahci_da850_calculate_mpy()
/Linux-v4.19/Documentation/devicetree/bindings/thermal/
Dmediatek-thermal.txt8 is also needed.
18 - clocks, clock-names: Clocks needed for the thermal controller. required
20 "therm": Main clock needed for register access
/Linux-v4.19/Documentation/devicetree/bindings/phy/
Dbcm-ns-usb2-phy.txt6 - reg-names: "dmu", the only needed & supported reg right now
8 - clock-names: "phy-ref-clk", the only needed & supported clock right now
/Linux-v4.19/Documentation/devicetree/bindings/mtd/
Doxnas-nand.txt10 - clocks: phandle to the NAND gate clock if needed.
11 - resets: phandle to the NAND reset control if needed.
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dsunxi-ccu.txt28 - clocks: phandle to the oscillators feeding the CCU. Two are needed:
36 For the main CCU on H6, one more clock is needed:
39 For the PRCM CCUs on A83T/H3/A64/H6, two more clocks are needed:
/Linux-v4.19/drivers/md/
Ddm-ioctl.c510 size_t len, needed = 0; in list_devices() local
523 needed += align_val(offsetof(struct dm_name_list, name) + strlen(hc->name) + 1); in list_devices()
524 needed += align_val(sizeof(uint32_t)); in list_devices()
532 if (len < needed) { in list_devices()
536 param->data_size = param->data_start + needed; in list_devices()
563 BUG_ON((char *)nl - (char *)orig_nl != needed); in list_devices()
572 size_t *needed = needed_param; in list_version_get_needed() local
574 *needed += sizeof(struct dm_target_versions); in list_version_get_needed()
575 *needed += strlen(tt->name); in list_version_get_needed()
576 *needed += ALIGN_MASK; in list_version_get_needed()
[all …]
/Linux-v4.19/scripts/coccinelle/misc/
Dboolconv.cocci78 msg = "WARNING: conversion to bool not needed here"
89 msg = "WARNING: conversion to bool not needed here"
/Linux-v4.19/Documentation/devicetree/bindings/arm/marvell/
Darmada-37xx.txt23 Power Management component is needed:
40 For AVS an other component is needed:
Dcoherency-fabric.txt24 * For "marvell,armada-375-coherency-fabric", only one pair is needed
27 * For "marvell,armada-380-coherency-fabric", only one pair is needed
/Linux-v4.19/Documentation/devicetree/bindings/iio/humidity/
Dhts221.txt12 IRQ_TYPE_EDGE_RISING a pull-down resistor is needed to drive the line
13 when it is not active, whereas a pull-up one is needed when interrupt
/Linux-v4.19/Documentation/hwmon/
Dlm9211 Addresses scanned: none, force parameter needed
15 Addresses scanned: none, force parameter needed
/Linux-v4.19/Documentation/devicetree/bindings/soc/qcom/
Dqcom,geni-se.txt14 - clocks: AHB clocks needed by the device.
36 - clocks: Serial engine core clock needed by the device.
53 - clocks: Serial engine core clock needed by the device.
62 - clocks: Serial engine core clock needed by the device.

12345678910>>...39