Home
last modified time | relevance | path

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

/net/dccp/
Dccid.c37 bool ccid_support_check(u8 const *ccid_array, u8 array_len) in ccid_support_check() argument
40 if (ccid_by_number(ccid_array[--array_len]) == NULL) in ccid_support_check()
52 int ccid_get_builtin_ccids(u8 **ccid_array, u8 *array_len) in ccid_get_builtin_ccids() argument
54 *ccid_array = kmalloc(ARRAY_SIZE(ccids), gfp_any()); in ccid_get_builtin_ccids()
55 if (*ccid_array == NULL) in ccid_get_builtin_ccids()
59 (*ccid_array)[*array_len] = ccids[*array_len]->ccid_id; in ccid_get_builtin_ccids()
66 u8 *ccid_array, array_len; in ccid_getsockopt_builtin_ccids() local
69 if (ccid_get_builtin_ccids(&ccid_array, &array_len)) in ccid_getsockopt_builtin_ccids()
74 else if (len > 0 && copy_to_user(optval, ccid_array, in ccid_getsockopt_builtin_ccids()
78 kfree(ccid_array); in ccid_getsockopt_builtin_ccids()
Dccid.h109 extern bool ccid_support_check(u8 const *ccid_array, u8 array_len);
110 extern int ccid_get_builtin_ccids(u8 **ccid_array, u8 *array_len);