Home
last modified time | relevance | path

Searched refs:seq_list (Results 1 – 1 of 1) sorted by relevance

/net/bluetooth/
Dl2cap_core.c346 static int l2cap_seq_list_init(struct l2cap_seq_list *seq_list, u16 size) in l2cap_seq_list_init() argument
356 seq_list->list = kmalloc_array(alloc_size, sizeof(u16), GFP_KERNEL); in l2cap_seq_list_init()
357 if (!seq_list->list) in l2cap_seq_list_init()
360 seq_list->mask = alloc_size - 1; in l2cap_seq_list_init()
361 seq_list->head = L2CAP_SEQ_LIST_CLEAR; in l2cap_seq_list_init()
362 seq_list->tail = L2CAP_SEQ_LIST_CLEAR; in l2cap_seq_list_init()
364 seq_list->list[i] = L2CAP_SEQ_LIST_CLEAR; in l2cap_seq_list_init()
369 static inline void l2cap_seq_list_free(struct l2cap_seq_list *seq_list) in l2cap_seq_list_free() argument
371 kfree(seq_list->list); in l2cap_seq_list_free()
374 static inline bool l2cap_seq_list_contains(struct l2cap_seq_list *seq_list, in l2cap_seq_list_contains() argument
[all …]