Searched refs:count (Results 51 - 75 of 192) sorted by relevance

12345678

/net/packet/
H A Dinternal.h7 int count; member in struct:packet_mclist
/net/netfilter/
H A Dnf_conntrack_proto_sctp.c189 #define for_each_sctp_chunk(skb, sch, _sch, offset, dataoff, count) \
190 for ((offset) = (dataoff) + sizeof(sctp_sctphdr_t), (count) = 0; \
193 (offset) += (ntohs((sch)->length) + 3) & ~3, (count)++)
201 u_int32_t offset, count; local
207 for_each_sctp_chunk (skb, sch, _sch, offset, dataoff, count) {
208 pr_debug("Chunk Num: %d Type: %d\n", count, sch->type);
223 count != 0) || !sch->length) {
233 return count == 0;
316 u_int32_t offset, count; local
339 for_each_sctp_chunk (skb, sch, _sch, offset, dataoff, count) {
420 u_int32_t offset, count; local
[all...]
H A Dnf_conntrack_h323_asn1.c612 unsigned int count, effective_count = 0, i, len = 0; local
622 /* Decode item count */
627 count = *bs->cur++;
632 count = *bs->cur++;
633 count <<= 8;
634 count += *bs->cur++;
639 count = get_len(bs);
642 count = get_bits(bs, f->sz);
645 count += f->lb;
649 effective_count = count >
[all...]
H A Dnf_conntrack_expect.c213 int count; local
217 for (count = 0; count < NF_CT_TUPLE_L3SIZE; count++){
218 intersect_mask.src.u3.all[count] =
219 a->mask.src.u3.all[count] & b->mask.src.u3.all[count];
H A Dnf_conntrack_h323_main.c67 TransportAddress *taddr, int count) __read_mostly;
72 TransportAddress *taddr, int count) __read_mostly;
915 for (i = 0; i < setup->fastStart.count; i++) {
948 for (i = 0; i < callproc->fastStart.count; i++) {
980 for (i = 0; i < connect->fastStart.count; i++) {
1012 for (i = 0; i < alert->fastStart.count; i++) {
1053 for (i = 0; i < facility->fastStart.count; i++) {
1085 for (i = 0; i < progress->fastStart.count; i++) {
1144 for (i = 0; i < pdu->h245Control.count; i++) {
1290 TransportAddress *taddr, int count)
1287 expect_q931(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int count) argument
[all...]
H A Dnft_hash.c134 if (iter->count < iter->skip)
146 iter->count++;
/net/rfkill/
H A Dcore.c657 const char *buf, size_t count)
677 return count;
700 const char *buf, size_t count)
721 return count;
1100 size_t count, loff_t *pos)
1126 sz = min_t(unsigned long, sizeof(ev->ev), count);
1139 size_t count, loff_t *pos)
1145 if (count < RFKILL_EVENT_SIZE_V1 - 1)
1153 count = min(count, sizeo
656 soft_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
699 state_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1099 rfkill_fop_read(struct file *file, char __user *buf, size_t count, loff_t *pos) argument
1138 rfkill_fop_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) argument
[all...]
/net/irda/ircomm/
H A Dircomm_param.c102 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/mac80211/
H A Ddebugfs_netdev.c30 size_t count, loff_t *ppos,
41 ret = simple_read_from_buffer(userbuf, count, ppos, buf, ret);
49 size_t count, loff_t *ppos,
55 if (count >= sizeof(buf))
58 if (copy_from_user(buf, userbuf, count))
60 buf[count] = '\0';
64 ret = (*write)(sdata, buf, count);
145 size_t count, loff_t *ppos) \
148 userbuf, count, ppos, \
155 size_t count, loff_
27 ieee80211_if_read( struct ieee80211_sub_if_data *sdata, char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*format)(const struct ieee80211_sub_if_data *, char *, int)) argument
46 ieee80211_if_write( struct ieee80211_sub_if_data *sdata, const char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*write)(struct ieee80211_sub_if_data *, const char *, int)) argument
[all...]
/net/openvswitch/
H A Dflow_table.c112 return table->count;
213 table->count = 0;
351 flow_table->count = 0;
514 BUG_ON(table->count == 0);
516 table->count--;
600 table->count++;
603 if (table->count > ti->n_buckets)
/net/tipc/
H A Dserver.c452 int count = 0; local
483 if (++count >= MAX_SEND_MSG_COUNT) {
485 count = 0;
503 int count = 0; local
510 if (++count >= MAX_RECV_MSG_COUNT) {
512 count = 0;
/net/atm/
H A Dmpoa_caches.h24 uint32_t count; member in struct:in_cache_entry
H A Dproc.c36 size_t count, loff_t *pos);
377 size_t count, loff_t *pos)
383 if (count == 0)
393 if (length > count)
376 proc_dev_atm_read(struct file *file, char __user *buf, size_t count, loff_t *pos) argument
H A Dmpoa_caches.c121 entry->count = 1;
137 entry->count++;
142 if (entry->count > mpc->parameters.mpc_p1) {
161 if (entry->count > mpc->parameters.mpc_p1 &&
236 entry->count = 0;
/net/batman-adv/
H A Ddebugfs.c122 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
H A Dmain.h325 size_t count)
327 this_cpu_add(bat_priv->bat_counters[idx], count);
324 batadv_add_counter(struct batadv_priv *bat_priv, size_t idx, size_t count) argument
/net/can/
H A Dproc.c108 unsigned long count)
116 if (count > (ULONG_MAX / HZ)) {
117 printk(KERN_ERR "can: calc_rate: count exceeded! %ld\n",
118 count);
122 rate = (count * HZ) / (newjif - oldjif);
107 calc_rate(unsigned long oldjif, unsigned long newjif, unsigned long count) argument
/net/ipv6/
H A Dudp.c286 if (hslot->count > 10) {
290 if (hslot->count < hslot2->count)
300 if (hslot->count < hslot2->count)
731 static void flush_stack(struct sock **stack, unsigned int count, argument
738 for (i = 0; i < count; i++) {
782 unsigned int count = 0, offset = offsetof(typeof(*sk), sk_nulls_node); local
783 unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10);
804 if (unlikely(count
[all...]
/net/irda/irlan/
H A Dirlan_client.c368 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/rds/
H A Drecv.c300 unsigned int count = 0, max_messages = ~0U; local
320 while (!list_empty(&rs->rs_notify_queue) && count < max_messages) {
324 count++;
328 if (!count)
/net/appletalk/
H A Daarp.c152 /* Update the sending count */
473 unsigned int count; local
475 for (count = 0; count < AARP_RETRANSMIT_LIMIT; count++) {
491 unsigned int count; local
522 for (count = 0; count < AARP_RETRANSMIT_LIMIT; count++) {
/net/sched/
H A Dcls_cgroup.c173 if (arg->count < arg->skip)
181 arg->count++;
H A Dsch_codel.c217 .count = q->vars.count,
H A Dsch_mq.c216 arg->count = arg->skip;
222 arg->count++;
/net/sunrpc/
H A Dsvc.c54 int count; /* How many svc_servs use us */ member in struct:svc_pool_map
62 .count = 0,
65 static DEFINE_MUTEX(svc_pool_map_mutex);/* protects svc_pool_map.count only */
77 if (m->count)
245 if (m->count++) {
288 if (!--m->count) {
304 if (m->count) {
326 WARN_ON_ONCE(m->count == 0);
327 if (m->count == 0)

Completed in 3154 milliseconds

12345678