Home
last modified time | relevance | path

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

/net/dccp/
Dccid.c34 bool ccid_support_check(u8 const *ccid_array, u8 array_len) in ccid_support_check() argument
36 while (array_len > 0) in ccid_support_check()
37 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() argument
55 for (*array_len = 0; *array_len < ARRAY_SIZE(ccids); *array_len += 1) 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() local
66 if (ccid_get_builtin_ccids(&ccid_array, &array_len)) in ccid_getsockopt_builtin_ccids()
69 if (put_user(array_len, optlen)) in ccid_getsockopt_builtin_ccids()
72 len > array_len ? array_len : len)) in ccid_getsockopt_builtin_ccids()
Dccid.h106 bool ccid_support_check(u8 const *ccid_array, u8 array_len);
107 int ccid_get_builtin_ccids(u8 **ccid_array, u8 *array_len);
Dfeat.c1035 static u8 dccp_feat_prefer(u8 preferred_value, u8 *array, u8 array_len) in dccp_feat_prefer() argument
1040 for (i = 0; i < array_len; i++) in dccp_feat_prefer()
/net/sunrpc/
Dxdr.c1353 if (xdr_encode_word(buf, base, desc->array_len) != 0) in xdr_xcode_array2()
1356 if (xdr_decode_word(buf, base, &desc->array_len) != 0 || in xdr_xcode_array2()
1357 desc->array_len > desc->array_maxlen || in xdr_xcode_array2()
1358 (unsigned long) base + 4 + desc->array_len * in xdr_xcode_array2()
1367 todo = desc->array_len * desc->elem_size; in xdr_xcode_array2()
1552 if ((unsigned long) base + 4 + desc->array_len * desc->elem_size > in xdr_encode_array2()