Home
last modified time | relevance | path

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

1234

/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c268 int needed = 85; /* average message length */ in libcfs_debug_vmsg2() local
311 tage = cfs_trace_get_tage(tcd, needed + known_size + 1); in libcfs_debug_vmsg2()
313 if (needed + known_size > PAGE_CACHE_SIZE) in libcfs_debug_vmsg2()
334 needed = 0; in libcfs_debug_vmsg2()
337 needed = vsnprintf(string_buf, max_nob, format1, ap); in libcfs_debug_vmsg2()
342 remain = max_nob - needed; in libcfs_debug_vmsg2()
347 needed += vsnprintf(string_buf + needed, remain, in libcfs_debug_vmsg2()
352 if (needed < max_nob) /* well. printing ok.. */ in libcfs_debug_vmsg2()
356 if (*(string_buf+needed-1) != '\n') in libcfs_debug_vmsg2()
360 header.ph_len = known_size + needed; in libcfs_debug_vmsg2()
[all …]
/drivers/media/usb/gspca/
Dpac207.c394 int needed; in sd_pkt_scan() local
398 needed = 5 - sd->header_read; in sd_pkt_scan()
399 if (len >= needed) in sd_pkt_scan()
400 atomic_set(&sd->avg_lum, data[needed - 1]); in sd_pkt_scan()
403 needed = 11 - sd->header_read; in sd_pkt_scan()
404 if (len <= needed) { in sd_pkt_scan()
408 data += needed; in sd_pkt_scan()
409 len -= needed; in sd_pkt_scan()
/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 …]
/drivers/md/
Ddm-ioctl.c505 size_t len, needed = 0; in list_devices() local
517 needed += sizeof(struct dm_name_list); in list_devices()
518 needed += strlen(hc->name) + 1; in list_devices()
519 needed += ALIGN_MASK; in list_devices()
527 if (len < needed || len < sizeof(nl->dev)) { in list_devices()
531 param->data_size = param->data_start + needed; in list_devices()
560 size_t *needed = needed_param; in list_version_get_needed() local
562 *needed += sizeof(struct dm_target_versions); in list_version_get_needed()
563 *needed += strlen(tt->name); in list_version_get_needed()
564 *needed += ALIGN_MASK; in list_version_get_needed()
[all …]
/drivers/staging/fsl-mc/
DTODO16 are needed by drivers to serialize commands sent to the MC, including
21 to evolve, so minor updates are needed to keep in sync with binary
/drivers/usb/host/
Dhwa-hc.c645 size_t itr_size, needed, bytes; in hwahc_security_create() local
662 needed = sizeof(*secd); in hwahc_security_create()
663 if (top - (void *)secd < needed) { in hwahc_security_create()
666 top - (void *) secd, needed); in hwahc_security_create()
669 needed = le16_to_cpu(secd->wTotalLength); in hwahc_security_create()
670 if (top - (void *)secd < needed) { in hwahc_security_create()
673 top - (void *) secd, needed); in hwahc_security_create()
/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
/drivers/scsi/
Dwd7000.c808 static inline Scb *alloc_scbs(struct Scsi_Host *host, int needed) in alloc_scbs() argument
816 if (needed <= 0) in alloc_scbs()
822 while (freescbs < needed) { in alloc_scbs()
828 } while (freescbs < needed && time_before_eq(jiffies, timeout)); in alloc_scbs()
833 if (freescbs < needed) { in alloc_scbs()
841 if (freescbs < needed) { in alloc_scbs()
847 freescbs -= needed; in alloc_scbs()
848 for (i = 0; i < needed; i++) { in alloc_scbs()
/drivers/net/ethernet/hisilicon/
DKconfig39 This selects the HNS MDIO support. It is needed by HNS_DSAF to access
46 is needed by any driver which provides HNS acceleration engine or make
/drivers/staging/android/
DTODO5 - add proper arch dependencies as needed
17 dma api's back (this is absolutely needed for high-perf gpu drivers): Add an
/drivers/staging/board/
DTODO2 * remove staging board code when no more platform devices are needed
/drivers/usb/wusbcore/
Dcbaf.c284 size_t needed; in cbaf_cdid_get() local
299 needed = result < sizeof(*di) ? sizeof(*di) : le32_to_cpu(di->Length); in cbaf_cdid_get()
300 if (result < needed) { in cbaf_cdid_get()
302 "%zu bytes needed)\n", (size_t)result, needed); in cbaf_cdid_get()
/drivers/staging/ste_rmi4/
DTODO5 Merge any device support needed from this driver into it
/drivers/atm/
Dnicstarmac.copyright26 * as needed. This means that data must always be copied to create
27 * the linear buffer needed by most non-ATM protocol stacks (e.g. IP)
/drivers/media/
DKconfig74 needed in order to support several video capture adapters,
204 are, in fact, necessary will result in the lack of the needed
206 the needed demodulators).
/drivers/net/wireless/ti/
DKconfig21 Small platform data bit needed to pass data to the sdio modules.
/drivers/gpu/drm/vmwgfx/
DKconfig9 # Only needed for the transitional use of drm_crtc_init - can be removed
/drivers/bus/
DKconfig78 Driver needed for the MIPS Common Device Memory Map bus in MIPS
91 Driver needed for the MBus configuration on Marvell EBU SoCs
/drivers/staging/media/mn88472/
DTODO2 device drivers (USB-bridge, tuner) needed for Astrometa receiver in
/drivers/staging/media/mn88473/
DTODO2 device drivers (USB-bridge, tuner) needed for Astrometa receiver in
/drivers/android/
DKconfig6 Enable support for various drivers needed on the Android platform
/drivers/scsi/osd/
DKconfig28 needed by exofs, for mounting an OSD based file system.
/drivers/staging/media/davinci_vpfe/
DTODO12 needed
/drivers/staging/rdma/ipath/
Dipath_sdma.c594 int needed = 1; in ipath_restart_sdma() local
607 needed = 0; in ipath_restart_sdma()
614 if (!needed) { in ipath_restart_sdma()
/drivers/media/usb/pvrusb2/
DKconfig27 This is not generally needed for v4l applications,

1234