Home
last modified time | relevance | path

Searched refs:new_entry (Results 1 – 8 of 8) sorted by relevance

/drivers/firmware/efi/
Defivars.c330 struct efivar_entry *new_entry; in efivar_create() local
342 new_entry = kzalloc(sizeof(*new_entry), GFP_KERNEL); in efivar_create()
343 if (!new_entry) in efivar_create()
346 memcpy(&new_entry->var, new_var, sizeof(*new_var)); in efivar_create()
348 err = efivar_entry_set(new_entry, new_var->Attributes, new_var->DataSize, in efivar_create()
356 if (efivar_create_sysfs_entry(new_entry)) { in efivar_create()
358 kfree(new_entry); in efivar_create()
363 kfree(new_entry); in efivar_create()
/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c162 struct mlx4_steer_index *new_entry; in new_steering_entry() local
169 new_entry = kzalloc(sizeof *new_entry, GFP_KERNEL); in new_steering_entry()
170 if (!new_entry) in new_steering_entry()
173 INIT_LIST_HEAD(&new_entry->duplicates); in new_steering_entry()
174 new_entry->index = index; in new_steering_entry()
175 list_add_tail(&new_entry->list, &s_steer->steer_entries[steer]); in new_steering_entry()
188 list_add_tail(&dqp->list, &new_entry->duplicates); in new_steering_entry()
237 list_del(&new_entry->list); in new_steering_entry()
238 kfree(new_entry); in new_steering_entry()
924 u8 new_entry = 0; in mlx4_qp_attach_common() local
[all …]
/drivers/pci/pcie/
Dportdrv_core.c54 struct msix_entry *entries, int new_entry, int nr_entries) in pcie_port_msix_add_entry() argument
59 if (entries[j].entry == new_entry) in pcie_port_msix_add_entry()
62 entries[j].entry = new_entry; in pcie_port_msix_add_entry()
/drivers/scsi/
Dnsp32.c1726 int new_entry; in nsp32_adjust_busfree() local
1742 for (new_entry = old_entry; new_entry < sg_num; new_entry++) { in nsp32_adjust_busfree()
1743 sentlen += (le32_to_cpu(sgt[new_entry].len) & ~SGTEND); in nsp32_adjust_busfree()
1750 if (new_entry == sg_num) { in nsp32_adjust_busfree()
1764 len = le32_to_cpu(sgt[new_entry].len); in nsp32_adjust_busfree()
1765 addr = le32_to_cpu(sgt[new_entry].addr); in nsp32_adjust_busfree()
1767 sgt[new_entry].addr = cpu_to_le32(addr); in nsp32_adjust_busfree()
1768 sgt[new_entry].len = cpu_to_le32(restlen); in nsp32_adjust_busfree()
1771 data->cur_entry = new_entry; in nsp32_adjust_busfree()
Dhpsa.c761 int entry, struct hpsa_scsi_dev_t *new_entry) in hpsa_scsi_update_entry() argument
767 h->dev[entry]->raid_level = new_entry->raid_level; in hpsa_scsi_update_entry()
769 scsi_device_type(new_entry->devtype), hostno, new_entry->bus, in hpsa_scsi_update_entry()
770 new_entry->target, new_entry->lun); in hpsa_scsi_update_entry()
775 int entry, struct hpsa_scsi_dev_t *new_entry, in hpsa_scsi_replace_entry() argument
788 if (new_entry->target == -1) { in hpsa_scsi_replace_entry()
789 new_entry->target = h->dev[entry]->target; in hpsa_scsi_replace_entry()
790 new_entry->lun = h->dev[entry]->lun; in hpsa_scsi_replace_entry()
793 h->dev[entry] = new_entry; in hpsa_scsi_replace_entry()
794 added[*nadded] = new_entry; in hpsa_scsi_replace_entry()
[all …]
Dpmcraid.c1588 u32 new_entry = 1; in pmcraid_handle_config_change() local
1654 new_entry = 0; in pmcraid_handle_config_change()
1659 if (new_entry) { in pmcraid_handle_config_change()
/drivers/net/wireless/hostap/
Dhostap_hw.c2975 struct set_tim_data *new_entry; in prism2_set_tim() local
2982 new_entry = kzalloc(sizeof(*new_entry), GFP_ATOMIC); in prism2_set_tim()
2983 if (new_entry == NULL) in prism2_set_tim()
2986 new_entry->aid = aid; in prism2_set_tim()
2987 new_entry->set = set; in prism2_set_tim()
2998 kfree(new_entry); in prism2_set_tim()
2999 new_entry = NULL; in prism2_set_tim()
3003 if (new_entry) in prism2_set_tim()
3004 list_add_tail(&new_entry->list, &local->set_tim_list); in prism2_set_tim()
/drivers/s390/net/
Dqeth_core_main.c5206 struct qeth_dbf_entry *new_entry; in qeth_add_dbf_entry() local
5215 new_entry = kzalloc(sizeof(struct qeth_dbf_entry), GFP_KERNEL); in qeth_add_dbf_entry()
5216 if (!new_entry) in qeth_add_dbf_entry()
5218 strncpy(new_entry->dbf_name, name, DBF_NAME_LEN); in qeth_add_dbf_entry()
5219 new_entry->dbf_info = card->debug; in qeth_add_dbf_entry()
5221 list_add(&new_entry->dbf_list, &qeth_dbf_list); in qeth_add_dbf_entry()