Home
last modified time | relevance | path

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

12345678910>>...183

/Linux-v5.4/fs/ext4/
Dtruncate.h5 * Common inline functions needed for truncate support
30 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
45 * Calculate the credit needed to inserting this extent in finish_range()
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()
[all …]
/Linux-v5.4/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-v5.4/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c80 unsigned long long breaks, needed; in runtestsingle() local
133 needed = 0; in runtestsingle()
135 needed += loop_num; in runtestsingle()
137 needed += loop_num; in runtestsingle()
138 needed = needed * (1 - exclude_user); in runtestsingle()
141 if (breaks != needed) { in runtestsingle()
142 printf("FAILED: 0x%lx brks:%lld needed:%lli %i %i %i\n\n", in runtestsingle()
143 (unsigned long int)ptr, breaks, needed, loop_num, readwriteflag, exclude_user); in runtestsingle()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.h14 * The sizes of the variables may be larger than needed due to crossing byte
21 u16 cpuid; /* bigger than needed, see above for reason */
25 u16 dbuff; /* bigger than needed, see above for reason */
27 u16 hbuff; /* bigger than needed, see above for reason */
36 u32 rxmax; /* bigger than needed, see above for reason */
41 u16 lrxqthresh; /* bigger than needed, see above for reason */
47 * The sizes of the variables may be larger than needed due to crossing byte
/Linux-v5.4/drivers/staging/most/Documentation/ABI/
Dconfigfs-most.txt21 (needed for synchronous and isochrnous data)
46 comp_params pass parameters needed by some components
65 (needed for synchronous and isochrnous data)
90 comp_params pass parameters needed by some components
109 (needed for synchronous and isochrnous data)
134 comp_params pass parameters needed by some components
163 (needed for synchronous and isochrnous data)
188 comp_params pass parameters needed by some components
/Linux-v5.4/tools/testing/selftests/kselftest/
Dprefix.pl12 my $needed = 1;
17 if ($needed) {
19 $needed = 0;
22 $needed = 1 if ($char eq "\n");
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_lan_tx_rx.h265 * The sizes of the variables may be larger than needed due to crossing byte
272 u16 cpuid; /* bigger than needed, see above for reason */
277 u16 dbuf; /* bigger than needed, see above for reason */
279 u16 hbuf; /* bigger than needed, see above for reason */
287 u32 rxmax; /* bigger than needed, see above for reason */
292 u16 lrxqthresh; /* bigger than needed, see above for reason */
413 * The sizes of the variables may be larger than needed due to crossing byte
422 u16 cgd_num; /* bigger than needed, see above for reason */
433 u16 cpuid; /* bigger than needed, see above for reason */
442 u32 qlen; /* bigger than needed, see above for reason */
[all …]
/Linux-v5.4/drivers/acpi/acpica/
Dexresop.c29 * PARAMETERS: type_needed Object type needed
67 "Needed type [%s], found [%s] %p", in acpi_ex_check_object_type()
389 "Needed [Integer/String/Buffer], found [%s] %p", in acpi_ex_resolve_operands()
414 "Needed [Integer/String/Buffer], found [%s] %p", in acpi_ex_resolve_operands()
441 "Needed [Integer/String/Buffer], found [%s] %p", in acpi_ex_resolve_operands()
470 "Needed [Integer/String/Buffer], found [%s] %p", in acpi_ex_resolve_operands()
507 "Needed [Integer/String/Buffer], found [%s] %p", in acpi_ex_resolve_operands()
535 "Needed [Buffer/String/Package/Reference], found [%s] %p", in acpi_ex_resolve_operands()
558 "Needed [Buffer/String/Package], found [%s] %p", in acpi_ex_resolve_operands()
582 "Needed [Region/Buffer], found [%s] %p", in acpi_ex_resolve_operands()
[all …]
/Linux-v5.4/drivers/clk/sunxi/
DKconfig26 usually needed for the PMIC communication, mostly.
34 Those are usually needed for the PMIC communication,
42 usually needed for the PMIC communication, mostly.
/Linux-v5.4/lib/
DKconfig120 This option is only needed if a module that's not in the
264 # compression support is select'ed if needed
333 # Generic allocator support is selected if needed
339 # reed solomon support is select'ed if needed
357 # BCH support is selected if needed
396 # Textsearch support is select'ed if needed
516 # Netlink attribute parsing support is select'ed if needed
522 # Generic 64-bit atomic support is selected if needed
564 # libfdt files, only selected if needed.
/Linux-v5.4/tools/testing/ktest/examples/include/
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-v5.4/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
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-v5.4/arch/x86/math-emu/
Dreg_round.S31 | Needed by both the fpu_reg_round and fpu_reg_round_sqrt entry points: |
38 | Needed just for the fpu_reg_round_sqrt entry point: |
210 /* Do rounding of the 24th bit if needed (nearest or even) */
214 jc LCheck_truncate_24 /* less than half, no increment needed */
216 jne LGreater_Half_24 /* greater than half, increment needed */
220 jnz LGreater_Half_24 /* greater than half, increment needed */
223 jnz LGreater_Half_24 /* greater than half, increment needed */
242 jz L_Re_normalise /* No truncation needed */
289 /* Do rounding of the 53rd bit if needed (nearest or even) */
293 jc LCheck_truncate_53 /* less than half, no increment needed */
[all …]
/Linux-v5.4/Documentation/trace/
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 */
316 /* No extra data needed */
338 /* save all state needed by the ABI (see paragraph above) */
346 /* restore all state needed by the ABI */
/Linux-v5.4/net/sctp/
Dulpqueue.c100 /* Do reassembly if needed. */ in sctp_ulpq_tail_data()
103 /* Do ordering if needed. */ in sctp_ulpq_tail_data()
730 /* Do ordering if needed. */ in sctp_ulpq_reasm_drain()
960 * ordering and deliver them if needed. in sctp_ulpq_skip()
966 __u16 needed) in sctp_ulpq_renege_list() argument
1006 if (freed >= needed) in sctp_ulpq_renege_list()
1013 /* Renege 'needed' bytes from the ordering queue. */
1014 static __u16 sctp_ulpq_renege_order(struct sctp_ulpq *ulpq, __u16 needed) in sctp_ulpq_renege_order() argument
1016 return sctp_ulpq_renege_list(ulpq, &ulpq->lobby, needed); in sctp_ulpq_renege_order()
1019 /* Renege 'needed' bytes from the reassembly queue. */
[all …]
/Linux-v5.4/scripts/coccinelle/free/
Difnullfree.cocci2 /// NULL check before some freeing functions is not needed.
53 cocci.print_main("NULL check before that freeing function is not needed", p)
59 msg = "WARNING: NULL check before some freeing functions is not needed."
/Linux-v5.4/Documentation/
Drobust-futexes.txt51 is needed to release that futex based lock. This is one of the leading
118 That's all that is needed - all the rest of robust-futex cleanup is done
131 - no VM changes are needed - 'struct address_space' is left alone.
133 - no registration of individual locks is needed: robust mutexes don't
141 - no resource limits are needed.
143 - no kernel-space recovery call (FUTEX_RECOVER) is needed.
151 I have benchmarked the time needed for the kernel to process a list of 1
/Linux-v5.4/Documentation/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-v5.4/include/media/
Dv4l2-dev.h8 * Some commonly needed functions for drivers (v4l2-common.o module)
175 * @read: operations needed to implement the read() syscall
176 * @write: operations needed to implement the write() syscall
177 * @poll: operations needed to implement the poll() syscall
178 * @unlocked_ioctl: operations needed to implement the ioctl() syscall
179 * @compat_ioctl32: operations needed to implement the ioctl() syscall for
183 * @mmap: operations needed to implement the mmap() syscall
184 * @open: operations needed to implement the open() syscall
185 * @release: operations needed to implement the release() syscall
191 * extra logic needed by the subsystem.
/Linux-v5.4/arch/sh/kernel/cpu/shmobile/
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-v5.4/Documentation/devicetree/bindings/thermal/
Dmediatek-thermal.txt8 is also needed.
19 - clocks, clock-names: Clocks needed for the thermal controller. required
21 "therm": Main clock needed for register access
/Linux-v5.4/tools/power/cpupower/lib/
Dcpufreq.h84 * Remember to call cpufreq_put_driver when no longer needed
95 * Remember to call cpufreq_put_policy when no longer needed
136 * Remember to call cpufreq_put_affected_cpus when no longer needed
148 * Remember to call cpufreq_put_related_cpus when no longer needed
/Linux-v5.4/arch/arc/include/asm/
Dcmpxchg.h22 * Explicit full memory barrier needed before/after as in __cmpxchg()
54 * spin lock/unlock provide the needed smp_mb() before/after in __cmpxchg()
70 * Explicit full memory barrier needed before/after in __cmpxchg()
145 * Technically the lock is also needed for UP (boils down to irq save/restore)
181 * Explicit full memory barrier needed before/after in __xchg()

12345678910>>...183