/linux/net/dccp/ |
A D | ccid.c | 34 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()
|
A D | ccid.h | 106 bool ccid_support_check(u8 const *ccid_array, u8 array_len); 107 int ccid_get_builtin_ccids(u8 **ccid_array, u8 *array_len);
|
A D | feat.c | 1045 static u8 dccp_feat_prefer(u8 preferred_value, u8 *array, u8 array_len) in dccp_feat_prefer() argument 1050 for (i = 0; i < array_len; i++) in dccp_feat_prefer()
|
/linux/fs/nfs_common/ |
A D | nfsacl.c | 99 .array_len = encode_entries ? entries : 0, in nfsacl_encode() 134 nfsacl_desc.desc.array_len; in nfsacl_encode() 161 .array_len = encode_entries ? entries : 0, in nfs_stream_encode_acl() 199 elem_size * nfsacl_desc.desc.array_len)) in nfs_stream_encode_acl() 226 if (desc->array_len > NFS_ACL_MAX_ENTRIES) in xdr_nfsace_decode() 228 nfsacl_desc->acl = posix_acl_alloc(desc->array_len, GFP_KERNEL); in xdr_nfsace_decode() 356 if (entries != nfsacl_desc.desc.array_len || in nfsacl_decode() 366 nfsacl_desc.desc.array_len; in nfsacl_decode() 409 if (entries != nfsacl_desc.desc.array_len || in nfs_stream_decode_acl()
|
/linux/drivers/staging/r8188eu/hal/ |
A D | HalHWImg8188E_MAC.c | 136 u32 array_len = sizeof(array_MAC_REG_8188E) / sizeof(u32); in ODM_ReadAndConfig_MAC_REG_8188E() local 158 for (i = 0; i < array_len; i += 2) { in ODM_ReadAndConfig_MAC_REG_8188E() 178 v2 != 0xCDCD && i < array_len - 2) { in ODM_ReadAndConfig_MAC_REG_8188E() 186 v2 != 0xCDCD && i < array_len - 2) { in ODM_ReadAndConfig_MAC_REG_8188E() 197 while (v2 != 0xDEAD && i < array_len - 2) in ODM_ReadAndConfig_MAC_REG_8188E()
|
/linux/tools/bpf/bpftool/ |
A D | net.c | 37 int array_len; member 49 int array_len; member 360 if (netinfo->used_len == netinfo->array_len) { in dump_link_nlmsg() 362 (netinfo->array_len + 16) * in dump_link_nlmsg() 367 netinfo->array_len += 16; in dump_link_nlmsg() 395 if (tcinfo->used_len == tcinfo->array_len) { in dump_class_qdisc_nlmsg() 397 (tcinfo->array_len + 16) * sizeof(struct tc_kind_handle)); in dump_class_qdisc_nlmsg() 401 tcinfo->array_len += 16; in dump_class_qdisc_nlmsg() 432 tcinfo.array_len = 0; in show_dev_tc_bpf() 676 dev_array.array_len = 0; in do_show()
|
/linux/drivers/base/ |
A D | swnode.c | 191 int array_len; in property_entry_read_string_array() local 194 array_len = property_entry_count_elems_of_size(props, propname, in property_entry_read_string_array() 196 if (array_len < 0) in property_entry_read_string_array() 197 return array_len; in property_entry_read_string_array() 201 return array_len; in property_entry_read_string_array() 203 array_len = min_t(size_t, nval, array_len); in property_entry_read_string_array() 204 length = array_len * sizeof(*strings); in property_entry_read_string_array() 212 return array_len; in property_entry_read_string_array()
|
/linux/drivers/infiniband/core/ |
A D | uverbs_ioctl.c | 170 size_t array_len; in uverbs_process_idrs_array() local 181 array_len = uattr->len / sizeof(u32); in uverbs_process_idrs_array() 182 if (array_len < spec->u2.objs_arr.min_len || in uverbs_process_idrs_array() 183 array_len > spec->u2.objs_arr.max_len) in uverbs_process_idrs_array() 188 array_size(array_len, sizeof(*attr->uobjects))); in uverbs_process_idrs_array() 198 idr_vals = (u32 *)(attr->uobjects + array_len) - array_len; in uverbs_process_idrs_array() 209 for (i = 0; i != array_len; i++) { in uverbs_process_idrs_array()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_diag.h | 10 u8 array_len; member
|
A D | igc_diag.c | 113 for (i = 0; i < test->array_len; i++) { in igc_reg_test()
|
/linux/arch/powerpc/kvm/ |
A D | e500_mmu.c | 740 size_t array_len; in kvm_vcpu_ioctl_config_tlb() local 767 array_len = params.tlb_sizes[0] + params.tlb_sizes[1]; in kvm_vcpu_ioctl_config_tlb() 768 array_len *= sizeof(struct kvm_book3e_206_tlb_entry); in kvm_vcpu_ioctl_config_tlb() 770 if (cfg->array_len < array_len) in kvm_vcpu_ioctl_config_tlb() 773 num_pages = DIV_ROUND_UP(cfg->array + array_len - 1, PAGE_SIZE) - in kvm_vcpu_ioctl_config_tlb()
|
/linux/drivers/misc/cxl/ |
A D | hcalls.c | 117 static char *op_str(unsigned int op, char *name_array[], int array_len) in op_str() argument 119 if (op >= array_len) in op_str()
|
/linux/net/sunrpc/ |
A D | xdr.c | 1810 if (xdr_encode_word(buf, base, desc->array_len) != 0) in xdr_xcode_array2() 1813 if (xdr_decode_word(buf, base, &desc->array_len) != 0 || in xdr_xcode_array2() 1814 desc->array_len > desc->array_maxlen || in xdr_xcode_array2() 1815 (unsigned long) base + 4 + desc->array_len * in xdr_xcode_array2() 1824 todo = desc->array_len * desc->elem_size; in xdr_xcode_array2() 2007 if ((unsigned long) base + 4 + desc->array_len * desc->elem_size > in xdr_encode_array2()
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
A D | ethtool.c | 565 u8 array_len; member 674 for (i = 0; i < test->array_len; i++) { in ixgbevf_reg_test()
|
/linux/include/linux/sunrpc/ |
A D | xdr.h | 205 unsigned int array_len; member
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | phy.c | 1767 u32 array_len; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local 1771 array_len = RTL8812AE_TXPWR_LMT_ARRAY_LEN; in _rtl8821ae_phy_read_and_config_txpwr_lmt() 1774 array_len = RTL8821AE_TXPWR_LMT_ARRAY_LEN; in _rtl8821ae_phy_read_and_config_txpwr_lmt() 1780 for (i = 0; i < array_len; i += 7) { in _rtl8821ae_phy_read_and_config_txpwr_lmt()
|
/linux/tools/include/uapi/linux/ |
A D | kvm.h | 1266 __u32 array_len; member
|
/linux/include/uapi/linux/ |
A D | kvm.h | 1266 __u32 array_len; member
|
/linux/include/linux/mlx4/ |
A D | device.h | 1408 size_t array_len, u8 port);
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | fw.c | 2606 u32 value[], size_t array_len, u8 port) in mlx4_query_diag_counters() argument 2625 for (i = 0; i < array_len; i++) { in mlx4_query_diag_counters()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ethtool.c | 1001 u16 array_len; member 1323 for (i = 0; i < test->array_len; i++) { in igb_reg_test()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ethtool.c | 1429 u8 array_len; member 1607 for (i = 0; i < test->array_len; i++) { in ixgbe_reg_test()
|
/linux/Documentation/virt/kvm/ |
A D | api.rst | 6170 __u32 array_len; 6175 addresses of mmu-type-specific data structures. The "array_len" field is an
|