Searched refs:rp_len (Results 1 – 3 of 3) sorted by relevance
/net/bluetooth/ |
D | mgmt_util.c | 137 void *rp, size_t rp_len) in mgmt_cmd_complete() argument 146 skb = alloc_skb(sizeof(*hdr) + sizeof(*ev) + rp_len, GFP_KERNEL); in mgmt_cmd_complete() 154 hdr->len = cpu_to_le16(sizeof(*ev) + rp_len); in mgmt_cmd_complete() 156 ev = skb_put(skb, sizeof(*ev) + rp_len); in mgmt_cmd_complete() 161 memcpy(ev->data, rp, rp_len); in mgmt_cmd_complete() 165 sizeof(*ev) + rp_len, ev); in mgmt_cmd_complete()
|
D | mgmt_util.h | 38 void *rp, size_t rp_len);
|
D | mgmt.c | 360 size_t rp_len; in read_index_list() local 375 rp_len = sizeof(*rp) + (2 * count); in read_index_list() 376 rp = kmalloc(rp_len, GFP_ATOMIC); in read_index_list() 403 rp_len = sizeof(*rp) + (2 * count); in read_index_list() 408 0, rp, rp_len); in read_index_list() 420 size_t rp_len; in read_unconf_index_list() local 435 rp_len = sizeof(*rp) + (2 * count); in read_unconf_index_list() 436 rp = kmalloc(rp_len, GFP_ATOMIC); in read_unconf_index_list() 463 rp_len = sizeof(*rp) + (2 * count); in read_unconf_index_list() 468 MGMT_OP_READ_UNCONF_INDEX_LIST, 0, rp, rp_len); in read_unconf_index_list() [all …]
|