| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/video/console/ |
| H A D | newport_con.c | 506 unsigned char *new_data, *data = op->data, *p; in newport_set_font() local 514 if (!(new_data = kmalloc(FONT_EXTRA_WORDS * sizeof(int) + size, in newport_set_font() 517 new_data += FONT_EXTRA_WORDS * sizeof(int); in newport_set_font() 518 FNTSIZE(new_data) = size; in newport_set_font() 519 FNTCHARCNT(new_data) = op->charcount; in newport_set_font() 520 REFCOUNT(new_data) = 0; /* usage counter */ in newport_set_font() 521 FNTSUM(new_data) = 0; in newport_set_font() 523 p = new_data; in newport_set_font() 534 && !memcmp(font_data[i], new_data, size)) { in newport_set_font() 535 kfree(new_data - FONT_EXTRA_WORDS * sizeof(int)); in newport_set_font() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | rx.c | 894 struct iwl_wipan_noa_data *new_data, *old_data; in iwlagn_rx_noa_notification() local 911 new_data = kmalloc(sizeof(*new_data) + len, GFP_ATOMIC); in iwlagn_rx_noa_notification() 912 if (new_data) { in iwlagn_rx_noa_notification() 913 new_data->length = len; in iwlagn_rx_noa_notification() 914 new_data->data[0] = WLAN_EID_VENDOR_SPECIFIC; in iwlagn_rx_noa_notification() 915 new_data->data[1] = len - 2; /* not counting EID, len */ in iwlagn_rx_noa_notification() 916 new_data->data[2] = (WLAN_OUI_WFA >> 16) & 0xff; in iwlagn_rx_noa_notification() 917 new_data->data[3] = (WLAN_OUI_WFA >> 8) & 0xff; in iwlagn_rx_noa_notification() 918 new_data->data[4] = (WLAN_OUI_WFA >> 0) & 0xff; in iwlagn_rx_noa_notification() 919 new_data->data[5] = WLAN_OUI_TYPE_WFA_P2P; in iwlagn_rx_noa_notification() [all …]
|
| /OK3568_Linux_fs/u-boot/common/eeprom/ |
| H A D | eeprom_layout.c | 69 char *field_name, char *new_data) in eeprom_layout_update_field() argument 74 if (new_data == NULL) in eeprom_layout_update_field() 85 err = fields[i].update(&fields[i], new_data); in eeprom_layout_update_field()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/ |
| H A D | mobility.c | 109 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property() local 110 if (!new_data) in update_dt_property() 113 memcpy(new_data, new_prop->value, new_prop->length); in update_dt_property() 114 memcpy(new_data + new_prop->length, value, vd); in update_dt_property() 117 new_prop->value = new_data; in update_dt_property()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/ |
| H A D | buffer_pool.cpp | 109 SmartPtr<BufferData> new_data = allocate_data (_buffer_info); in reserve() local 110 if (!new_data.ptr ()) in reserve() 112 _buf_list.push (new_data); in reserve()
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-ioctl.c | 373 char *new_data, *old_name = NULL; in dm_hash_rename() local 383 new_data = kstrdup(new, GFP_KERNEL); in dm_hash_rename() 384 if (!new_data) in dm_hash_rename() 404 kfree(new_data); in dm_hash_rename() 416 kfree(new_data); in dm_hash_rename() 429 kfree(new_data); in dm_hash_rename() 434 __set_cell_uuid(hc, new_data); in dm_hash_rename() 436 old_name = __change_cell_name(hc, new_data); in dm_hash_rename() 932 char *new_data = (char *) param + param->data_start; in dev_rename() local 936 if (new_data < param->data || in dev_rename() [all …]
|
| /OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtwebengine/chromium/ |
| H A D | 0008-chromium-Move-CharAllocator-definition-to-a-header-f.patch | 81 - std::unique_ptr<char[], base::AlignedFreeDeleter> new_data( 84 - *position = new_data.get() + position_offset; 87 - memcpy(new_data.get(), data.get(), position_offset); 89 - memcpy(new_data.get() + position_offset + count * step, 91 - data = std::move(new_data); 357 + std::unique_ptr<char[], base::AlignedFreeDeleter> new_data( 360 + *position = new_data.get() + position_offset; 363 + memcpy(new_data.get(), data.get(), position_offset); 365 + memcpy(new_data.get() + position_offset + count * step, 367 + data = std::move(new_data);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac-ctxt.c | 1505 struct iwl_probe_resp_data *old_data, *new_data; in iwl_mvm_probe_resp_data_notif() local 1523 new_data = kzalloc(sizeof(*new_data), GFP_KERNEL); in iwl_mvm_probe_resp_data_notif() 1524 if (!new_data) in iwl_mvm_probe_resp_data_notif() 1527 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif() 1530 new_data->noa_len = sizeof(struct ieee80211_vendor_ie) + in iwl_mvm_probe_resp_data_notif() 1531 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif() 1537 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif() 1539 new_data->noa_len -= sizeof(struct ieee80211_p2p_noa_desc); in iwl_mvm_probe_resp_data_notif() 1543 rcu_assign_pointer(mvmvif->probe_resp_data, new_data); in iwl_mvm_probe_resp_data_notif()
|
| /OK3568_Linux_fs/external/xserver/randr/ |
| H A D | rrproviderproperty.c | 181 void *new_data = NULL, *old_data = NULL; in RRChangeProviderProperty() local 196 new_data = new_value.data; in RRChangeProviderProperty() 200 new_data = (void *) (((char *) new_value.data) + in RRChangeProviderProperty() 205 new_data = new_value.data; in RRChangeProviderProperty() 210 if (new_data) in RRChangeProviderProperty() 211 memcpy((char *) new_data, (char *) value, len * size_in_bytes); in RRChangeProviderProperty()
|
| H A D | rrproperty.c | 204 void *new_data = NULL, *old_data = NULL; in RRChangeOutputProperty() local 218 new_data = new_value.data; in RRChangeOutputProperty() 222 new_data = (void *) (((char *) new_value.data) + in RRChangeOutputProperty() 227 new_data = new_value.data; in RRChangeOutputProperty() 232 if (new_data) in RRChangeOutputProperty() 233 memcpy((char *) new_data, (char *) value, len * size_in_bytes); in RRChangeOutputProperty()
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | cpufreq.c | 2478 struct cpufreq_policy_data new_data; in cpufreq_set_policy() local 2482 memcpy(&new_data.cpuinfo, &policy->cpuinfo, sizeof(policy->cpuinfo)); in cpufreq_set_policy() 2483 new_data.freq_table = policy->freq_table; in cpufreq_set_policy() 2484 new_data.cpu = policy->cpu; in cpufreq_set_policy() 2489 new_data.min = freq_qos_read_value(&policy->constraints, FREQ_QOS_MIN); in cpufreq_set_policy() 2490 new_data.max = freq_qos_read_value(&policy->constraints, FREQ_QOS_MAX); in cpufreq_set_policy() 2493 new_data.cpu, new_data.min, new_data.max); in cpufreq_set_policy() 2499 ret = cpufreq_driver->verify(&new_data); in cpufreq_set_policy() 2503 policy->min = new_data.min; in cpufreq_set_policy() 2504 policy->max = new_data.max; in cpufreq_set_policy()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/spirit/home/qi/string/detail/ |
| H A D | tst.hpp | 55 clone->data = alloc->new_data(*p->data); in clone_node() 135 p->data = alloc->new_data(val); in add()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | eeprom_layout.h | 25 char *new_data);
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A D | n_r3964.c | 1130 unsigned char *new_data; in r3964_write() local 1153 new_data = kmalloc(count + sizeof(struct r3964_block_header), in r3964_write() 1155 TRACE_M("r3964_write - kmalloc %p", new_data); in r3964_write() 1156 if (new_data == NULL) { in r3964_write() 1163 pHeader = (struct r3964_block_header *)new_data; in r3964_write() 1164 pHeader->data = new_data + sizeof(struct r3964_block_header); in r3964_write()
|
| /OK3568_Linux_fs/external/xserver/Xi/ |
| H A D | xiproperty.c | 725 void *new_data = NULL, *old_data = NULL; in XIChangeDeviceProperty() local 739 new_data = new_value.data; in XIChangeDeviceProperty() 743 new_data = (void *) (((char *) new_value.data) + in XIChangeDeviceProperty() 748 new_data = new_value.data; in XIChangeDeviceProperty() 753 if (new_data) in XIChangeDeviceProperty() 754 memcpy((char *) new_data, value, len * size_in_bytes); in XIChangeDeviceProperty()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | tpm.h | 354 const unsigned char *new_data, in tpm_buf_append() argument 370 memcpy(&buf->data[len], new_data, new_len); in tpm_buf_append()
|
| H A D | libnvdimm.h | 190 const struct nvdimm_key_data *new_data,
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_common.c | 4171 u64 new_data = rd64(hw, reg) & (BIT_ULL(40) - 1); in ice_stat_update40() local 4179 *prev_stat = new_data; in ice_stat_update40() 4186 if (new_data >= *prev_stat) in ice_stat_update40() 4187 *cur_stat += new_data - *prev_stat; in ice_stat_update40() 4190 *cur_stat += (new_data + BIT_ULL(40)) - *prev_stat; in ice_stat_update40() 4193 *prev_stat = new_data; in ice_stat_update40() 4208 u32 new_data; in ice_stat_update32() local 4210 new_data = rd32(hw, reg); in ice_stat_update32() 4218 *prev_stat = new_data; in ice_stat_update32() 4225 if (new_data >= *prev_stat) in ice_stat_update32() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/spirit/home/qi/string/ |
| H A D | tst.hpp | 120 T* new_data(typename boost::call_traits<T>::param_type val) in new_data() function
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/core/ |
| H A D | fbcon.c | 2503 u8 *new_data, *data = font->data; in fbcon_set_font() local 2527 new_data = kmalloc(FONT_EXTRA_WORDS * sizeof(int) + size, GFP_USER); in fbcon_set_font() 2529 if (!new_data) 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 FNTCHARCNT(new_data) = charcount; in fbcon_set_font() 2535 REFCOUNT(new_data) = 0; /* usage counter */ in fbcon_set_font() 2537 memcpy(new_data + i*h*pitch, data + i*32*pitch, h*pitch); in fbcon_set_font() 2542 csum = crc32(0, new_data, size); in fbcon_set_font() 2544 FNTSUM(new_data) = csum; in fbcon_set_font() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/nfit/ |
| H A D | intel.c | 148 const struct nvdimm_key_data *new_data, in intel_security_change_key() argument 174 memcpy(nd_cmd.cmd.new_pass, new_data->data, in intel_security_change_key()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 1276 u8 *data, *new_data; in mtk_poll_rx() local 1318 new_data = napi_alloc_frag(ring->frag_size); in mtk_poll_rx() 1320 new_data = mtk_max_lro_buf_alloc(GFP_ATOMIC); in mtk_poll_rx() 1321 if (unlikely(!new_data)) { in mtk_poll_rx() 1326 new_data + NET_SKB_PAD + in mtk_poll_rx() 1331 skb_free_frag(new_data); in mtk_poll_rx() 1339 skb_free_frag(new_data); in mtk_poll_rx() 1363 ring->data[idx] = new_data; in mtk_poll_rx()
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/ |
| H A D | configfs.c | 1052 char *new_data; in ext_prop_data_store() local 1057 new_data = kmemdup(page, len, GFP_KERNEL); in ext_prop_data_store() 1058 if (!new_data) in ext_prop_data_store() 1064 ext_prop->data = new_data; in ext_prop_data_store()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| 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()
|