Home
last modified time | relevance | path

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

/net/dccp/
Dccid.c37 bool ccid_support_check(u8 const *ccid_array, u8 array_len) in ccid_support_check() argument
39 while (array_len > 0) in ccid_support_check()
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
58 for (*array_len = 0; *array_len < ARRAY_SIZE(ccids); *array_len += 1) 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()
72 if (put_user(array_len, optlen)) in ccid_getsockopt_builtin_ccids()
75 len > array_len ? array_len : len)) in ccid_getsockopt_builtin_ccids()
Dccid.h109 bool ccid_support_check(u8 const *ccid_array, u8 array_len);
110 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.c1247 if (xdr_encode_word(buf, base, desc->array_len) != 0) in xdr_xcode_array2()
1250 if (xdr_decode_word(buf, base, &desc->array_len) != 0 || in xdr_xcode_array2()
1251 desc->array_len > desc->array_maxlen || in xdr_xcode_array2()
1252 (unsigned long) base + 4 + desc->array_len * in xdr_xcode_array2()
1261 todo = desc->array_len * desc->elem_size; in xdr_xcode_array2()
1446 if ((unsigned long) base + 4 + desc->array_len * desc->elem_size > in xdr_encode_array2()
/net/irda/irlan/
Dirlan_common.c949 __u16 array_len) in irlan_insert_array_param() argument
952 array_len); in irlan_insert_array_param()