Home
last modified time | relevance | path

Searched full:needed (Results 1 – 25 of 2603) sorted by relevance

12345678910>>...105

/linux/fs/ext4/
H A Dtruncate.h5 * Common inline functions needed for truncate support
32 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/Documentation/ABI/testing/
H A 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.
H A 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/include/linux/
H A Dieee80211-uhr.h52 * Time needed by an NPCA AP to switch from the
125 * any frame exchange is needed.
128 * needed if the frame exchange is performed
276 u8 needed = sizeof(*oper); in ieee80211_uhr_oper_size_ok() local
278 if (len < needed) in ieee80211_uhr_oper_size_ok()
283 needed += sizeof(struct ieee80211_uhr_dps_info); in ieee80211_uhr_oper_size_ok()
284 if (len < needed) in ieee80211_uhr_oper_size_ok()
291 (const void *)(data + needed); in ieee80211_uhr_oper_size_ok()
293 needed += sizeof(*npca); in ieee80211_uhr_oper_size_ok()
294 if (len < needed) in ieee80211_uhr_oper_size_ok()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_lan_hmc.h16 * The sizes of the variables may be larger than needed due to crossing byte
23 u16 cpuid; /* bigger than needed, see above for reason */
27 u16 dbuff; /* bigger than needed, see above for reason */
29 u16 hbuff; /* bigger than needed, see above for reason */
38 u32 rxmax; /* bigger than needed, see above for reason */
43 u16 lrxqthresh; /* bigger than needed, see above for reason */
49 * The sizes of the variables may be larger than needed due to crossing byte
/linux/tools/testing/selftests/kselftest/
H A Dprefix.pl13 my $needed = 1;
18 if ($needed) {
20 $needed = 0;
23 $needed = 1 if ($char eq "\n");
/linux/drivers/net/xen-netback/
H A Drx.c37 * Update the needed ring page slots for the first SKB queued.
45 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()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-pm8916.dtsi75 regulator-always-on; /* Needed for L2 */
81 regulator-always-on; /* Needed for L5/L7 */
98 regulator-always-on; /* Needed for LPDDR RAM */
108 regulator-always-on; /* Needed for most digital I/O */
119 regulator-always-on; /* Needed for CPU PLL */
H A Dmsm8929-pm8916.dtsi54 regulator-always-on; /* Needed for L2 */
59 regulator-always-on; /* Needed for L5/L7 */
76 regulator-always-on; /* Needed for LPDDR RAM */
86 regulator-always-on; /* Needed for most digital I/O */
97 regulator-always-on; /* Needed for CPU PLL */
/linux/Documentation/trace/
H A Dftrace-design.rst88 /* save any bare state needed in order to do initial checking */
100 /* save all state needed by the ABI (see paragraph above) */
106 /* restore all state needed by the ABI */
165 /* save all state needed by the ABI */
172 /* restore all state needed by the ABI */
192 /* save all state needed by the ABI (see paragraph above) */
196 /* restore all state needed by the ABI */
292 /* No extra data needed */
314 /* save all state needed by the ABI (see paragraph above) */
322 /* restore all state needed by the ABI */
/linux/drivers/clk/sunxi/
H A 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/tools/testing/ktest/examples/include/
H A Dmin-config.conf7 # needed to boot a given machine. You can debug someone else's
9 # your MIN_CONFIG is to the true minimum set of configs needed to
14 # is truly the minimum set of configs needed to boot a box.
31 # directly because another config that was needed to boot the box
/linux/net/sctp/
H A Dulpqueue.c97 /* Do reassembly if needed. */ in sctp_ulpq_tail_data()
100 /* Do ordering if needed. */ in sctp_ulpq_tail_data()
723 /* Do ordering if needed. */ in sctp_ulpq_reasm_drain()
953 * ordering and deliver them if needed. in sctp_ulpq_skip()
959 __u16 needed) in sctp_ulpq_renege_list() argument
999 if (freed >= needed) in sctp_ulpq_renege_list()
1006 /* Renege 'needed' bytes from the ordering queue. */
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()
1012 /* Renege 'needed' bytes from the reassembly queue. */
[all …]
/linux/Documentation/livepatch/
H A 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.
/linux/Documentation/devicetree/bindings/pci/
H A 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/Documentation/gpu/rfc/
H A Di915_scheduler.rst18 * Update IGTs / selftests as needed to work with GuC submission
20 * Rework / get CI heathly for GuC submission in place as needed
31 needed
59 * Optimize DRM scheduler as needed
79 This is needed because the GuC only has 4 priority bands. The highest priority
132 supports GuC submission. Execlists supports can be added later if needed.
/linux/scripts/coccinelle/free/
H A Difnulldev_put.cocci3 /// NULL check before dev_{put, hold} functions is not needed.
48 cocci.print_main("NULL check before (net)dev_{put, hold} functions is not needed", p)
54 msg = "WARNING: NULL check before (net)dev_{put, hold} functions is not needed."
H A 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/Documentation/arch/x86/
H A 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/kernel/rcu/
H A Dsrcutiny.c108 preempt_disable(); // Needed for PREEMPT_LAZY in __srcu_read_unlock()
130 preempt_disable(); // Needed for PREEMPT_LAZY in srcu_drive_gp()
153 preempt_disable(); // Needed for PREEMPT_LAZY in srcu_drive_gp()
174 preempt_disable(); // Needed for PREEMPT_LAZY in srcu_drive_gp()
201 lockdep_assert_preemption_disabled(); // Needed for PREEMPT_LAZY in srcu_gp_start_if_needed()
226 preempt_disable(); // Needed for PREEMPT_LAZY in call_srcu()
288 preempt_disable(); // Needed for PREEMPT_LAZY in start_poll_synchronize_srcu()
/linux/arch/sh/kernel/cpu/shmobile/
H A Dsleep.S48 /* save general purpose registers to stack if needed */
95 /* save mmu and cache context if needed */
146 /* call self-refresh entering code if needed */
282 /* call self-refresh resume code if needed */
292 /* restore mmu and cache state if needed */
334 /* restore general purpose registers if needed */
/linux/drivers/media/usb/gspca/
H A Dpac207.c72 /* compressed, but only when needed (not compressed
380 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/Documentation/arch/arm64/
H A 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/Documentation/
H A 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/kernel/sched/ext/
H A Dsub.h124 * scx_missing_caps - The caps in @needed that @sch lacks on @cpu
127 * @needed: bitmask of SCX_CAP_* values
129 * Return the caps in @needed that @sch lacks for @cpu, 0 if it holds them all.
131 static inline u64 scx_missing_caps(struct scx_sched *sch, s32 cpu, u64 needed) in scx_missing_caps() argument
145 return needed & ~ecaps; in scx_missing_caps()
225 static inline u64 scx_missing_caps(struct scx_sched *sch, s32 cpu, u64 needed) { return 0; } in scx_missing_caps() argument

12345678910>>...105