| /net/mac80211/ |
| A D | debugfs.c | 76 size_t count, in aqm_read() argument 129 if (count && buf[count - 1] == '\n') in aqm_write() 135 return count; in aqm_write() 137 return count; in aqm_write() 139 return count; in aqm_write() 184 if (count && buf[count - 1] == '\n') in airtime_flags_write() 192 return count; in airtime_flags_write() 273 if (count && buf[count - 1] == '\n') in aql_txq_limit_write() 301 return count; in aql_txq_limit_write() 388 if (count && buf[count - 1] == '\n') in force_tx_status_write() [all …]
|
| A D | debugfs_key.c | 20 size_t count, loff_t *ppos) \ 23 return mac80211_format_buffer(userbuf, count, ppos, \ 68 size_t count, loff_t *ppos) in key_algorithm_read() argument 81 size_t count, loff_t *ppos) in key_tx_spec_write() argument 109 return count; in key_tx_spec_write() 116 size_t count, loff_t *ppos) in key_tx_spec_read() argument 155 size_t count, loff_t *ppos) in key_rx_spec_read() argument 223 size_t count, loff_t *ppos) in key_replays_read() argument 256 size_t count, loff_t *ppos) in key_icverrors_read() argument 281 size_t count, loff_t *ppos) in key_mic_failures_read() argument [all …]
|
| A D | debugfs_sta.c | 24 size_t count, loff_t *ppos) \ 137 size_t count, loff_t *ppos) in sta_aqm_read() argument 191 size_t count, loff_t *ppos) in sta_airtime_read() argument 225 size_t count, loff_t *ppos) in sta_airtime_write() argument 239 return count; in sta_airtime_write() 244 size_t count, loff_t *ppos) in sta_aql_read() argument 285 if (count > sizeof(_buf)) in sta_aql_write() 302 return count; in sta_aql_write() 361 userbuf, count, ppos, in sta_agg_status_read() 426 return ret ?: count; in sta_agg_status_do_write() [all …]
|
| /net/smc/ |
| A D | smc_cdc.h | 57 u32 count; member 155 ((size - old->count) + new->count)); in smc_curs_diff() 157 return max_t(int, 0, (new->count - old->count)); in smc_curs_diff() 182 (size - old->count) + new->count + in smc_curs_diff_large() 188 (size - old->count) + new->count + in smc_curs_diff_large() 192 return max_t(int, 0, (new->count - old->count)); in smc_curs_diff_large() 201 peer->count = htonl(save->count); in smc_host_cursor_to_cdc() 231 temp.count = ntohl(net.count); in smc_cdc_cursor_to_host() 236 (old.count > temp.count)) in smc_cdc_cursor_to_host() 262 temp.count = peer->prod.count; in smcd_cdc_msg_to_host() [all …]
|
| A D | smc_diag.c | 117 .rx_prod.count = conn->local_rx_ctrl.prod.count, in __smc_diag_dump() 119 .rx_cons.count = conn->local_rx_ctrl.cons.count, in __smc_diag_dump() 122 .tx_prod.count = conn->local_tx_ctrl.prod.count, in __smc_diag_dump() 124 .tx_cons.count = conn->local_tx_ctrl.cons.count, in __smc_diag_dump() 135 .tx_prep.count = conn->tx_curs_prep.count, in __smc_diag_dump() 137 .tx_sent.count = conn->tx_curs_sent.count, in __smc_diag_dump() 139 .tx_fin.count = conn->tx_curs_fin.count, in __smc_diag_dump()
|
| /net/ethtool/ |
| A D | strset.c | 11 unsigned int count; member 60 .count = WOL_MODE_COUNT, 70 .count = __HWTSTAMP_TX_CNT, 80 .count = __HWTSTAMP_FLAG_CNT, 90 .count = __ETHTOOL_STATS_CNT, 252 int count, ret; in strset_prepare_set() local 263 info->count = 0; in strset_prepare_set() 267 count = ret; in strset_prepare_set() 281 info->count = count; in strset_prepare_set() 348 if (info->count == 0) in strset_set_size() [all …]
|
| /net/dsa/ |
| A D | conduit.c | 98 int count = 0; in dsa_conduit_get_ethtool_stats() local 119 int count = 0; in dsa_conduit_get_ethtool_phy_stats() local 123 if (count >= 0) in dsa_conduit_get_ethtool_phy_stats() 132 if (count < 0) in dsa_conduit_get_ethtool_phy_stats() 133 count = 0; in dsa_conduit_get_ethtool_phy_stats() 144 int count = 0; in dsa_conduit_get_sset_count() local 154 if (count < 0) in dsa_conduit_get_sset_count() 155 count = 0; in dsa_conduit_get_sset_count() 160 return count; in dsa_conduit_get_sset_count() 203 if (count < 0) in dsa_conduit_get_strings() [all …]
|
| /net/core/ |
| A D | pktgen.c | 255 int count; member 527 if (count < 1) in pgctrl_write() 548 return count; in pgctrl_write() 1002 max = count; in pktgen_if_write() 1053 return count; in pktgen_if_write() 1070 return count; in pktgen_if_write() 1089 return count; in pktgen_if_write() 1103 return count; in pktgen_if_write() 1929 max = count; in pktgen_thread_write() 1994 ret = count; in pktgen_thread_write() [all …]
|
| A D | page_pool.c | 420 if (likely(pool->alloc.count > 0)) { in page_pool_refill_alloc_cache() 434 if (likely(pool->alloc.count)) { in __page_pool_get_cached() 561 if (unlikely(pool->alloc.count > 0)) in __page_pool_alloc_netmems_slow() 717 int count; in page_pool_return_netmem() local 936 for (u32 i = 0; i < count; i++) { in page_pool_put_netmem_bulk() 943 count = bulk_len; in page_pool_put_netmem_bulk() 944 while (count) { in page_pool_put_netmem_bulk() 952 for (u32 i = 0; i < count; i++) { in page_pool_put_netmem_bulk() 979 count = foreign; in page_pool_put_netmem_bulk() 1110 while (pool->alloc.count) { in page_pool_empty_alloc_cache_once() [all …]
|
| /net/netrom/ |
| A D | nr_route.c | 195 nr_node->count = 1; in nr_add_node() 204 nr_neigh->count++; in nr_add_node() 239 nr_node->count++; in nr_add_node() 241 nr_neigh->count++; in nr_add_node() 345 nr_node->count--; in nr_del_node() 474 s->count--; in nr_dec_obs() 522 t->count--; in nr_rt_device_down() 880 nr_node->count); in nr_node_show() 937 nr_neigh->count, in nr_neigh_show() 976 while(s->count) { in nr_rt_free() [all …]
|
| /net/wireless/ |
| A D | debugfs.c | 16 size_t count, loff_t *ppos) \ 65 size_t count, loff_t *ppos) in ht40allow_map_read() argument 119 size_t count, 150 char __user *userbuf, size_t count, in wiphy_locked_debugfs_read() argument 199 size_t count, 204 size_t count; member 230 const char __user *userbuf, size_t count, in wiphy_locked_debugfs_write() argument 234 size_t count, in wiphy_locked_debugfs_write() 243 .count = count, in wiphy_locked_debugfs_write() 254 if (count >= bufsize) in wiphy_locked_debugfs_write() [all …]
|
| /net/can/ |
| A D | raw.c | 215 int count) in raw_enable_filters() argument 251 int count) in raw_disable_filters() argument 324 ro->count = 0; in raw_notify() 431 if (ro->count > 1) in raw_release() 437 ro->count = 0; in raw_release() 564 int count = 0; in raw_setsockopt() local 580 if (count > 1) { in raw_setsockopt() 596 if (count > 1) in raw_setsockopt() 605 if (count == 1) in raw_setsockopt() 612 if (count > 1) in raw_setsockopt() [all …]
|
| /net/bluetooth/ |
| A D | hci_debugfs.c | 67 return count; \ 277 size_t count, loff_t *ppos) in use_debug_keys_read() argument 295 size_t count, loff_t *ppos) in sc_only_mode_read() argument 531 return count; in force_bredr_smp_write() 749 size_t count, loff_t *ppos) in force_static_address_read() argument 780 return count; in force_static_address_write() 1183 return count; in force_no_mitm_write() 1321 return count; in dut_mode_write() 1332 size_t count, loff_t *ppos) in vendor_diag_read() argument 1344 size_t count, loff_t *ppos) in vendor_diag_write() argument [all …]
|
| /net/sched/ |
| A D | sch_mqprio_lib.c | 27 unsigned int last = qopt->offset[i] + qopt->count[i]; in mqprio_validate_queue_counts() 29 if (!qopt->count[i]) { in mqprio_validate_queue_counts() 42 qopt->count[i], qopt->offset[i], in mqprio_validate_queue_counts() 55 qopt->count[j])) { in mqprio_validate_queue_counts() 58 i, qopt->count[i], qopt->offset[i], in mqprio_validate_queue_counts() 59 j, qopt->count[j], qopt->offset[j]); in mqprio_validate_queue_counts() 111 qopt->count[tc] = dev->tc_to_txq[tc].count; in mqprio_qopt_reconstruct()
|
| /net/netfilter/ |
| A D | nf_conncount.c | 90 list->count--; in conn_free() 196 list->count++; in __nf_conncount_add() 221 list->count = 0; in nf_conncount_list_init() 269 if (!list->count) in nf_conncount_gc_list() 296 if (!rbconn->list.count) { in tree_nodes_free() 345 count = 0; /* hotdrop */ in insert_tree() 347 count = rbconn->list.count; in insert_tree() 386 count = 1; in insert_tree() 387 rbconn->list.count = count; in insert_tree() 393 return count; in insert_tree() [all …]
|
| A D | xt_statistic.c | 19 atomic_t count; member 42 oval = atomic_read(&info->master->count); in statistic_mt() 44 } while (atomic_cmpxchg(&info->master->count, oval, nval) != oval); in statistic_mt() 64 atomic_set(&info->master->count, info->u.nth.count); in statistic_mt_check()
|
| /net/mac80211/tests/ |
| A D | tpe.c | 154 .psd.count = 16, 159 .out.count = 16, 175 .psd.count = 16, 180 .out.count = 8, 196 .psd.count = 16, 201 .out.count = 8, 222 .psd.count = 16, 227 .out.count = 8, 248 .psd.count = 16, 253 .out.count = 8,
|
| /net/sunrpc/ |
| A D | cache.c | 843 if (count == 0) in cache_read() 883 count = rq->len - rp->offset; in cache_read() 887 rp->offset += count; in cache_read() 914 return err ? err : count; in cache_read() 922 if (count == 0) in cache_do_downcall() 926 kaddr[count] = '\0'; in cache_do_downcall() 929 ret = count; in cache_do_downcall() 1502 size_t count, loff_t *ppos, in read_flush() argument 1525 tbuf[count] = 0; in write_flush() 1552 *ppos += count; in write_flush() [all …]
|
| A D | sysfs.c | 362 return count; in rpc_sysfs_xprt_switch_add_xprt_store() 386 count = -EINTR; in rpc_sysfs_xprt_dstaddr_store() 416 return count; in rpc_sysfs_xprt_dstaddr_store() 420 count = -ENOMEM; in rpc_sysfs_xprt_dstaddr_store() 433 count = 0; in rpc_sysfs_xprt_state_change() 444 count = -EINVAL; in rpc_sysfs_xprt_state_change() 449 count = -EINTR; in rpc_sysfs_xprt_state_change() 472 return count; in rpc_sysfs_xprt_state_change() 483 count = 0; in rpc_sysfs_xprt_del_xprt() 493 count = -EINTR; in rpc_sysfs_xprt_del_xprt() [all …]
|
| /net/rose/ |
| A D | rose_route.c | 95 rose_neigh->count = 0; in rose_add_node() 180 rose_neigh->count++; in rose_add_node() 188 rose_node->count++; in rose_add_node() 189 rose_neigh->count++; in rose_add_node() 332 rose_neigh->count--; in rose_del_node() 337 rose_node->count--; in rose_del_node() 383 sn->count = 0; in rose_add_loopback_neigh() 504 t->count--; in rose_rt_device_down() 508 (t->count - i)); in rose_rt_device_down() 511 if (t->count <= 0) in rose_rt_device_down() [all …]
|
| /net/sunrpc/auth_gss/ |
| A D | gss_rpc_xdr.c | 124 if (oa->count != 0) in dummy_enc_opt_array() 139 u32 count, i; in dummy_dec_opt_array() local 145 count = be32_to_cpup(p++); in dummy_dec_opt_array() 151 oa->count = 0; in dummy_dec_opt_array() 233 u32 count, i; in gssx_dec_option_array() local 241 if (!count) in gssx_dec_option_array() 245 oa->count = 1; in gssx_dec_option_array() 414 if (naa->count != 0) in dummy_enc_nameattr_array() 429 u32 count, i; in dummy_dec_nameattr_array() local 440 naa->count = 0; in dummy_dec_nameattr_array() [all …]
|
| /net/ipv6/ |
| A D | syncookies.c | 42 __be16 sport, __be16 dport, u32 count, int c) in cookie_hash() argument 47 u32 count; in cookie_hash() member 53 .count = count, in cookie_hash() 68 u32 count = tcp_cookie_time(); in secure_tcp_syn_cookie() local 70 sseq + (count << COOKIEBITS) + in secure_tcp_syn_cookie() 71 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) in secure_tcp_syn_cookie() 79 __u32 diff, count = tcp_cookie_time(); in check_tcp_syn_cookie() local 83 diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS); in check_tcp_syn_cookie() 88 cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) in check_tcp_syn_cookie()
|
| /net/batman-adv/ |
| A D | multicast_forw.c | 97 batadv_mcast_forw_push_est_padding(struct sk_buff *skb, int count, in batadv_mcast_forw_push_est_padding() argument 455 if (likely((num_dests_pushed % 2) == (*count % 2))) in batadv_mcast_forw_push_adjust_padding() 462 if (!(*count % 2) && (num_dests_pushed % 2)) in batadv_mcast_forw_push_adjust_padding() 468 else if ((*count % 2) && (!(num_dests_pushed % 2))) in batadv_mcast_forw_push_adjust_padding() 472 *count = num_dests_pushed; in batadv_mcast_forw_push_adjust_padding() 493 unsigned short vid, int is_routable, int *count, in batadv_mcast_forw_push_dests() argument 585 unsigned short vid, int is_routable, int count, in batadv_mcast_forw_push_tvlvs() argument 591 &count, tvlv_len); in batadv_mcast_forw_push_tvlvs() 595 ret = batadv_mcast_forw_push_tracker(skb, count, tvlv_len); in batadv_mcast_forw_push_tvlvs() 1127 unsigned short vid, int is_routable, int count) in batadv_mcast_forw_push() argument [all …]
|
| /net/wireless/tests/ |
| A D | fragmentation.c | 59 int count = 0; in defragment_1() local 64 count++; in defragment_1() 67 KUNIT_ASSERT_EQ(test, count, 3); in defragment_1() 107 int count = 0; in defragment_2() local 112 count++; in defragment_2() 115 KUNIT_ASSERT_EQ(test, count, 4); in defragment_2()
|
| /net/qrtr/ |
| A D | tun.c | 64 int count; in qrtr_tun_read_iter() local 76 count = min_t(size_t, iov_iter_count(to), skb->len); in qrtr_tun_read_iter() 77 if (copy_to_iter(skb->data, count, to) != count) in qrtr_tun_read_iter() 78 count = -EFAULT; in qrtr_tun_read_iter() 82 return count; in qrtr_tun_read_iter()
|