Searched refs:dl (Results 1 – 5 of 5) sorted by relevance
| /net/dsa/ |
| A D | devlink.c | 11 static int dsa_devlink_info_get(struct devlink *dl, in dsa_devlink_info_get() argument 15 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get() 27 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_get() 41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_set() 118 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_snapshot() 129 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_max_clear() 306 struct devlink *dl = dp->ds->devlink; in dsa_port_devlink_setup() local 313 devlink_port_init(dl, dlp); in dsa_port_devlink_setup() 380 struct devlink *dl; in dsa_switch_devlink_alloc() local 386 if (!dl) in dsa_switch_devlink_alloc() [all …]
|
| A D | dsa.c | 292 struct dsa_link *dl; in dsa_link_touch() local 297 if (dl->dp == dp && dl->link_dp == link_dp) in dsa_link_touch() 298 return dl; in dsa_link_touch() 300 dl = kzalloc(sizeof(*dl), GFP_KERNEL); in dsa_link_touch() 301 if (!dl) in dsa_link_touch() 304 dl->dp = dp; in dsa_link_touch() 305 dl->link_dp = link_dp; in dsa_link_touch() 310 return dl; in dsa_link_touch() 320 struct dsa_link *dl; in dsa_port_setup_routing_table() local 331 if (!dl) { in dsa_port_setup_routing_table() [all …]
|
| /net/bluetooth/rfcomm/ |
| A D | tty.c | 500 struct rfcomm_dev_list_req *dl; in rfcomm_get_dev_list() local 513 dl = kzalloc(struct_size(dl, dev_info, dev_num), GFP_KERNEL); in rfcomm_get_dev_list() 514 if (!dl) in rfcomm_get_dev_list() 517 dl->dev_num = dev_num; in rfcomm_get_dev_list() 518 di = dl->dev_info; in rfcomm_get_dev_list() 538 dl->dev_num = n; in rfcomm_get_dev_list() 539 err = copy_to_user(arg, dl, struct_size(dl, dev_info, n)); in rfcomm_get_dev_list() 540 kfree(dl); in rfcomm_get_dev_list()
|
| /net/802/ |
| A D | psnap.c | 81 static int snap_request(struct datalink_proto *dl, in snap_request() argument 84 memcpy(skb_push(skb, 5), dl->type, 5); in snap_request()
|
| /net/bluetooth/ |
| A D | hci_core.c | 788 struct hci_dev_list_req *dl; in hci_get_dev_list() local 799 dl = kzalloc(struct_size(dl, dev_req, dev_num), GFP_KERNEL); in hci_get_dev_list() 800 if (!dl) in hci_get_dev_list() 803 dl->dev_num = dev_num; in hci_get_dev_list() 804 dr = dl->dev_req; in hci_get_dev_list() 825 dl->dev_num = n; in hci_get_dev_list() 826 err = copy_to_user(arg, dl, struct_size(dl, dev_req, n)); in hci_get_dev_list() 827 kfree(dl); in hci_get_dev_list()
|
Completed in 21 milliseconds