| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | rx.c | 901 struct iwl_wipan_noa_data *new_data, *old_data; in iwlagn_rx_noa_notification() local 918 new_data = kmalloc_flex(*new_data, data, len, GFP_ATOMIC); in iwlagn_rx_noa_notification() 919 if (new_data) { in iwlagn_rx_noa_notification() 920 new_data->length = len; in iwlagn_rx_noa_notification() 921 new_data->data[0] = WLAN_EID_VENDOR_SPECIFIC; in iwlagn_rx_noa_notification() 922 new_data->data[1] = len - 2; /* not counting EID, len */ in iwlagn_rx_noa_notification() 923 new_data->data[2] = (WLAN_OUI_WFA >> 16) & 0xff; in iwlagn_rx_noa_notification() 924 new_data->data[3] = (WLAN_OUI_WFA >> 8) & 0xff; in iwlagn_rx_noa_notification() 925 new_data->data[4] = (WLAN_OUI_WFA >> 0) & 0xff; in iwlagn_rx_noa_notification() 926 new_data->data[5] = WLAN_OUI_TYPE_WFA_P2P; in iwlagn_rx_noa_notification() [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | mobility.c | 138 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property() local 139 if (!new_data) in update_dt_property() 142 memcpy(new_data, new_prop->value, new_prop->length); in update_dt_property() 143 memcpy(new_data + new_prop->length, value, vd); in update_dt_property() 146 new_prop->value = new_data; in update_dt_property()
|
| /linux/drivers/md/ |
| H A D | dm-ioctl.c | 518 char *new_data, *old_name = NULL; in dm_hash_rename() local 529 new_data = kstrdup(new, GFP_KERNEL); in dm_hash_rename() 530 if (!new_data) in dm_hash_rename() 551 kfree(new_data); in dm_hash_rename() 564 kfree(new_data); in dm_hash_rename() 578 kfree(new_data); in dm_hash_rename() 583 __set_cell_uuid(hc, new_data); in dm_hash_rename() 585 old_name = __change_cell_name(hc, new_data); in dm_hash_rename() 1135 char *new_data = (char *) param + param->data_start; in dev_rename() local 1139 if (new_data < param->data || in dev_rename() [all …]
|
| /linux/drivers/cpufreq/ |
| H A D | cpufreq.c | 2633 struct cpufreq_policy_data new_data; in cpufreq_set_policy() local 2638 memcpy(&new_data.cpuinfo, &policy->cpuinfo, sizeof(policy->cpuinfo)); in cpufreq_set_policy() 2639 new_data.freq_table = policy->freq_table; in cpufreq_set_policy() 2640 new_data.cpu = policy->cpu; in cpufreq_set_policy() 2645 new_data.min = freq_qos_read_value(&policy->constraints, FREQ_QOS_MIN); in cpufreq_set_policy() 2646 new_data.max = freq_qos_read_value(&policy->constraints, FREQ_QOS_MAX); in cpufreq_set_policy() 2649 new_data.cpu, new_data.min, new_data.max); in cpufreq_set_policy() 2655 ret = cpufreq_driver->verify(&new_data); in cpufreq_set_policy() [all...] |
| /linux/drivers/net/vmxnet3/ |
| H A D | vmxnet3_xdp.c | 389 void *new_data; in vmxnet3_process_xdp() local 417 new_data = vmxnet3_pp_get_buff(rq->page_pool, &new_dma_addr, in vmxnet3_process_xdp() 419 if (!new_data) { in vmxnet3_process_xdp() 423 rbi->page = virt_to_page(new_data); in vmxnet3_process_xdp()
|
| /linux/sound/soc/codecs/ |
| H A D | cs-amp-lib.c | 548 struct cirrus_amp_efi_data *new_data; in _cs_amp_set_efi_calibration_data() local 551 new_data = kzalloc(new_data_size, GFP_KERNEL); in _cs_amp_set_efi_calibration_data() 552 if (!new_data) { in _cs_amp_set_efi_calibration_data() 558 memcpy(new_data, data, struct_size(data, data, data->count)); in _cs_amp_set_efi_calibration_data() 562 data = new_data; in _cs_amp_set_efi_calibration_data()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac-ctxt.c | 1753 struct iwl_probe_resp_data *old_data, *new_data; in iwl_mvm_probe_resp_data_notif() local 1781 new_data = kzalloc_obj(*new_data); in iwl_mvm_probe_resp_data_notif() 1782 if (!new_data) in iwl_mvm_probe_resp_data_notif() 1785 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif() 1788 new_data->noa_len = sizeof(struct ieee80211_vendor_ie) + in iwl_mvm_probe_resp_data_notif() 1789 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif() 1795 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif() 1797 new_data->noa_len -= sizeof(struct ieee80211_p2p_noa_desc); in iwl_mvm_probe_resp_data_notif() 1801 rcu_assign_pointer(mvmvif->deflink.probe_resp_data, new_data); in iwl_mvm_probe_resp_data_notif()
|
| /linux/drivers/cxl/ |
| H A D | security.c | 69 const struct nvdimm_key_data *new_data, in cxl_pmem_security_change_key() argument 83 memcpy(set_pass.new_pass, new_data->data, NVDIMM_PASSPHRASE_LEN); in cxl_pmem_security_change_key()
|
| /linux/drivers/char/tpm/ |
| H A D | tpm-buf.c | 133 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length) in tpm_buf_append() argument 146 memcpy(&buf->data[buf->length], new_data, new_length); in tpm_buf_append()
|
| /linux/include/linux/ |
| H A D | tpm_buf.h | 51 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length);
|
| H A D | libnvdimm.h | 193 const struct nvdimm_key_data *new_data,
|
| /linux/tools/perf/util/bpf_skel/ |
| H A D | kwork_top.bpf.c | 131 struct work_data new_data = { in update_work() local 135 bpf_map_update_elem(&kwork_top_works, key, &new_data, BPF_ANY); in update_work()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_pagemap.c | 1553 unsigned long orig_data, new_data; in drm_pagemap_folio_split() local 1563 new_data = (unsigned long)drm_pagemap_zdd_get(zdd); in drm_pagemap_folio_split() 1564 new_data |= orig_data & DRM_PAGEMAP_ZDD_FLAG_MASK; in drm_pagemap_folio_split() 1565 folio_set_zone_device_data(new_folio, (void *)new_data); in drm_pagemap_folio_split()
|
| /linux/tools/perf/util/ |
| H A D | powerpc-vpadtl.c | 505 if (vpa->queues.new_data) { in powerpc_vpadtl__update_queues() 506 vpa->queues.new_data = false; in powerpc_vpadtl__update_queues()
|
| H A D | s390-cpumsf.c | 838 if (!sf->queues.new_data) in s390_cpumsf_update_queues() 841 sf->queues.new_data = false; in s390_cpumsf_update_queues()
|
| H A D | intel-bts.c | 222 if (bts->queues.new_data) { in intel_bts_update_queues() 223 bts->queues.new_data = false; in intel_bts_update_queues()
|
| H A D | auxtrace.h | 293 bool new_data; member
|
| /linux/drivers/acpi/nfit/ |
| H A D | intel.c | 147 const struct nvdimm_key_data *new_data, in intel_security_change_key() argument 172 memcpy(nd_cmd.cmd.new_pass, new_data->data, in intel_security_change_key()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_common.c | 5846 u64 new_data = rd64(hw, reg) & (BIT_ULL(40) - 1); in ice_stat_update40() local 5854 *prev_stat = new_data; in ice_stat_update40() 5861 if (new_data >= *prev_stat) in ice_stat_update40() 5862 *cur_stat += new_data - *prev_stat; in ice_stat_update40() 5865 *cur_stat += (new_data + BIT_ULL(40)) - *prev_stat; in ice_stat_update40() 5868 *prev_stat = new_data; in ice_stat_update40() 5883 u32 new_data; in ice_stat_update32() local 5885 new_data = rd32(hw, reg); in ice_stat_update32() 5893 *prev_stat = new_data; in ice_stat_update32() 5900 if (new_data >= *prev_stat) in ice_stat_update32() [all …]
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fbcon.c | 2487 font_data_t *new_data; in fbcon_set_font() local 2511 new_data = font_data_import(font, vpitch, crc32); in fbcon_set_font() 2512 if (IS_ERR(new_data)) in fbcon_set_font() 2513 return PTR_ERR(new_data); in fbcon_set_font() 2518 font_data_is_equal(fb_display[i].fontdata, new_data)) { in fbcon_set_font() 2520 font_data_put(new_data); in fbcon_set_font() 2521 new_data = fb_display[i].fontdata; in fbcon_set_font() 2525 ret = fbcon_do_set_font(vc, font->width, font->height, charcount, new_data); in fbcon_set_font() 2526 font_data_put(new_data); in fbcon_set_font()
|
| /linux/fs/ntfs3/ |
| H A D | index.c | 2156 u64 bpb, new_data; in indx_shrink() local 2196 new_data = (u64)bit << indx->index_bits; in indx_shrink() 2199 &indx->alloc_run, new_data, &new_data, false); in indx_shrink() 2204 i_size_write(&ni->vfs_inode, new_data); in indx_shrink()
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_cmn.c | 776 u8 *new_data, *data = rx_buf->data; in bnx2x_tpa_stop() local 788 new_data = bnx2x_frag_alloc(fp, GFP_ATOMIC); in bnx2x_tpa_stop() 794 if (likely(new_data)) in bnx2x_tpa_stop() 803 bnx2x_frag_free(fp, new_data); in bnx2x_tpa_stop() 827 rx_buf->data = new_data; in bnx2x_tpa_stop() 831 if (new_data) in bnx2x_tpa_stop() 832 bnx2x_frag_free(fp, new_data); in bnx2x_tpa_stop()
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 2210 u8 *data, *new_data; in mtk_poll_rx() local 2271 new_data = mtk_page_pool_get_buff(ring->page_pool, in mtk_poll_rx() 2274 if (unlikely(!new_data)) { in mtk_poll_rx() 2311 new_data = napi_alloc_frag(ring->frag_size); in mtk_poll_rx() 2313 new_data = mtk_max_lro_buf_alloc(GFP_ATOMIC); in mtk_poll_rx() 2315 if (unlikely(!new_data)) { in mtk_poll_rx() 2321 new_data + NET_SKB_PAD + eth->ip_align, in mtk_poll_rx() 2325 skb_free_frag(new_data); in mtk_poll_rx() 2391 ring->data[idx] = new_data; in mtk_poll_rx()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 616 u64 new_data; in i40e_stat_update64() local 618 new_data = rd64(hw, loreg); in i40e_stat_update64() 620 if (!offset_loaded || new_data < *offset) in i40e_stat_update64() 621 *offset = new_data; in i40e_stat_update64() 622 *stat = new_data - *offset; in i40e_stat_update64() 643 u64 new_data; in i40e_stat_update48() local 646 new_data = rd32(hw, loreg); in i40e_stat_update48() 647 new_data |= ((u64)(rd32(hw, hireg) & 0xFFFF)) << 32; in i40e_stat_update48() 649 new_data = rd64(hw, loreg); in i40e_stat_update48() 652 *offset = new_data; in i40e_stat_update48() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-dbg-tlv.c | 1046 const __le32 *new_data = new_trig->data, *old_data = old_trig->data; in is_trig_data_contained() local 1055 if (new_data[i] == old_data[j]) { in is_trig_data_contained()
|