| /linux/drivers/leds/ |
| H A D | uleds.c | 34 bool new_data; member 47 udev->new_data = true; in uleds_brightness_set() 121 udev->new_data = true; in uleds_write() 147 } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) { in uleds_read() 149 } else if (udev->new_data) { in uleds_read() 152 udev->new_data = false; in uleds_read() 163 udev->new_data || in uleds_read() 176 if (udev->new_data) in uleds_poll()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | iface.c | 500 struct iwl_probe_resp_data *old_data, *new_data; in iwl_mld_handle_probe_resp_data_notif() local 545 new_data = kzalloc_obj(*new_data); in iwl_mld_handle_probe_resp_data_notif() 546 if (!new_data) in iwl_mld_handle_probe_resp_data_notif() 549 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mld_handle_probe_resp_data_notif() 552 new_data->noa_len = sizeof(struct ieee80211_vendor_ie) + in iwl_mld_handle_probe_resp_data_notif() 553 sizeof(new_data->notif.noa_attr) - 1; in iwl_mld_handle_probe_resp_data_notif() 559 if (new_data->notif.noa_attr.len_low == in iwl_mld_handle_probe_resp_data_notif() 561 new_data->noa_len -= sizeof(struct ieee80211_p2p_noa_desc); in iwl_mld_handle_probe_resp_data_notif() 564 rcu_assign_pointer(mld_link->probe_resp_data, new_data); in iwl_mld_handle_probe_resp_data_notif()
|
| /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/cpufreq/ |
| H A D | cpufreq.c | 2628 struct cpufreq_policy_data new_data; in cpufreq_set_policy() local 2632 memcpy(&new_data.cpuinfo, &policy->cpuinfo, sizeof(policy->cpuinfo)); in cpufreq_set_policy() 2633 new_data.freq_table = policy->freq_table; in cpufreq_set_policy() 2634 new_data.cpu = policy->cpu; in cpufreq_set_policy() 2639 new_data.min = freq_qos_read_value(&policy->constraints, FREQ_QOS_MIN); in cpufreq_set_policy() 2640 new_data.max = freq_qos_read_value(&policy->constraints, FREQ_QOS_MAX); in cpufreq_set_policy() 2643 new_data.cpu, new_data.min, new_data.max); in cpufreq_set_policy() 2649 ret = cpufreq_driver->verify(&new_data); in cpufreq_set_policy() 2662 WRITE_ONCE(policy->max, __resolve_freq(policy, new_data.max, in cpufreq_set_policy() 2663 new_data.min, new_data.max, in cpufreq_set_policy() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-ioctl.c | 429 char *new_data, *old_name = NULL; in dm_hash_rename() local 439 new_data = kstrdup(new, GFP_KERNEL); in dm_hash_rename() 440 if (!new_data) in dm_hash_rename() 459 kfree(new_data); in dm_hash_rename() 471 kfree(new_data); in dm_hash_rename() 484 kfree(new_data); in dm_hash_rename() 489 __set_cell_uuid(hc, new_data); in dm_hash_rename() 491 old_name = __change_cell_name(hc, new_data); in dm_hash_rename() 1047 char *new_data = (char *) param + param->data_start; in dev_rename() local 1051 if (new_data < param->data || in dev_rename() [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/drivers/char/tpm/ |
| H A D | tpm-buf.c | 105 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length) in tpm_buf_append() argument 117 memcpy(&buf->data[buf->length], new_data, new_length); in tpm_buf_append()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac-ctxt.c | 1739 struct iwl_probe_resp_data *old_data, *new_data; in iwl_mvm_probe_resp_data_notif() local 1767 new_data = kzalloc_obj(*new_data); in iwl_mvm_probe_resp_data_notif() 1768 if (!new_data) in iwl_mvm_probe_resp_data_notif() 1771 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif() 1774 new_data->noa_len = sizeof(struct ieee80211_vendor_ie) + in iwl_mvm_probe_resp_data_notif() 1775 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif() 1781 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif() 1783 new_data->noa_len -= sizeof(struct ieee80211_p2p_noa_desc); in iwl_mvm_probe_resp_data_notif() 1787 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/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/video/fbdev/core/ |
| H A D | fbcon.c | 2491 u8 *new_data, *data = font->data; in fbcon_set_font() local 2525 new_data = kmalloc(alloc_size, GFP_USER); in fbcon_set_font() 2527 if (!new_data) in fbcon_set_font() 2530 memset(new_data, 0, FONT_EXTRA_WORDS * sizeof(int)); in fbcon_set_font() 2532 new_data += FONT_EXTRA_WORDS * sizeof(int); in fbcon_set_font() 2533 FNTSIZE(new_data) = size; in fbcon_set_font() 2534 REFCOUNT(new_data) = 0; /* usage counter */ in fbcon_set_font() 2536 memcpy(new_data + i*h*pitch, data + i*vpitch*pitch, h*pitch); in fbcon_set_font() 2541 csum = crc32(0, new_data, size); in fbcon_set_font() 2543 FNTSUM(new_data) = csum; in fbcon_set_font() [all …]
|
| /linux/tools/perf/util/ |
| H A D | powerpc-vpadtl.c | 502 if (vpa->queues.new_data) { in powerpc_vpadtl__update_queues() 503 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/net/ethernet/intel/ice/ |
| H A D | ice_common.c | 5843 u64 new_data = rd64(hw, reg) & (BIT_ULL(40) - 1); in ice_stat_update40() local 5851 *prev_stat = new_data; in ice_stat_update40() 5858 if (new_data >= *prev_stat) in ice_stat_update40() 5859 *cur_stat += new_data - *prev_stat; in ice_stat_update40() 5862 *cur_stat += (new_data + BIT_ULL(40)) - *prev_stat; in ice_stat_update40() 5865 *prev_stat = new_data; in ice_stat_update40() 5880 u32 new_data; in ice_stat_update32() local 5882 new_data = rd32(hw, reg); in ice_stat_update32() 5890 *prev_stat = new_data; in ice_stat_update32() 5897 if (new_data >= *prev_stat) in ice_stat_update32() [all …]
|
| /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/fs/ntfs3/ |
| H A D | index.c | 2064 u64 bpb, new_data; in indx_shrink() local 2104 new_data = (u64)bit << indx->index_bits; in indx_shrink() 2107 &indx->alloc_run, new_data, &new_data, false); in indx_shrink() 2112 i_size_write(&ni->vfs_inode, new_data); in indx_shrink()
|
| /linux/include/linux/ |
| H A D | tpm.h | 424 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length);
|
| /linux/drivers/usb/gadget/ |
| H A D | configfs.c | 1349 char *new_data; in ext_prop_data_store() local 1354 new_data = kmemdup(page, len, GFP_KERNEL); in ext_prop_data_store() 1355 if (!new_data) in ext_prop_data_store() 1361 ext_prop->data = new_data; in ext_prop_data_store()
|
| /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 | 2187 u8 *data, *new_data; in mtk_poll_rx() local 2248 new_data = mtk_page_pool_get_buff(ring->page_pool, in mtk_poll_rx() 2251 if (unlikely(!new_data)) { in mtk_poll_rx() 2288 new_data = napi_alloc_frag(ring->frag_size); in mtk_poll_rx() 2290 new_data = mtk_max_lro_buf_alloc(GFP_ATOMIC); in mtk_poll_rx() 2292 if (unlikely(!new_data)) { in mtk_poll_rx() 2298 new_data + NET_SKB_PAD + eth->ip_align, in mtk_poll_rx() 2302 skb_free_frag(new_data); in mtk_poll_rx() 2368 ring->data[idx] = new_data; in mtk_poll_rx()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 613 u64 new_data; in i40e_stat_update64() local 615 new_data = rd64(hw, loreg); in i40e_stat_update64() 617 if (!offset_loaded || new_data < *offset) in i40e_stat_update64() 618 *offset = new_data; in i40e_stat_update64() 619 *stat = new_data - *offset; in i40e_stat_update64() 640 u64 new_data; in i40e_stat_update48() local 643 new_data = rd32(hw, loreg); in i40e_stat_update48() 644 new_data |= ((u64)(rd32(hw, hireg) & 0xFFFF)) << 32; in i40e_stat_update48() 646 new_data = rd64(hw, loreg); in i40e_stat_update48() 649 *offset = new_data; in i40e_stat_update48() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-dbg-tlv.c | 1031 const __le32 *new_data = new_trig->data, *old_data = old_trig->data; in is_trig_data_contained() local 1040 if (new_data[i] == old_data[j]) { in is_trig_data_contained()
|