/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | instruction_count_test.c | 26 uint64_t overhead, bool report) in do_count_loop() 46 expected = instructions + overhead; in do_count_loop() 51 printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead); in do_count_loop() 72 uint64_t current, overhead; in determine_overhead() local 76 overhead = event->result.value; in determine_overhead() 81 if (current < overhead) { in determine_overhead() 82 printf("Replacing overhead %lu with %lu\n", overhead, current); in determine_overhead() 83 overhead in determine_overhead() 25 do_count_loop(struct event *event, uint64_t instructions, uint64_t overhead, bool report) do_count_loop() argument 112 uint64_t overhead; instruction_count() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | instruction_count_test.c | 26 uint64_t overhead, bool report) in do_count_loop() 46 expected = instructions + overhead; in do_count_loop() 51 printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead); in do_count_loop() 72 uint64_t current, overhead; in determine_overhead() local 76 overhead = event->result.value; in determine_overhead() 81 if (current < overhead) { in determine_overhead() 82 printf("Replacing overhead %lu with %lu\n", overhead, current); in determine_overhead() 83 overhead in determine_overhead() 25 do_count_loop(struct event *event, uint64_t instructions, uint64_t overhead, bool report) do_count_loop() argument 112 uint64_t overhead; instruction_count() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
H A D | count_stcx_fail.c | 30 u64 overhead, bool report) in do_count_loop() 47 expected = instructions + overhead + (events[2].result.value * 10); in do_count_loop() 57 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop() 81 u64 current, overhead; in determine_overhead() local 85 overhead = events[0].result.value; in determine_overhead() 90 if (current < overhead) { in determine_overhead() 91 printf("Replacing overhead %llu with %llu\n", overhead, current); in determine_overhead() 92 overhead in determine_overhead() 29 do_count_loop(struct event *events, u64 instructions, u64 overhead, bool report) do_count_loop() argument 105 u64 overhead; test_body() local [all...] |
H A D | count_instructions.c | 30 u64 overhead, bool report) in do_count_loop() 45 expected = instructions + overhead; in do_count_loop() 53 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop() 76 u64 current, overhead; in determine_overhead() local 80 overhead = events[0].result.value; in determine_overhead() 85 if (current < overhead) { in determine_overhead() 86 printf("Replacing overhead %llu with %llu\n", overhead, current); in determine_overhead() 87 overhead in determine_overhead() 29 do_count_loop(struct event *events, u64 instructions, u64 overhead, bool report) do_count_loop() argument 97 u64 overhead; test_body() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ |
H A D | count_stcx_fail.c | 30 u64 overhead, bool report) in do_count_loop() 47 expected = instructions + overhead + (events[2].result.value * 10); in do_count_loop() 57 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop() 81 u64 current, overhead; in determine_overhead() local 85 overhead = events[0].result.value; in determine_overhead() 90 if (current < overhead) { in determine_overhead() 91 printf("Replacing overhead %llu with %llu\n", overhead, current); in determine_overhead() 92 overhead in determine_overhead() 29 do_count_loop(struct event *events, u64 instructions, u64 overhead, bool report) do_count_loop() argument 105 u64 overhead; test_body() local [all...] |
H A D | count_instructions.c | 30 u64 overhead, bool report) in do_count_loop() 45 expected = instructions + overhead; in do_count_loop() 53 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop() 76 u64 current, overhead; in determine_overhead() local 80 overhead = events[0].result.value; in determine_overhead() 85 if (current < overhead) { in determine_overhead() 86 printf("Replacing overhead %llu with %llu\n", overhead, current); in determine_overhead() 87 overhead in determine_overhead() 29 do_count_loop(struct event *events, u64 instructions, u64 overhead, bool report) do_count_loop() argument 97 u64 overhead; test_body() local [all...] |
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A D | ess.c | 101 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead); 120 u_long payload, overhead ; in ess_raf_received_pack() local 258 overhead = ((struct smt_p_3210 *)p)->mib_overhead ; in ess_raf_received_pack() 260 DB_ESSN(2, "payload= %lx overhead= %lx", in ess_raf_received_pack() 261 payload, overhead); in ess_raf_received_pack() 266 (void)process_bw_alloc(smc,(long)payload,(long)overhead) ; in ess_raf_received_pack() 309 overhead = ((struct smt_p_3210 *)p)->mib_overhead ; in ess_raf_received_pack() 313 DB_ESSN(2, "payload= %lx overhead= %lx", in ess_raf_received_pack() 314 payload, overhead); in ess_raf_received_pack() 319 if(!process_bw_alloc(smc,(long)payload,(long)overhead)) in ess_raf_received_pack() 376 process_bw_alloc(struct s_smc *smc, long int payload, long int overhead) process_bw_alloc() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | ess.c | 100 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead); 119 u_long payload, overhead ; in ess_raf_received_pack() local 257 overhead = ((struct smt_p_3210 *)p)->mib_overhead ; in ess_raf_received_pack() 259 DB_ESSN(2, "payload= %lx overhead= %lx", in ess_raf_received_pack() 260 payload, overhead); in ess_raf_received_pack() 265 (void)process_bw_alloc(smc,(long)payload,(long)overhead) ; in ess_raf_received_pack() 308 overhead = ((struct smt_p_3210 *)p)->mib_overhead ; in ess_raf_received_pack() 312 DB_ESSN(2, "payload= %lx overhead= %lx", in ess_raf_received_pack() 313 payload, overhead); in ess_raf_received_pack() 318 if(!process_bw_alloc(smc,(long)payload,(long)overhead)) in ess_raf_received_pack() 375 process_bw_alloc(struct s_smc *smc, long int payload, long int overhead) process_bw_alloc() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00crypto.c | 68 unsigned int overhead = 0; in rt2x00crypto_tx_overhead() local 71 return overhead; in rt2x00crypto_tx_overhead() 78 overhead += key->icv_len; in rt2x00crypto_tx_overhead() 81 overhead += key->iv_len; in rt2x00crypto_tx_overhead() 85 overhead += 8; in rt2x00crypto_tx_overhead() 88 return overhead; in rt2x00crypto_tx_overhead()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00crypto.c | 68 unsigned int overhead = 0; in rt2x00crypto_tx_overhead() local 71 return overhead; in rt2x00crypto_tx_overhead() 78 overhead += key->icv_len; in rt2x00crypto_tx_overhead() 81 overhead += key->iv_len; in rt2x00crypto_tx_overhead() 85 overhead += 8; in rt2x00crypto_tx_overhead() 88 return overhead; in rt2x00crypto_tx_overhead()
|
/kernel/linux/linux-5.10/fs/freevxfs/ |
H A D | vxfs_lookup.c | 108 int overhead = VXFS_DIRBLKOV(sbi, dbp); in vxfs_find_entry() local 110 pos += overhead; in vxfs_find_entry() 111 pg_ofs += overhead; in vxfs_find_entry() 259 int overhead = VXFS_DIRBLKOV(sbi, dbp); in vxfs_readdir() local 261 pos += overhead; in vxfs_readdir() 262 pg_ofs += overhead; in vxfs_readdir()
|
/kernel/linux/linux-6.6/fs/freevxfs/ |
H A D | vxfs_lookup.c | 84 int overhead = VXFS_DIRBLKOV(sbi, dbp); in vxfs_find_entry() local 86 pos += overhead; in vxfs_find_entry() 87 pg_ofs += overhead; in vxfs_find_entry() 235 int overhead = VXFS_DIRBLKOV(sbi, dbp); in vxfs_readdir() local 237 pos += overhead; in vxfs_readdir() 238 pg_ofs += overhead; in vxfs_readdir()
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | output.c | 58 * current overhead after sending packets. in sctp_packet_reset() 60 packet->size = packet->overhead; in sctp_packet_reset() 88 /* set packet max_size with pathmtu, then calculate overhead */ in sctp_packet_config() 95 packet->overhead = sctp_mtu_payload(sp, 0, 0); in sctp_packet_config() 96 packet->size = packet->overhead; in sctp_packet_config() 154 /* The overhead will be calculated by sctp_packet_config() */ in sctp_packet_init() 155 packet->overhead = 0; in sctp_packet_init() 221 int overhead = 0; in sctp_packet_bundle_pad() local 227 overhead += sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr); in sctp_packet_bundle_pad() 228 overhead in sctp_packet_bundle_pad() [all...] |
/kernel/linux/linux-5.10/net/sctp/ |
H A D | output.c | 58 * current overhead after sending packets. in sctp_packet_reset() 60 packet->size = packet->overhead; in sctp_packet_reset() 88 /* set packet max_size with pathmtu, then calculate overhead */ in sctp_packet_config() 95 packet->overhead = sctp_mtu_payload(sp, 0, 0); in sctp_packet_config() 96 packet->size = packet->overhead; in sctp_packet_config() 152 /* The overhead will be calculated by sctp_packet_config() */ in sctp_packet_init() 153 packet->overhead = 0; in sctp_packet_init() 428 pkt_size = packet->overhead; in sctp_packet_pack() 435 else if (auth_len + padded + packet->overhead > in sctp_packet_pack() 445 skb_reserve(nskb, packet->overhead in sctp_packet_pack() [all...] |
/kernel/linux/linux-5.10/net/dsa/ |
H A D | tag_ksz.c | 81 .overhead = KSZ_INGRESS_TAG_LEN, 153 .overhead = KSZ9477_INGRESS_TAG_LEN, 187 .overhead = KSZ_INGRESS_TAG_LEN,
|
H A D | tag_brcm.c | 190 .overhead = BRCM_TAG_LEN, 218 .overhead = BRCM_TAG_LEN,
|
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | resize.c | 123 ext4_grpblk_t overhead; in ext4_group_overhead_blocks() local 124 overhead = ext4_bg_num_gdb(sb, group); in ext4_group_overhead_blocks() 126 overhead += 1 + in ext4_group_overhead_blocks() 128 return overhead; in ext4_group_overhead_blocks() 143 unsigned overhead; in verify_group_input() local 155 overhead = ext4_group_overhead_blocks(sb, group); in verify_group_input() 156 metaend = start + overhead; in verify_group_input() 158 input->blocks_count - 2 - overhead - sbi->s_itb_per_group; in verify_group_input() 318 unsigned overhead; in ext4_alloc_group_tables() local 336 overhead in ext4_alloc_group_tables() 563 ext4_grpblk_t overhead; setup_new_flex_group_blocks() local 1403 ext4_add_overhead(struct super_block *sb, const ext4_fsblk_t overhead) ext4_add_overhead() argument 1665 int overhead; ext4_setup_next_flex_gd() local [all...] |
/kernel/linux/linux-5.10/net/l2tp/ |
H A D | l2tp_eth.c | 208 unsigned int overhead = 0; in l2tp_eth_adjust_mtu() local 214 overhead += sizeof(struct udphdr); in l2tp_eth_adjust_mtu() 230 /* Adjust MTU, factor overhead - underlay L3, overlay L2 hdr in l2tp_eth_adjust_mtu() 231 * UDP overhead, if any, was already factored in above. in l2tp_eth_adjust_mtu() 233 overhead += session->hdr_len + ETH_HLEN + l3_overhead; in l2tp_eth_adjust_mtu() 235 mtu = l2tp_tunnel_dst_mtu(tunnel) - overhead; in l2tp_eth_adjust_mtu() 237 dev->mtu = ETH_DATA_LEN - overhead; in l2tp_eth_adjust_mtu()
|
/kernel/linux/linux-6.6/net/l2tp/ |
H A D | l2tp_eth.c | 208 unsigned int overhead = 0; in l2tp_eth_adjust_mtu() local 214 overhead += sizeof(struct udphdr); in l2tp_eth_adjust_mtu() 230 /* Adjust MTU, factor overhead - underlay L3, overlay L2 hdr in l2tp_eth_adjust_mtu() 231 * UDP overhead, if any, was already factored in above. in l2tp_eth_adjust_mtu() 233 overhead += session->hdr_len + ETH_HLEN + l3_overhead; in l2tp_eth_adjust_mtu() 235 mtu = l2tp_tunnel_dst_mtu(tunnel) - overhead; in l2tp_eth_adjust_mtu() 237 dev->mtu = ETH_DATA_LEN - overhead; in l2tp_eth_adjust_mtu()
|
/kernel/linux/linux-5.10/include/net/sctp/ |
H A D | sctp.h | 571 /* Calculate max payload size given a MTU, or the total overhead if 577 __u32 overhead = sizeof(struct sctphdr) + extra; in sctp_mtu_payload() local 580 overhead += sp->pf->af->net_header_len; in sctp_mtu_payload() 582 overhead += sizeof(struct ipv6hdr); in sctp_mtu_payload() 584 if (WARN_ON_ONCE(mtu && mtu <= overhead)) in sctp_mtu_payload() 585 mtu = overhead; in sctp_mtu_payload() 587 return mtu ? mtu - overhead : overhead; in sctp_mtu_payload()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | resize.c | 119 ext4_grpblk_t overhead; in ext4_group_overhead_blocks() local 120 overhead = ext4_bg_num_gdb(sb, group); in ext4_group_overhead_blocks() 122 overhead += 1 + in ext4_group_overhead_blocks() 124 return overhead; in ext4_group_overhead_blocks() 139 unsigned overhead; in verify_group_input() local 151 overhead = ext4_group_overhead_blocks(sb, group); in verify_group_input() 152 metaend = start + overhead; in verify_group_input() 154 input->blocks_count - 2 - overhead - sbi->s_itb_per_group; in verify_group_input() 317 unsigned overhead; in ext4_alloc_group_tables() local 335 overhead in ext4_alloc_group_tables() 560 ext4_grpblk_t overhead; setup_new_flex_group_blocks() local 1614 int overhead; ext4_setup_next_flex_gd() local [all...] |
/kernel/linux/linux-6.6/include/net/sctp/ |
H A D | sctp.h | 569 /* Calculate max payload size given a MTU, or the total overhead if 576 __u32 overhead = sizeof(struct sctphdr) + extra; in __sctp_mtu_payload() local 579 overhead += sp->pf->af->net_header_len; in __sctp_mtu_payload() 581 overhead += sizeof(struct udphdr); in __sctp_mtu_payload() 583 overhead += sizeof(struct ipv6hdr); in __sctp_mtu_payload() 586 if (WARN_ON_ONCE(mtu && mtu <= overhead)) in __sctp_mtu_payload() 587 mtu = overhead; in __sctp_mtu_payload() 589 return mtu ? mtu - overhead : overhead; in __sctp_mtu_payload()
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | airtime.c | 410 u32 *overhead) in ieee80211_get_rate_duration() 465 *overhead = 36 + (streams << 2); in ieee80211_get_rate_duration() 476 u32 duration, overhead = 0; in ieee80211_calc_rx_airtime() local 497 duration = ieee80211_get_rate_duration(hw, status, &overhead); in ieee80211_calc_rx_airtime() 505 return duration + overhead; in ieee80211_calc_rx_airtime() 658 u32 duration, overhead; in ieee80211_calc_expected_tx_airtime() local 667 duration = ieee80211_get_rate_duration(hw, &stat, &overhead); in ieee80211_calc_expected_tx_airtime() 693 duration += (overhead >> agg_shift); in ieee80211_calc_expected_tx_airtime() 408 ieee80211_get_rate_duration(struct ieee80211_hw *hw, struct ieee80211_rx_status *status, u32 *overhead) ieee80211_get_rate_duration() argument
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | airtime.c | 405 u32 *overhead) in ieee80211_get_rate_duration() 460 *overhead = 36 + (streams << 2); in ieee80211_get_rate_duration() 471 u32 duration, overhead = 0; in ieee80211_calc_rx_airtime() local 494 duration = ieee80211_get_rate_duration(hw, status, &overhead); in ieee80211_calc_rx_airtime() 502 return duration + overhead; in ieee80211_calc_rx_airtime() 655 u32 duration, overhead; in ieee80211_calc_expected_tx_airtime() local 664 duration = ieee80211_get_rate_duration(hw, &stat, &overhead); in ieee80211_calc_expected_tx_airtime() 690 duration += (overhead >> agg_shift); in ieee80211_calc_expected_tx_airtime() 403 ieee80211_get_rate_duration(struct ieee80211_hw *hw, struct ieee80211_rx_status *status, u32 *overhead) ieee80211_get_rate_duration() argument
|
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/ |
H A D | smt.h | 491 int sba_ov_req ; /* total sync bandwidth req for overhead*/ 801 struct smt_p_3210 overhead ; /* current SBA overhead */ member 816 struct smt_p_0018 ov_req ; /* requested SBA overhead */ 818 struct smt_p_3210 overhead ; /* current SBA overhead */ member 834 struct smt_p_3210 overhead ; /* current SBA overhead */ member 856 struct smt_p_3210 overhead ; /* current SBA overhead */ member [all...] |