Home
last modified time | relevance | path

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

12345678910>>...21

/linux-3.4.99/fs/ext4/
Dtruncate.h23 ext4_lblk_t needed; in ext4_blocks_for_truncate() local
25 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9); in ext4_blocks_for_truncate()
33 if (needed < 2) in ext4_blocks_for_truncate()
34 needed = 2; in ext4_blocks_for_truncate()
38 if (needed > EXT4_MAX_TRANS_DATA) in ext4_blocks_for_truncate()
39 needed = EXT4_MAX_TRANS_DATA; in ext4_blocks_for_truncate()
41 return EXT4_DATA_TRANS_BLOCKS(inode->i_sb) + needed; in ext4_blocks_for_truncate()
Dmigrate.c31 int retval = 0, needed; in finish_range() local
55 needed = ext4_ext_calc_credits_for_single_extent(inode, in finish_range()
61 if (needed && ext4_handle_has_enough_credits(handle, in finish_range()
63 retval = ext4_journal_restart(handle, needed); in finish_range()
66 } else if (needed) { in finish_range()
67 retval = ext4_journal_extend(handle, needed); in finish_range()
72 retval = ext4_journal_restart(handle, needed); in finish_range()
203 int retval = 0, needed; in extend_credit_for_blkdel() local
213 needed = 3 + EXT4_MAXQUOTAS_TRANS_BLOCKS(inode->i_sb); in extend_credit_for_blkdel()
215 if (ext4_journal_extend(handle, needed) != 0) in extend_credit_for_blkdel()
[all …]
/linux-3.4.99/net/sctp/
Dulpqueue.c956 struct sk_buff_head *list, __u16 needed) in sctp_ulpq_renege_list() argument
973 if (freed >= needed) in sctp_ulpq_renege_list()
981 static __u16 sctp_ulpq_renege_order(struct sctp_ulpq *ulpq, __u16 needed) in sctp_ulpq_renege_order() argument
983 return sctp_ulpq_renege_list(ulpq, &ulpq->lobby, needed); in sctp_ulpq_renege_order()
987 static __u16 sctp_ulpq_renege_frags(struct sctp_ulpq *ulpq, __u16 needed) in sctp_ulpq_renege_frags() argument
989 return sctp_ulpq_renege_list(ulpq, &ulpq->reasm, needed); in sctp_ulpq_renege_frags()
1032 __u16 needed, freed; in sctp_ulpq_renege() local
1037 needed = ntohs(chunk->chunk_hdr->length); in sctp_ulpq_renege()
1038 needed -= sizeof(sctp_data_chunk_t); in sctp_ulpq_renege()
1040 needed = SCTP_DEFAULT_MAXWINDOW; in sctp_ulpq_renege()
[all …]
/linux-3.4.99/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-3.4.99/drivers/media/video/gspca/
Dpac207.c365 int needed; in sd_pkt_scan() local
369 needed = 5 - sd->header_read; in sd_pkt_scan()
370 if (len >= needed) in sd_pkt_scan()
371 atomic_set(&sd->avg_lum, data[needed - 1]); in sd_pkt_scan()
374 needed = 11 - sd->header_read; in sd_pkt_scan()
375 if (len <= needed) { in sd_pkt_scan()
379 data += needed; in sd_pkt_scan()
380 len -= needed; in sd_pkt_scan()
/linux-3.4.99/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-3.4.99/drivers/md/
Ddm-ioctl.c483 size_t len, needed = 0; in list_devices() local
495 needed += sizeof(struct dm_name_list); in list_devices()
496 needed += strlen(hc->name) + 1; in list_devices()
497 needed += ALIGN_MASK; in list_devices()
505 if (len < needed) { in list_devices()
509 param->data_size = param->data_start + needed; in list_devices()
538 size_t *needed = needed_param; in list_version_get_needed() local
540 *needed += sizeof(struct dm_target_versions); in list_version_get_needed()
541 *needed += strlen(tt->name); in list_version_get_needed()
542 *needed += ALIGN_MASK; in list_version_get_needed()
[all …]
/linux-3.4.99/lib/
DKconfig55 This option is only needed if a module that's not in the
166 # compression support is select'ed if needed
205 # Generic allocator support is selected if needed
211 # reed solomon support is select'ed if needed
229 # BCH support is selected if needed
268 # Textsearch support is select'ed if needed
323 # Netlink attribute parsing support is select'ed if needed
329 # Generic 64-bit atomic support is selected if needed
370 but can be compiled if needed.
/linux-3.4.99/arch/mips/loongson/
DPlatform14 $(error only binutils >= 2.20.2 have needed option -mfix-loongson2f-nop)
19 $(error only binutils >= 2.20.2 have needed option -mfix-loongson2f-jump)
/linux-3.4.99/arch/arm/plat-s3c24xx/
DKconfig31 low-level implementation needed
37 low-level implementation needed
78 S3C2410 DMA support. This is needed for drivers like sound which
/linux-3.4.99/Documentation/sound/oss/
Dultrasound12 dma16 2nd DMA channel, only needed for full duplex operation
23 as the old behaviour. If set to 1, no DMA is needed for downloading samples,
/linux-3.4.99/Documentation/power/
Dvideo.txt53 acpi_sleep=s3_bios,s3_mode is needed.
104 Arima W730a vbetool needed (6)
119 Dell Inspiron 5150 vbetool needed (6)
124 eMachines athlon64 machines vbetool needed (6) (someone please get me model #s)
127 HP Pavilion ZD7000 vbetool post needed, need open-source nv driver for X
150 IBM TP 600e none(1), but a switch to console and back to X is needed
152 Samsung P35 vbetool needed (6)
/linux-3.4.99/arch/m68k/ifpsp060/
DREADME51 fskeleton.s Sample Call-outs needed by fpsp.sa and pfpsp.sa
53 iskeleton.s Sample Call-outs needed by isp.sa
55 os.s Sample Call-outs needed by fpsp.sa, pfpsp.sa, and isp.sa
/linux-3.4.99/Documentation/trace/
Dftrace-design.txt79 /* save any bare state needed in order to do initial checking */
91 /* save all state needed by the ABI (see paragraph above) */
97 /* restore all state needed by the ABI */
119 /* save any bare state needed in order to do initial checking */
176 /* save all state needed by the ABI */
183 /* restore all state needed by the ABI */
202 /* save all state needed by the ABI (see paragraph above) */
206 /* restore all state needed by the ABI */
309 /* No extra data needed */
333 /* save all state needed by the ABI (see paragraph above) */
[all …]
/linux-3.4.99/arch/cris/arch-v32/lib/
Dchecksum.S46 ;; r11 <= acr is not really needed in the mloop, just using the dslot
47 ;; to prepare for what is needed after mloop.
/linux-3.4.99/drivers/pnp/
DKconfig12 parameters. No jumpers on the cards are needed, instead the values
29 messages if needed. The messages can be enabled at boot-time with
/linux-3.4.99/drivers/usb/host/
Dhwa-hc.c605 size_t itr_size, needed, bytes; in hwahc_security_create() local
622 needed = sizeof(*secd); in hwahc_security_create()
623 if (top - (void *)secd < needed) { in hwahc_security_create()
626 top - (void *) secd, needed); in hwahc_security_create()
629 needed = le16_to_cpu(secd->wTotalLength); in hwahc_security_create()
630 if (top - (void *)secd < needed) { in hwahc_security_create()
633 top - (void *) secd, needed); in hwahc_security_create()
/linux-3.4.99/tools/power/cpupower/
DREADME8 On x86 pciutils is needed at runtime (-lpci).
10 providing cpuid.h is needed.
/linux-3.4.99/Documentation/x86/x86_64/
Duefi.txt6 Although the tools below are _not_ needed for building the kernel,
7 the needed bootloader support and associated tools for x86_64 platforms
/linux-3.4.99/Documentation/misc-devices/
Dbh1770glc.txt28 proximity detection is needed.
41 calibrated source of light is needed as a reference. Calibscale factor is set
98 RW - number of proximity interrupts needed before triggering the event
/linux-3.4.99/include/xen/interface/io/
Dprotocols.h18 # error arch fixup needed here
/linux-3.4.99/drivers/staging/cptm1217/
DTODO3 - Merge any device support needed from this driver into it
/linux-3.4.99/drivers/staging/ste_rmi4/
DTODO5 Merge any device support needed from this driver into it
/linux-3.4.99/Documentation/
Dbasic_profiling.txt15 A recent readprofile command is needed for 2.6, such as found in util-linux
55 A reset is needed to clear old statistics, which survive a reboot.
/linux-3.4.99/arch/arm/boot/dts/
Dskeleton.dtsi2 * Skeleton device tree; the bare minimum needed to boot; just include and

12345678910>>...21