| /linux/include/linux/ |
| H A D | ieee80211-uhr.h | 52 * Time needed by an NPCA AP to switch from the 125 * any frame exchange is needed. 128 * needed if the frame exchange is performed 273 u8 needed = sizeof(*oper); in ieee80211_uhr_oper_size_ok() 275 if (len < needed) in ieee80211_uhr_oper_size_ok() 280 needed += sizeof(struct ieee80211_uhr_dps_info); in ieee80211_uhr_oper_size_ok() 281 if (len < needed) in ieee80211_uhr_oper_size_ok() 288 (const void *)(data + needed); in ieee80211_uhr_oper_size_ok() 290 needed += sizeof(*npca); in ieee80211_uhr_oper_size_ok() 291 if (len < needed) in ieee80211_uhr_oper_size_ok() 276 u8 needed = sizeof(*oper); ieee80211_uhr_oper_size_ok() local 504 size_t needed = sizeof(*cap); ieee80211_uhr_capa_size_ok() local [all...] |
| H A D | ieee80211-mesh.h | 366 int needed; in ieee80211_mesh_preq_size_ok() local 369 needed = sizeof(struct ieee80211_mesh_hwmp_preq_top); in ieee80211_mesh_preq_size_ok() 370 if (elen < needed) in ieee80211_mesh_preq_size_ok() 374 needed += (ieee80211_mesh_preq_prep_ae_enabled(pos) ? ETH_ALEN : 0) in ieee80211_mesh_preq_size_ok() 377 if (elen < needed) in ieee80211_mesh_preq_size_ok() 386 needed += target_count * sizeof(struct ieee80211_mesh_hwmp_preq_target); in ieee80211_mesh_preq_size_ok() 387 return elen == needed; in ieee80211_mesh_preq_size_ok() 393 u8 needed; in ieee80211_mesh_prep_size_ok() local 396 needed = sizeof(struct ieee80211_mesh_hwmp_prep_top); in ieee80211_mesh_prep_size_ok() 397 if (elen < needed) in ieee80211_mesh_prep_size_ok() [all …]
|
| H A D | ieee80211-eht.h | 350 u8 needed = sizeof(struct ieee80211_eht_cap_elem_fixed); in ieee80211_eht_capa_size_ok() local 352 if (len < needed || !he_capa) in ieee80211_eht_capa_size_ok() 355 needed += ieee80211_eht_mcs_nss_size((const void *)he_capa, in ieee80211_eht_capa_size_ok() 358 if (len < needed) in ieee80211_eht_capa_size_ok() 365 if (len < needed + sizeof(ppe_thres_hdr)) in ieee80211_eht_capa_size_ok() 368 ppe_thres_hdr = get_unaligned_le16(data + needed); in ieee80211_eht_capa_size_ok() 369 needed += ieee80211_eht_ppe_size(ppe_thres_hdr, in ieee80211_eht_capa_size_ok() 373 return len >= needed; in ieee80211_eht_capa_size_ok() 380 u8 needed = sizeof(*elem); in ieee80211_eht_oper_size_ok() local 382 if (len < needed) in ieee80211_eht_oper_size_ok() [all...] |
| /linux/fs/ext4/ |
| H A D | truncate.h | 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 D | sysfs-bus-usb-lvstest | 10 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 D | configfs-most | 23 (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/tools/testing/selftests/kselftest/ |
| H A D | prefix.pl | 13 my $needed = 1; 18 if ($needed) { 20 $needed = 0; 23 $needed = 1 if ($char eq "\n");
|
| /linux/drivers/net/xen-netback/ |
| H A D | rx.c | 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() 522 unsigned int needed = READ_ONCE(queue->rx_slots_needed); in xenvif_rx_queue_stalled() local [all …]
|
| /linux/drivers/media/usb/gspca/ |
| H A D | pac207.c | 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/x86/ |
| H A D | tsx_async_abort.rst | 46 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/net/sctp/ |
| H A D | ulpqueue.c | 97 /* 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' byte 1013 sctp_ulpq_renege_frags(struct sctp_ulpq * ulpq,__u16 needed) sctp_ulpq_renege_frags() argument 1074 __u16 needed; sctp_ulpq_renege() local [all...] |
| /linux/scripts/coccinelle/free/ |
| H A D | ifnulldev_put.cocci | 3 /// 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 D | ifnullfree.cocci | 2 /// 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/drivers/clk/sunxi/ |
| H A D | Kconfig | 25 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/Documentation/ |
| H A D | subsystem-apis.rst | 10 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/Documentation/devicetree/bindings/pci/ |
| H A D | ralink,rt3883-pci.txt | 12 - #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/arch/arm/omap/ |
| H A D | omap.rst | 11 v4.3+ Update is needed for custom .config files to make sure 15 v4.18+ Update is needed for custom .config files to make sure
|
| /linux/Documentation/devicetree/bindings/spi/ |
| H A D | spi_oc_tiny.txt | 11 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/tools/memory-model/scripts/ |
| H A D | newlitmushist.sh | 57 sort -u $T/list-C-new $T/list-C-newer > $T/list-C-needed 59 scripts/runlitmushist.sh < $T/list-C-needed
|
| H A D | checkghlitmus.sh | 49 sort $T/list-C-already $T/list-C-result-short | uniq -u > $T/list-C-needed 52 if scripts/runlitmushist.sh < $T/list-C-needed > $T/run.stdout 2> $T/run.stderr
|
| /linux/Documentation/arch/arm64/ |
| H A D | kdump.rst | 9 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/tools/testing/selftests/powerpc/ptrace/ |
| H A D | perf-hwbreak.c | 228 unsigned long long breaks, needed; in runtestsingle() local 274 needed = 0; in runtestsingle() 276 needed += loop_num; in runtestsingle() 278 needed += loop_num; in runtestsingle() 279 needed = needed * (1 - exclude_user); in runtestsingle() 282 if (breaks != needed) { in runtestsingle() 284 (unsigned long int)ptr, breaks, needed, loop_num, readwriteflag, exclude_user); in runtestsingle()
|
| /linux/Documentation/livepatch/ |
| H A D | system-state.rst | 22 - 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/drivers/net/ethernet/intel/ice/ |
| H A D | ice_irq.c | 251 int ice_virt_get_irqs(struct ice_pf *pf, u32 needed) in ice_virt_get_irqs() argument 255 0, needed, 0); in ice_virt_get_irqs() 260 bitmap_set(pf->virt_irq_tracker.bm, res, needed); in ice_virt_get_irqs()
|
| /linux/Documentation/devicetree/bindings/arm/marvell/ |
| H A D | coherency-fabric.txt | 24 * For "marvell,armada-375-coherency-fabric", only one pair is needed 27 * For "marvell,armada-380-coherency-fabric", only one pair is needed
|