Home
last modified time | relevance | path

Searched refs:flex_array_size (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/net/bluetooth/ !
Dhci_codec.c151 if (skb->len < flex_array_size(std_codecs, codec, std_codecs->num) in hci_read_supported_codecs()
164 skb_pull(skb, flex_array_size(std_codecs, codec, std_codecs->num) in hci_read_supported_codecs()
171 flex_array_size(vnd_codecs, codec, vnd_codecs->num) in hci_read_supported_codecs()
220 if (skb->len < flex_array_size(std_codecs, codec, std_codecs->num) in hci_read_supported_codecs_v2()
232 skb_pull(skb, flex_array_size(std_codecs, codec, std_codecs->num) in hci_read_supported_codecs_v2()
239 flex_array_size(vnd_codecs, codec, vnd_codecs->num) in hci_read_supported_codecs_v2()
Dhci_event.c3090 flex_array_size(ev, info, ev->num))) in hci_inquiry_result_evt()
4368 flex_array_size(ev, handles, ev->num))) in hci_num_comp_pkts_evt()
4471 flex_array_size(ev, handles, ev->num_hndl))) in hci_num_comp_blocks_evt()
5087 flex_array_size(ev, info, ev->num))) in hci_extended_inquiry_result_evt()
6734 flex_array_size(ev, info, ev->num))) in hci_le_direct_adv_report_evt()
6915 flex_array_size(ev, bis_handle, ev->num_bis))) in hci_le_create_big_complete_evt()
6959 flex_array_size(ev, bis, ev->num_bis))) in hci_le_big_sync_established_evt()
/linux-6.1.9/include/linux/ !
Doverflow.h228 #define flex_array_size(p, member, count) \ macro
246 sizeof(*(p)) + flex_array_size(p, member, count), \
247 size_add(sizeof(*(p)), flex_array_size(p, member, count)))
/linux-6.1.9/lib/ !
Doverflow_kunit.c709 flex_array_size, obj, data, var++); in overflow_size_helpers_test()
711 flex_array_size, obj, data, var++); in overflow_size_helpers_test()
712 check_one_size_helper(0, flex_array_size, obj, data, 0 + unconst); in overflow_size_helpers_test()
714 flex_array_size, obj, data, 1 + unconst); in overflow_size_helpers_test()
716 flex_array_size, obj, data, 7 + unconst); in overflow_size_helpers_test()
718 flex_array_size, obj, data, -1 + unconst); in overflow_size_helpers_test()
720 flex_array_size, obj, data, SIZE_MAX - 4 + unconst); in overflow_size_helpers_test()
Dstackdepot.c154 memcpy(stack->entries, entries, flex_array_size(stack, entries, size)); in depot_alloc_stack()
Dassoc_array.c866 flex_array_size(new_s0, index_key, keylen)); in assoc_array_insert_mid_shortcut()
915 flex_array_size(new_s1, index_key, keylen)); in assoc_array_insert_mid_shortcut()
/linux-6.1.9/security/landlock/ !
Druleset.c98 flex_array_size(new_rule, layers, num_layers)); in create_rule()
344 flex_array_size(parent, fs_access_masks, parent->num_layers)); in inherit_ruleset()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ !
Dspectrum_cnt.c134 flex_array_size(pool, sub_pools, pool->sub_pools_count)); in mlxsw_sp_counter_pool_init()
/linux-6.1.9/net/netlink/ !
Dpolicy.c56 flex_array_size(state, policies, n_alloc - state->n_alloc)); in add_policy()
/linux-6.1.9/drivers/net/wireless/silabs/wfx/ !
Dhif_tx_mib.c109 memcpy(arg->ie_table, tbl, flex_array_size(arg, ie_table, tbl_len)); in wfx_hif_set_beacon_filter_table()
/linux-6.1.9/Documentation/process/ !
Ddeprecated.rst108 For more details, also see array3_size() and flex_array_size(),
336 struct_size() and flex_array_size() helpers::
348 memcpy(instance->items, source, flex_array_size(instance, items, instance->count));
/linux-6.1.9/Documentation/translations/it_IT/process/ !
Ddeprecated.rst117 Per maggiori dettagli fate riferimento a array3_size() e flex_array_size(), ma
372 combinazione con struct_size() e flex_array_size()::
384 memcpy(instance->items, source, flex_array_size(instance, items, instance->count));
/linux-6.1.9/net/sched/ !
Dact_pedit.c458 memcpy(opt->keys, p->tcfp_keys, flex_array_size(opt, keys, p->tcfp_nkeys)); in tcf_pedit_dump()
Dsch_api.c512 memcmp(stab->data, tab, flex_array_size(stab, data, tsize))) in qdisc_get_stab()
531 memcpy(stab->data, tab, flex_array_size(stab, data, tsize)); in qdisc_get_stab()
/linux-6.1.9/drivers/infiniband/hw/hfi1/ !
Duser_exp_rcv.c770 memcpy(node->pages, pages, flex_array_size(node, pages, npages)); in set_rcvarray_entry()
/linux-6.1.9/drivers/nvme/host/ !
Dmultipath.c590 nsid_buf_size = flex_array_size(desc, nsids, nr_nsids); in nvme_parse_ana_log()
/linux-6.1.9/drivers/platform/x86/ !
Dhp-wmi.c321 memcpy(args->data, buffer, flex_array_size(args, data, insize)); in hp_wmi_perform_query()
/linux-6.1.9/net/ipv4/ !
Digmp.c2497 flex_array_size(msf, imsf_slist_flex, msf->imsf_numsrc)); in ip_mc_msfilter()
2575 len = flex_array_size(psl, sl_addr, copycount); in ip_mc_msfget()
/linux-6.1.9/drivers/vhost/ !
Dvhost.c1452 flex_array_size(newmem, regions, mem.nregions))) { in vhost_set_memory()
/linux-6.1.9/drivers/usb/gadget/function/ !
Df_fs.c934 memcpy(buf->storage, data + ret, flex_array_size(buf, storage, data_len)); in __ffs_epfile_read_data()
/linux-6.1.9/drivers/net/ethernet/intel/ice/ !
Dice_common.c2009 if (buf_size < flex_array_size(buf, elem, num_entries)) in ice_aq_alloc_free_res()
Dice_flex_pipe.c2070 flex_array_size(buf, section_entry, count); in ice_pkg_buf_reserve_section()
/linux-6.1.9/virt/kvm/ !
Dkvm_main.c5397 flex_array_size(new_bus, range, new_bus->dev_count - i)); in kvm_io_bus_unregister_dev()
/linux-6.1.9/mm/ !
Dmemcontrol.c4306 flex_array_size(new, entries, size - 1)); in __mem_cgroup_usage_register_event()
/linux-6.1.9/net/wireless/ !
Dnl80211.c12683 flex_array_size(cqm_config, rssi_thresholds, in nl80211_set_cqm_rssi()