Home
last modified time | relevance | path

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

12

/Linux-v6.6/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.c3086 flex_array_size(ev, info, ev->num))) in hci_inquiry_result_evt()
4435 flex_array_size(ev, handles, ev->num))) in hci_num_comp_pkts_evt()
4538 flex_array_size(ev, handles, ev->num_hndl))) in hci_num_comp_blocks_evt()
5160 flex_array_size(ev, info, ev->num))) in hci_extended_inquiry_result_evt()
6847 flex_array_size(ev, info, ev->num))) in hci_le_direct_adv_report_evt()
7063 flex_array_size(ev, bis_handle, ev->num_bis))) in hci_le_create_big_complete_evt()
7122 flex_array_size(ev, bis, ev->num_bis))) in hci_le_big_sync_established_evt()
/Linux-v6.6/include/linux/
Doverflow.h275 #define flex_array_size(p, member, count) \ macro
293 sizeof(*(p)) + flex_array_size(p, member, count), \
294 size_add(sizeof(*(p)), flex_array_size(p, member, count)))
/Linux-v6.6/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.c308 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-v6.6/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-v6.6/drivers/platform/x86/hp/hp-bioscfg/
Dbiosattr-interface.c146 memcpy(args->data, buffer, flex_array_size(args, data, insize)); in hp_wmi_perform_query()
/Linux-v6.6/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-v6.6/net/netlink/
Dpolicy.c56 flex_array_size(state, policies, n_alloc - state->n_alloc)); in add_policy()
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/Documentation/translations/sp_SP/process/
Ddeprecated.rst115 Para más detalles, mire también array3_size() y flex_array_size(),
369 struct_size() y flex_array_size()::
381 memcpy(instance->items, source, flex_array_size(instance, items, instance->count));
/Linux-v6.6/net/sched/
Dact_pedit.c520 flex_array_size(opt, keys, parms->tcfp_nkeys)); in tcf_pedit_dump()
Dsch_api.c514 memcmp(stab->data, tab, flex_array_size(stab, data, tsize))) in qdisc_get_stab()
533 memcpy(stab->data, tab, flex_array_size(stab, data, tsize)); in qdisc_get_stab()
/Linux-v6.6/io_uring/
Dkbuf.c483 flex_array_size(br, bufs, reg->ring_entries), in io_pin_pbuf_ring()
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c760 memcpy(node->pages, pages, flex_array_size(node, pages, npages)); in set_rcvarray_entry()
/Linux-v6.6/drivers/nvme/host/
Dmultipath.c624 nsid_buf_size = flex_array_size(desc, nsids, nr_nsids); in nvme_parse_ana_log()
/Linux-v6.6/drivers/platform/x86/hp/
Dhp-wmi.c341 memcpy(args->data, buffer, flex_array_size(args, data, insize)); in hp_wmi_perform_query()
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_ddp.c964 flex_array_size(buf, section_entry, count); in ice_pkg_buf_reserve_section()
Dice_common.c2018 if (!buf || buf_size < flex_array_size(buf, elem, 1)) in ice_aq_alloc_free_res()
/Linux-v6.6/net/ipv4/
Digmp.c2498 flex_array_size(msf, imsf_slist_flex, msf->imsf_numsrc)); in ip_mc_msfilter()
2576 len = flex_array_size(psl, sl_addr, copycount); in ip_mc_msfget()
/Linux-v6.6/drivers/vhost/
Dvhost.c1733 flex_array_size(newmem, regions, mem.nregions))) { in vhost_set_memory()
/Linux-v6.6/drivers/usb/gadget/function/
Df_fs.c923 memcpy(buf->storage, data + ret, flex_array_size(buf, storage, data_len)); in __ffs_epfile_read_data()

12