Searched refs:ccid_array (Results 1 – 2 of 2) sorted by relevance
34 bool ccid_support_check(u8 const *ccid_array, u8 array_len) in ccid_support_check() argument37 if (ccid_by_number(ccid_array[--array_len]) == NULL) in ccid_support_check()49 int ccid_get_builtin_ccids(u8 **ccid_array, u8 *array_len) in ccid_get_builtin_ccids() argument51 *ccid_array = kmalloc(ARRAY_SIZE(ccids), gfp_any()); in ccid_get_builtin_ccids()52 if (*ccid_array == NULL) in ccid_get_builtin_ccids()56 (*ccid_array)[*array_len] = ccids[*array_len]->ccid_id; in ccid_get_builtin_ccids()63 u8 *ccid_array, array_len; in ccid_getsockopt_builtin_ccids() local66 if (ccid_get_builtin_ccids(&ccid_array, &array_len)) in ccid_getsockopt_builtin_ccids()71 else if (len > 0 && copy_to_user(optval, ccid_array, in ccid_getsockopt_builtin_ccids()75 kfree(ccid_array); in ccid_getsockopt_builtin_ccids()
106 bool ccid_support_check(u8 const *ccid_array, u8 array_len);107 int ccid_get_builtin_ccids(u8 **ccid_array, u8 *array_len);