/net/netfilter/ |
H A D | xt_statistic.c | 22 atomic_t count; member in struct:xt_statistic_priv 45 oval = atomic_read(&info->master->count); 47 } while (atomic_cmpxchg(&info->master->count, oval, nval) != oval); 67 atomic_set(&info->master->count, info->u.nth.count);
|
H A D | xt_multiport.c | 37 for (i = 0; i < minfo->count; i++) { 101 u_int8_t count) 103 /* Must specify supported protocol, no unknown flags or bad count */ 111 && count <= XT_MULTI_PORTS; 120 multiinfo->count) ? 0 : -EINVAL; 129 multiinfo->count) ? 0 : -EINVAL; 98 check(u_int16_t proto, u_int8_t ip_invflags, u_int8_t match_flags, u_int8_t count) argument
|
/net/openvswitch/ |
H A D | flow_table.h | 52 unsigned int count; member in struct:flow_table
|
/net/tipc/ |
H A D | bcast.h | 46 * @count: # of nodes in set 50 u32 count; member in struct:tipc_node_map 58 * @count: # of ports in set (only valid for first entry in list) 63 int count; member in struct:tipc_port_list
|
/net/wireless/ |
H A D | debugfs.c | 18 size_t count, loff_t *ppos) \ 25 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ 67 size_t count, loff_t *ppos) 92 r = simple_read_from_buffer(user_buf, count, ppos, buf, offset); 65 ht40allow_map_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
|
/net/atm/ |
H A D | atm_sysfs.c | 36 int i, j, count = 0; local 42 count += scnprintf(buf + count, 43 PAGE_SIZE - count, "."); 47 count += scnprintf(buf + count, 48 PAGE_SIZE - count, "%02x", 51 count += scnprintf(buf + count, PAGE_SIZE - count, "\ [all...] |
H A D | mpoa_caches.h | 24 uint32_t count; member in struct:in_cache_entry
|
/net/batman-adv/ |
H A D | gateway_common.c | 140 size_t count) 163 return count; 176 return count; 139 batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff, size_t count) argument
|
H A D | icmp_socket.c | 107 size_t count, loff_t *ppos) 117 if ((!buf) || (count < sizeof(struct batadv_icmp_packet))) 120 if (!access_ok(VERIFY_WRITE, buf, count)) 138 packet_len = min(count, socket_packet->icmp_len); 106 batadv_socket_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
|
H A D | debugfs.c | 122 size_t count, loff_t *ppos) 136 if (count == 0) 139 if (!access_ok(VERIFY_WRITE, buf, count)) 150 while ((!error) && (i < count) && 121 batadv_log_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
|
/net/ipv4/ |
H A D | proc.c | 294 unsigned short *type, int count) 298 if (count) { 300 for (j = 0; j < count; ++j) 305 for (j = 0; j < count; ++j) 314 int i, count; local 319 count = 0; 323 type[count] = i; 324 vals[count++] = val; 326 if (count == PERLINE) { 327 icmpmsg_put_line(seq, vals, type, count); 293 icmpmsg_put_line(struct seq_file *seq, unsigned long *vals, unsigned short *type, int count) argument [all...] |
H A D | syncookies.c | 30 #define COOKIEBITS 24 /* Upper bits store count */ 37 u32 count, int c) 48 tmp[3] = count; 92 * HASH(sec1,saddr,sport,daddr,dport,sec1) + sseq + (count * 2^24) 93 * + (HASH(sec2,saddr,sport,daddr,dport,count,sec2) % 2^24). 94 * Where sseq is their sequence number and count increases every 99 u32 count = tcp_cookie_time(); local 101 sseq + (count << COOKIEBITS) + 102 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) 111 * The count valu 36 cookie_hash(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport, u32 count, int c) argument 118 u32 diff, count = tcp_cookie_time(); local [all...] |
/net/ipv6/ |
H A D | xfrm6_state.c | 64 int count[maxclass]; local 66 memset(count, 0, sizeof(count)); 71 count[c]++; 75 count[i] += count[i - 1]; 78 dst[count[class[i] - 1]++] = src[i];
|
H A D | syncookies.c | 24 #define COOKIEBITS 24 /* Upper bits store count */ 64 __be16 sport, __be16 dport, u32 count, int c) 81 tmp[9] = count; 92 u32 count = tcp_cookie_time(); local 94 sseq + (count << COOKIEBITS) + 95 ((cookie_hash(saddr, daddr, sport, dport, count, 1) + data) 103 __u32 diff, count = tcp_cookie_time(); local 107 diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS); 112 cookie_hash(saddr, daddr, sport, dport, count - diff, 1)) 63 cookie_hash(const struct in6_addr *saddr, const struct in6_addr *daddr, __be16 sport, __be16 dport, u32 count, int c) argument
|
/net/irda/ircomm/ |
H A D | ircomm_param.c | 102 int count; local 130 count = irda_param_insert(self, pi, skb_tail_pointer(skb), 132 if (count < 0) { 137 skb_put(skb, count); 148 return count;
|
/net/irda/ |
H A D | irda_device.c | 192 int count = 0; local 203 if (count++ > 100) { 303 * Function setup_dma (idev, buffer, count, mode) 308 void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode) argument 318 set_dma_count(channel, count);
|
/net/irda/irlan/ |
H A D | irlan_provider.c | 227 int count; local 256 count = frame[1]; 258 IRDA_DEBUG(4, "Got %d parameters\n", count); 263 for (i=0; i<count;i++) {
|
H A D | irlan_client.c | 368 int count; local 406 count = frame[1]; 408 IRDA_DEBUG(4, "%s(), got %d parameters\n", __func__ , count); 413 for (i=0; i<count;i++) {
|
/net/9p/ |
H A D | protocol.c | 93 T - array of strings (int16_t count, followed by strings) 94 R - array of qids (int16_t count, followed by qids) 222 uint32_t *count = va_arg(ap, uint32_t *); local 226 p9pdu_readf(pdu, proto_version, "d", count); 228 *count = 229 min_t(uint32_t, *count, 441 uint32_t count = va_arg(ap, uint32_t); local 445 count); 446 if (!errcode && pdu_write(pdu, data, count)) 451 int32_t count local [all...] |
/net/bluetooth/cmtp/ |
H A D | core.c | 106 static inline void cmtp_add_msgpart(struct cmtp_session *session, int id, const unsigned char *buf, int count) argument 111 BT_DBG("session %p buf %p count %d", session, buf, count); 113 size = (skb) ? skb->len + count : count; 124 memcpy(skb_put(nskb, count), buf, count); local
|
/net/bridge/ |
H A D | br_sysfs_if.c | 233 const char *buf, size_t count) 253 ret = count; 231 brport_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument
|
/net/ipv4/netfilter/ |
H A D | nf_nat_h323.c | 96 TransportAddress *taddr, int count) 104 for (i = 0; i < count; i++) { 149 TransportAddress *taddr, int count) 156 for (i = 0; i < count; i++) { 93 set_sig_addr(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int count) argument 146 set_ras_addr(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int count) argument
|
/net/irda/irnet/ |
H A D | irnet_ppp.c | 47 size_t count) 54 DENTER(CTRL_TRACE, "(ap=0x%p, count=%Zd)\n", ap, count); 57 DABORT(count >= IRNET_MAX_COMMAND, -ENOMEM, 61 if(copy_from_user(command, buf, count)) 68 command[count] = '\0'; 70 command, count); 171 return count; 282 size_t count) 288 DENTER(CTRL_TRACE, "(ap=0x%p, count 45 irnet_ctrl_write(irnet_socket * ap, const char __user *buf, size_t count) argument 279 irnet_ctrl_read(irnet_socket * ap, struct file * file, char __user * buf, size_t count) argument 564 dev_irnet_write(struct file * file, const char __user *buf, size_t count, loff_t * ppos) argument 588 dev_irnet_read(struct file * file, char __user * buf, size_t count, loff_t * ppos) argument [all...] |
/net/llc/ |
H A D | llc_sap.c | 365 struct sock **stack, int count) 370 for (i = 0; i < count; i++) { 394 int i = 0, count = 256 / sizeof(struct sock *); local 395 struct sock *sk, *stack[count]; 408 if (i < count) 364 llc_do_mcast(struct llc_sap *sap, struct sk_buff *skb, struct sock **stack, int count) argument
|
/net/mac80211/ |
H A D | debugfs.c | 32 size_t count, loff_t *ppos) 74 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); 88 * their ranges. Each bin will count how many Tx frames transmitted within the 100 size_t count, loff_t *ppos) 109 int ret = count; 112 if (sizeof(buf) <= count) 114 buf_size = count; 187 int mac80211_format_buffer(char __user *userbuf, size_t count, argument 198 return simple_read_from_buffer(userbuf, count, ppos, buf, res); 203 size_t count, loff_ 30 sta_tx_latency_stat_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 98 sta_tx_latency_stat_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 241 reset_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 261 hwflags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 325 queues_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 348 format_devstat_counter(struct ieee80211_local *local, char __user *userbuf, size_t count, loff_t *ppos, int (*printvalue)(struct ieee80211_low_level_stats *stats, char *buf, int buflen)) argument [all...] |