/net/sched/ |
H A D | sch_cbq.c | 98 void (*overlimit)(struct cbq_class *cl); 176 #define L2T(cl, len) qdisc_l2t((cl)->R_tab, len) 194 struct cbq_class *cl; local 196 for (cl = this->tparent; cl; cl = cl->tparent) { 197 struct cbq_class *new = cl->defaults[TC_PRIO_BESTEFFORT]; 223 struct cbq_class *cl local 300 cbq_activate_class(struct cbq_class *cl) argument 328 struct cbq_class *cl; local 351 cbq_mark_toplevel(struct cbq_sched_data *q, struct cbq_class *cl) argument 377 struct cbq_class *cl = cbq_classify(skb, sch, &ret); local 413 cbq_ovl_classic(struct cbq_class *cl) argument 467 cbq_ovl_rclassic(struct cbq_class *cl) argument 486 cbq_ovl_delay(struct cbq_class *cl) argument 531 cbq_ovl_lowprio(struct cbq_class *cl) argument 547 cbq_ovl_drop(struct cbq_class *cl) argument 559 struct cbq_class *cl; local 637 struct cbq_class *cl = q->rx_class; local 676 cbq_update_toplevel(struct cbq_sched_data *q, struct cbq_class *cl, struct cbq_class *borrowed) argument 701 struct cbq_class *cl = this; local 781 cbq_under_limit(struct cbq_class *cl) argument 823 struct cbq_class *cl_tail, *cl_prev, *cl; local 1031 struct cbq_class *cl; local 1046 struct cbq_class *cl; local 1070 cbq_sync_defmap(struct cbq_class *cl) argument 1106 cbq_change_defmap(struct cbq_class *cl, u32 splitid, u32 def, u32 mask) argument 1139 struct cbq_class *cl, **clp; local 1187 struct cbq_class *cl, *cl_head; local 1213 struct cbq_class *cl; local 1245 cbq_set_lss(struct cbq_class *cl, struct tc_cbq_lssopt *lss) argument 1266 cbq_rmprio(struct cbq_sched_data *q, struct cbq_class *cl) argument 1273 cbq_addprio(struct cbq_sched_data *q, struct cbq_class *cl) argument 1280 cbq_set_wrr(struct cbq_class *cl, struct tc_cbq_wrropt *wrr) argument 1299 cbq_set_overlimit(struct cbq_class *cl, struct tc_cbq_ovl *ovl) argument 1329 cbq_set_police(struct cbq_class *cl, struct tc_cbq_police *p) argument 1343 cbq_set_fopt(struct cbq_class *cl, struct tc_cbq_fopt *fopt) argument 1424 cbq_dump_rate(struct sk_buff *skb, struct cbq_class *cl) argument 1437 cbq_dump_lss(struct sk_buff *skb, struct cbq_class *cl) argument 1463 cbq_dump_wrr(struct sk_buff *skb, struct cbq_class *cl) argument 1482 cbq_dump_ovl(struct sk_buff *skb, struct cbq_class *cl) argument 1500 cbq_dump_fopt(struct sk_buff *skb, struct cbq_class *cl) argument 1520 cbq_dump_police(struct sk_buff *skb, struct cbq_class *cl) argument 1540 cbq_dump_attr(struct sk_buff *skb, struct cbq_class *cl) argument 1585 struct cbq_class *cl = (struct cbq_class *)arg; local 1613 struct cbq_class *cl = (struct cbq_class *)arg; local 1633 struct cbq_class *cl = (struct cbq_class *)arg; local 1658 struct cbq_class *cl = (struct cbq_class *)arg; local 1665 struct cbq_class *cl = (struct cbq_class *)arg; local 1674 struct cbq_class *cl = cbq_class_lookup(q, classid); local 1683 cbq_destroy_class(struct Qdisc *sch, struct cbq_class *cl) argument 1701 struct cbq_class *cl; local 1726 struct cbq_class *cl = (struct cbq_class *)arg; local 1749 struct cbq_class *cl = (struct cbq_class *)*arg; local 1935 struct cbq_class *cl = (struct cbq_class *)arg; local 1981 struct cbq_class *cl = (struct cbq_class *)arg; local 1994 struct cbq_class *cl = cbq_class_lookup(q, classid); local 2007 struct cbq_class *cl = (struct cbq_class *)arg; local 2015 struct cbq_class *cl; local [all...] |
H A D | sch_hfsc.c | 194 eltree_insert(struct hfsc_class *cl) argument 196 struct rb_node **p = &cl->sched->eligible.rb_node; 203 if (cl->cl_e >= cl1->cl_e) 208 rb_link_node(&cl->el_node, parent, p); 209 rb_insert_color(&cl->el_node, &cl->sched->eligible); 213 eltree_remove(struct hfsc_class *cl) argument 215 rb_erase(&cl->el_node, &cl->sched->eligible); 219 eltree_update(struct hfsc_class *cl) argument 229 struct hfsc_class *p, *cl = NULL; local 259 vttree_insert(struct hfsc_class *cl) argument 278 vttree_remove(struct hfsc_class *cl) argument 284 vttree_update(struct hfsc_class *cl) argument 291 vttree_firstfit(struct hfsc_class *cl, u64 cur_time) argument 308 vttree_get_minvt(struct hfsc_class *cl, u64 cur_time) argument 328 cftree_insert(struct hfsc_class *cl) argument 347 cftree_remove(struct hfsc_class *cl) argument 353 cftree_update(struct hfsc_class *cl) argument 618 init_ed(struct hfsc_class *cl, unsigned int next_len) argument 644 update_ed(struct hfsc_class *cl, unsigned int next_len) argument 653 update_d(struct hfsc_class *cl, unsigned int next_len) argument 659 update_cfmin(struct hfsc_class *cl) argument 673 init_vf(struct hfsc_class *cl, unsigned int len) argument 765 update_vf(struct hfsc_class *cl, unsigned int len, u64 cur_time) argument 854 set_active(struct hfsc_class *cl, unsigned int len) argument 865 set_passive(struct hfsc_class *cl) argument 895 hfsc_purge_queue(struct Qdisc *sch, struct hfsc_class *cl) argument 904 hfsc_adjust_levels(struct hfsc_class *cl) argument 932 hfsc_change_rsc(struct hfsc_class *cl, struct tc_service_curve *rsc, u64 cur_time) argument 946 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) argument 954 hfsc_change_usc(struct hfsc_class *cl, struct tc_service_curve *usc, u64 cur_time) argument 973 struct hfsc_class *cl = (struct hfsc_class *)*arg; local 1110 hfsc_destroy_class(struct Qdisc *sch, struct hfsc_class *cl) argument 1125 struct hfsc_class *cl = (struct hfsc_class *)arg; local 1152 struct hfsc_class *head, *cl; local 1204 struct hfsc_class *cl = (struct hfsc_class *)arg; local 1226 struct hfsc_class *cl = (struct hfsc_class *)arg; local 1237 struct hfsc_class *cl = (struct hfsc_class *)arg; local 1248 struct hfsc_class *cl = hfsc_find_class(classid, sch); local 1259 struct hfsc_class *cl = (struct hfsc_class *)arg; local 1269 struct hfsc_class *cl = hfsc_find_class(classid, sch); local 1283 struct hfsc_class *cl = (struct hfsc_class *)arg; local 1292 struct hfsc_class *cl = (struct hfsc_class *)arg; local 1318 hfsc_dump_curves(struct sk_buff *skb, struct hfsc_class *cl) argument 1342 struct hfsc_class *cl = (struct hfsc_class *)arg; local 1368 struct hfsc_class *cl = (struct hfsc_class *)arg; local 1392 struct hfsc_class *cl; local 1418 struct hfsc_class *cl; local 1487 hfsc_reset_class(struct hfsc_class *cl) argument 1524 struct hfsc_class *cl; local 1542 struct hfsc_class *cl; local 1564 struct hfsc_class *cl; local 1586 struct hfsc_class *cl; local 1618 struct hfsc_class *cl; local 1686 struct hfsc_class *cl; local [all...] |
H A D | sch_htb.c | 196 struct htb_class *cl; local 207 cl = htb_find(skb->priority, sch); 208 if (cl && cl->level == 0) 209 return cl; 223 cl = (void *)res.class; 224 if (!cl) { 227 cl = htb_find(res.classid, sch); 228 if (!cl) 231 if (!cl 250 htb_add_to_id_tree(struct rb_root *root, struct htb_class *cl, int prio) argument 276 htb_add_to_wait_tree(struct htb_sched *q, struct htb_class *cl, s64 delay) argument 319 htb_add_class_to_row(struct htb_sched *q, struct htb_class *cl, int mask) argument 348 htb_remove_class_from_row(struct htb_sched *q, struct htb_class *cl, int mask) argument 374 htb_activate_prios(struct htb_sched *q, struct htb_class *cl) argument 409 htb_deactivate_prios(struct htb_sched *q, struct htb_class *cl) argument 445 htb_lowater(const struct htb_class *cl) argument 452 htb_hiwater(const struct htb_class *cl) argument 473 htb_class_mode(struct htb_class *cl, s64 *diff) argument 499 htb_change_class_mode(struct htb_sched *q, struct htb_class *cl, s64 *diff) argument 523 htb_activate(struct htb_sched *q, struct htb_class *cl) argument 541 htb_deactivate(struct htb_sched *q, struct htb_class *cl) argument 554 struct htb_class *cl = htb_classify(skb, sch, &ret); local 585 htb_accnt_tokens(struct htb_class *cl, int bytes, s64 diff) argument 598 htb_accnt_ctokens(struct htb_class *cl, int bytes, s64 diff) argument 622 htb_charge_class(struct htb_sched *q, struct htb_class *cl, int level, struct sk_buff *skb) argument 676 struct htb_class *cl; local 711 struct htb_class *cl = local 770 struct htb_class *cl; local 790 struct htb_class *cl, *start; local 931 struct htb_class *cl = list_entry(p, struct htb_class, local 951 struct htb_class *cl; local 1076 struct htb_class *cl = (struct htb_class *)arg; local 1116 struct htb_class *cl = (struct htb_class *)arg; local 1134 struct htb_class *cl = (struct htb_class *)arg; local 1156 struct htb_class *cl = (struct htb_class *)arg; local 1162 struct htb_class *cl = (struct htb_class *)arg; local 1165 htb_deactivate(qdisc_priv(sch), cl); local 1170 struct htb_class *cl = htb_find(classid, sch); local 1176 htb_parent_last_child(struct htb_class *cl) argument 1187 htb_parent_to_leaf(struct htb_sched *q, struct htb_class *cl, struct Qdisc *new_q) argument 1207 htb_destroy_class(struct Qdisc *sch, struct htb_class *cl) argument 1222 struct htb_class *cl; local 1250 struct htb_class *cl = (struct htb_class *)arg; local 1301 struct htb_class *cl = (struct htb_class *)arg; local 1313 struct htb_class *cl = (struct htb_class *)*arg, *parent; local 1482 struct htb_class *cl = (struct htb_class *)arg; local 1491 struct htb_class *cl = htb_find(classid, sch); local 1509 struct htb_class *cl = (struct htb_class *)arg; local 1518 struct htb_class *cl; local [all...] |
H A D | sch_drr.c | 53 static void drr_purge_queue(struct drr_class *cl) argument 55 unsigned int len = cl->qdisc->q.qlen; 57 qdisc_reset(cl->qdisc); 58 qdisc_tree_decrease_qlen(cl->qdisc, len); 69 struct drr_class *cl = (struct drr_class *)*arg; local 89 if (cl != NULL) { 91 err = gen_replace_estimator(&cl->bstats, &cl->rate_est, 100 cl->quantum = quantum; 106 cl 139 drr_destroy_class(struct Qdisc *sch, struct drr_class *cl) argument 149 struct drr_class *cl = (struct drr_class *)arg; local 171 struct drr_class *cl = drr_find_class(sch, classid); local 181 struct drr_class *cl = (struct drr_class *)arg; local 187 drr_tcf_chain(struct Qdisc *sch, unsigned long cl) argument 200 struct drr_class *cl = drr_find_class(sch, classid); local 210 struct drr_class *cl = (struct drr_class *)arg; local 218 struct drr_class *cl = (struct drr_class *)arg; local 237 struct drr_class *cl = (struct drr_class *)arg; local 244 struct drr_class *cl = (struct drr_class *)arg; local 253 struct drr_class *cl = (struct drr_class *)arg; local 275 struct drr_class *cl = (struct drr_class *)arg; local 295 struct drr_class *cl; local 320 struct drr_class *cl; local 353 struct drr_class *cl; local 385 struct drr_class *cl; local 420 struct drr_class *cl; local 452 struct drr_class *cl; local 468 struct drr_class *cl; local [all...] |
H A D | sch_qfq.c | 221 static void qfq_purge_queue(struct qfq_class *cl) argument 223 unsigned int len = cl->qdisc->q.qlen; 225 qdisc_reset(cl->qdisc); 226 qdisc_tree_decrease_qlen(cl->qdisc, len); 324 struct qfq_class *cl) 326 cl->agg = agg; 329 if (cl->qdisc->q.qlen > 0) { /* adding an active class */ 330 list_add_tail(&cl->alist, &agg->active); 332 cl && q->in_serv_agg != agg) /* agg was inactive */ 349 static void qfq_deactivate_class(struct qfq_sched *q, struct qfq_class *cl) argument 322 qfq_add_to_agg(struct qfq_sched *q, struct qfq_aggregate *agg, struct qfq_class *cl) argument 360 qfq_rm_from_agg(struct qfq_sched *q, struct qfq_class *cl) argument 373 qfq_deact_rm_from_agg(struct qfq_sched *q, struct qfq_class *cl) argument 382 qfq_change_agg(struct Qdisc *sch, struct qfq_class *cl, u32 weight, u32 lmax) argument 404 struct qfq_class *cl = (struct qfq_class *)*arg; local 523 qfq_destroy_class(struct Qdisc *sch, struct qfq_class *cl) argument 536 struct qfq_class *cl = (struct qfq_class *)arg; local 558 struct qfq_class *cl = qfq_find_class(sch, classid); local 568 struct qfq_class *cl = (struct qfq_class *)arg; local 574 qfq_tcf_chain(struct Qdisc *sch, unsigned long cl) argument 587 struct qfq_class *cl = qfq_find_class(sch, classid); local 597 struct qfq_class *cl = (struct qfq_class *)arg; local 605 struct qfq_class *cl = (struct qfq_class *)arg; local 624 struct qfq_class *cl = (struct qfq_class *)arg; local 632 struct qfq_class *cl = (struct qfq_class *)arg; local 655 struct qfq_class *cl = (struct qfq_class *)arg; local 675 struct qfq_class *cl; local 700 struct qfq_class *cl; local 961 agg_dequeue(struct qfq_aggregate *agg, struct qfq_class *cl, unsigned int len) argument 976 qfq_peek_skb(struct qfq_aggregate *agg, struct qfq_class **cl, unsigned int *len) argument 1016 struct qfq_class *cl; local 1194 struct qfq_class *cl; local 1391 struct qfq_class *cl = (struct qfq_class *)arg; local 1401 struct qfq_class *cl; local 1482 struct qfq_class *cl; local 1499 struct qfq_class *cl; local [all...] |
H A D | sch_mq.c | 120 static struct netdev_queue *mq_queue_get(struct Qdisc *sch, unsigned long cl) argument 123 unsigned long ntx = cl - 1; 144 static int mq_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, argument 147 struct netdev_queue *dev_queue = mq_queue_get(sch, cl); 161 static struct Qdisc *mq_leaf(struct Qdisc *sch, unsigned long cl) argument 163 struct netdev_queue *dev_queue = mq_queue_get(sch, cl); 177 static void mq_put(struct Qdisc *sch, unsigned long cl) argument 181 static int mq_dump_class(struct Qdisc *sch, unsigned long cl, argument 184 struct netdev_queue *dev_queue = mq_queue_get(sch, cl); 187 tcm->tcm_handle |= TC_H_MIN(cl); 192 mq_dump_class_stats(struct Qdisc *sch, unsigned long cl, struct gnet_dump *d) argument [all...] |
H A D | sch_mqprio.c | 185 unsigned long cl) 188 unsigned long ntx = cl - 1 - netdev_get_num_tc(dev); 195 static int mqprio_graft(struct Qdisc *sch, unsigned long cl, struct Qdisc *new, argument 199 struct netdev_queue *dev_queue = mqprio_queue_get(sch, cl); 263 static struct Qdisc *mqprio_leaf(struct Qdisc *sch, unsigned long cl) argument 265 struct netdev_queue *dev_queue = mqprio_queue_get(sch, cl); 283 static void mqprio_put(struct Qdisc *sch, unsigned long cl) argument 287 static int mqprio_dump_class(struct Qdisc *sch, unsigned long cl, argument 292 if (cl <= netdev_get_num_tc(dev)) { 299 dev_queue = mqprio_queue_get(sch, cl); 184 mqprio_queue_get(struct Qdisc *sch, unsigned long cl) argument [all...] |
H A D | sch_api.c | 43 unsigned long cl, int event); 253 unsigned long cl; local 259 cl = cops->get(p, classid); 261 if (cl == 0) 263 leaf = cops->leaf(p, cl); 264 cops->put(p, cl); 548 struct Qdisc_class_common *cl; local 568 hlist_for_each_entry_safe(cl, next, &ohash[i], hnode) { 569 h = qdisc_class_hash(cl->classid, nmask); 570 hlist_add_head(&cl 602 qdisc_class_hash_insert(struct Qdisc_class_hash *clhash, struct Qdisc_class_common *cl) argument 614 qdisc_class_hash_remove(struct Qdisc_class_hash *clhash, struct Qdisc_class_common *cl) argument 645 unsigned long cl; local 750 unsigned long cl = cops->get(parent, classid); local 956 check_loop_fn(struct Qdisc *q, unsigned long cl, struct qdisc_walker *w) argument 1386 unsigned long cl = 0; local 1510 tc_fill_tclass(struct sk_buff *skb, struct Qdisc *q, unsigned long cl, u32 portid, u32 seq, u16 flags, int event) argument 1555 tclass_notify(struct net *net, struct sk_buff *oskb, struct nlmsghdr *n, struct Qdisc *q, unsigned long cl, int event) argument 1581 qdisc_class_dump(struct Qdisc *q, unsigned long cl, struct qdisc_walker *arg) argument [all...] |
H A D | cls_api.c | 136 unsigned long cl; local 154 cl = 0; 191 cl = cops->get(q, parent); 192 if (cl == 0) 197 chain = cops->tcf_chain(q, cl); 324 err = tp->ops->change(net, skb, tp, cl, t->tcm_handle, tca, &fh); 339 if (cl) 340 cops->put(q, cl); 426 unsigned long cl = 0; local 448 cl [all...] |
H A D | sch_atm.c | 101 static struct Qdisc *atm_tc_leaf(struct Qdisc *sch, unsigned long cl) argument 103 struct atm_flow_data *flow = (struct atm_flow_data *)cl; 133 static void atm_tc_put(struct Qdisc *sch, unsigned long cl) argument 136 struct atm_flow_data *flow = (struct atm_flow_data *)cl; 259 unsigned long cl; local 263 cl = atm_tc_get(sch, classid); 264 if (!cl) 266 atm_tc_put(sch, cl); 348 static struct tcf_proto **atm_tc_find_tcf(struct Qdisc *sch, unsigned long cl) argument 351 struct atm_flow_data *flow = (struct atm_flow_data *)cl; 584 atm_tc_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, struct tcmsg *tcm) argument [all...] |
H A D | sch_dsmark.c | 100 static void dsmark_put(struct Qdisc *sch, unsigned long cl) argument 189 unsigned long cl) 414 static int dsmark_dump_class(struct Qdisc *sch, unsigned long cl, argument 420 pr_debug("dsmark_dump_class(sch %p,[qdisc %p],class %ld\n", sch, p, cl); 422 if (!dsmark_valid_index(p, cl)) 425 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1); 431 if (nla_put_u8(skb, TCA_DSMARK_MASK, p->mask[cl - 1]) || 432 nla_put_u8(skb, TCA_DSMARK_VALUE, p->value[cl - 1])) 188 dsmark_find_tcf(struct Qdisc *sch, unsigned long cl) argument
|
H A D | sch_ingress.c | 41 static void ingress_put(struct Qdisc *sch, unsigned long cl) argument 49 static struct tcf_proto **ingress_find_tcf(struct Qdisc *sch, unsigned long cl) argument
|
H A D | sch_multiq.c | 342 static void multiq_put(struct Qdisc *q, unsigned long cl) argument 346 static int multiq_dump_class(struct Qdisc *sch, unsigned long cl, argument 351 tcm->tcm_handle |= TC_H_MIN(cl); 352 tcm->tcm_info = q->queues[cl - 1]->handle; 356 static int multiq_dump_class_stats(struct Qdisc *sch, unsigned long cl, argument 362 cl_q = q->queues[cl - 1]; 392 static struct tcf_proto **multiq_find_tcf(struct Qdisc *sch, unsigned long cl) argument 396 if (cl)
|
H A D | sch_prio.c | 304 static void prio_put(struct Qdisc *q, unsigned long cl) argument 308 static int prio_dump_class(struct Qdisc *sch, unsigned long cl, struct sk_buff *skb, argument 313 tcm->tcm_handle |= TC_H_MIN(cl); 314 tcm->tcm_info = q->queues[cl-1]->handle; 318 static int prio_dump_class_stats(struct Qdisc *sch, unsigned long cl, argument 324 cl_q = q->queues[cl - 1]; 354 static struct tcf_proto **prio_find_tcf(struct Qdisc *sch, unsigned long cl) argument 358 if (cl)
|
H A D | sch_fq_codel.c | 500 static void fq_codel_put(struct Qdisc *q, unsigned long cl) argument 504 static struct tcf_proto **fq_codel_find_tcf(struct Qdisc *sch, unsigned long cl) argument 508 if (cl) 513 static int fq_codel_dump_class(struct Qdisc *sch, unsigned long cl, argument 516 tcm->tcm_handle |= TC_H_MIN(cl); 520 static int fq_codel_dump_class_stats(struct Qdisc *sch, unsigned long cl, argument 524 u32 idx = cl - 1;
|
H A D | sch_choke.c | 558 static void choke_put(struct Qdisc *q, unsigned long cl) argument 568 static struct tcf_proto **choke_find_tcf(struct Qdisc *sch, unsigned long cl) argument 572 if (cl) 577 static int choke_dump_class(struct Qdisc *sch, unsigned long cl, argument 580 tcm->tcm_handle |= TC_H_MIN(cl);
|
H A D | sch_sfq.c | 843 static void sfq_put(struct Qdisc *q, unsigned long cl) argument 847 static struct tcf_proto **sfq_find_tcf(struct Qdisc *sch, unsigned long cl) argument 851 if (cl) 856 static int sfq_dump_class(struct Qdisc *sch, unsigned long cl, argument 859 tcm->tcm_handle |= TC_H_MIN(cl); 863 static int sfq_dump_class_stats(struct Qdisc *sch, unsigned long cl, argument 867 sfq_index idx = q->ht[cl - 1];
|
H A D | sch_sfb.c | 601 static int sfb_dump_class(struct Qdisc *sch, unsigned long cl, argument 646 static int sfb_delete(struct Qdisc *sch, unsigned long cl) argument 663 static struct tcf_proto **sfb_find_tcf(struct Qdisc *sch, unsigned long cl) argument 667 if (cl)
|
/net/bluetooth/bnep/ |
H A D | sock.c | 54 struct bnep_connlist_req cl; local 101 if (copy_from_user(&cl, argp, sizeof(cl))) 104 if (cl.cnum <= 0) 107 err = bnep_get_connlist(&cl); 108 if (!err && copy_to_user(argp, &cl, sizeof(cl))) 134 struct bnep_connlist_req cl; local 138 if (get_user(cl.cnum, (u32 __user *) arg) || 142 cl [all...] |
/net/bluetooth/cmtp/ |
H A D | sock.c | 70 struct cmtp_connlist_req cl; local 114 if (copy_from_user(&cl, argp, sizeof(cl))) 117 if (cl.cnum <= 0) 120 err = cmtp_get_connlist(&cl); 121 if (!err && copy_to_user(argp, &cl, sizeof(cl))) 144 struct cmtp_connlist_req cl; local 148 if (get_user(cl.cnum, (u32 __user *) arg) || 152 cl [all...] |
/net/bluetooth/hidp/ |
H A D | sock.c | 54 struct hidp_connlist_req cl; local 99 if (copy_from_user(&cl, argp, sizeof(cl))) 102 if (cl.cnum <= 0) 105 err = hidp_get_connlist(&cl); 106 if (!err && copy_to_user(argp, &cl, sizeof(cl))) 145 struct hidp_connlist_req cl; local 149 if (get_user(cl.cnum, (u32 __user *) arg) || 153 cl [all...] |
/net/bluetooth/ |
H A D | a2mp.c | 78 static inline void __a2mp_cl_bredr(struct a2mp_cl *cl) argument 80 cl->id = 0; 81 cl->type = 0; 82 cl->status = 1; 86 static void __a2mp_add_cl(struct amp_mgr *mgr, struct a2mp_cl *cl, u8 num_ctrl) argument 91 __a2mp_cl_bredr(cl); 102 cl[i].id = hdev->id; 103 cl[i].type = hdev->amp_type; 104 cl[i].status = hdev->amp_status; 166 __a2mp_add_cl(mgr, rsp->cl, num_ctr 181 struct a2mp_cl *cl; local 256 struct a2mp_cl *cl = (void *) skb->data; local [all...] |
H A D | hci_conn.c | 861 struct hci_conn_list_req req, *cl; local 874 cl = kmalloc(size, GFP_KERNEL); 875 if (!cl) 880 kfree(cl); 884 ci = cl->conn_info; 908 cl->dev_id = hdev->id; 909 cl->conn_num = n; 914 err = copy_to_user(arg, cl, size); 915 kfree(cl);
|
/net/netfilter/ipvs/ |
H A D | ip_vs_wrr.c | 66 struct ip_vs_dest *cl; /* current dest or head */ member in struct:ip_vs_wrr_mark 122 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); 149 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); 174 dest = mark->cl; 222 mark->cl = dest; 229 mark->cl = dest; 235 mark->cl = dest;
|
/net/ipv4/netfilter/ |
H A D | ipt_ULOG.c | 356 const struct compat_ipt_ulog_info *cl = src; local 358 .nl_group = cl->nl_group, 359 .copy_range = cl->copy_range, 360 .qthreshold = cl->qthreshold, 363 memcpy(l.prefix, cl->prefix, sizeof(l.prefix)); 370 struct compat_ipt_ulog_info cl = { local 376 memcpy(cl.prefix, l->prefix, sizeof(cl.prefix)); 377 return copy_to_user(dst, &cl, sizeof(cl)) [all...] |