Searched refs:newmap (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_memory.c | 143 struct efi_mem_list *newmap; in efi_mem_carve_out() local 186 newmap = calloc(1, sizeof(*newmap)); in efi_mem_carve_out() 187 newmap->desc = map->desc; in efi_mem_carve_out() 188 newmap->desc.physical_start = carve_start; in efi_mem_carve_out() 189 newmap->desc.num_pages = (map_end - carve_start) >> EFI_PAGE_SHIFT; in efi_mem_carve_out() 191 list_add_tail(&newmap->link, &map->link); in efi_mem_carve_out()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | pio.c | 1880 struct pio_vl_map *oldmap, *newmap; in pio_map_init() local 1896 newmap = kzalloc(struct_size(newmap, map, roundup_pow_of_two(num_vls)), in pio_map_init() 1898 if (!newmap) in pio_map_init() 1900 newmap->actual_vls = num_vls; in pio_map_init() 1901 newmap->vls = roundup_pow_of_two(num_vls); in pio_map_init() 1902 newmap->mask = (1 << ilog2(newmap->vls)) - 1; in pio_map_init() 1903 for (i = 0; i < newmap->vls; i++) { in pio_map_init() 1907 if (i < newmap->actual_vls) { in pio_map_init() 1911 newmap->map[i] = kzalloc(struct_size(newmap->map[i], in pio_map_init() 1914 if (!newmap->map[i]) in pio_map_init() [all …]
|
H A D | sdma.c | 1165 struct sdma_vl_map *oldmap, *newmap; in sdma_map_init() local 1181 newmap = kzalloc( in sdma_map_init() 1186 if (!newmap) in sdma_map_init() 1188 newmap->actual_vls = num_vls; in sdma_map_init() 1189 newmap->vls = roundup_pow_of_two(num_vls); in sdma_map_init() 1190 newmap->mask = (1 << ilog2(newmap->vls)) - 1; in sdma_map_init() 1193 newmap->engine_to_vl[i] = -1; in sdma_map_init() 1194 for (i = 0; i < newmap->vls; i++) { in sdma_map_init() 1198 if (i < newmap->actual_vls) { in sdma_map_init() 1202 newmap->map[i] = kzalloc( in sdma_map_init() [all …]
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | ap_bus.c | 1135 unsigned long *newmap) in ap_parse_bitmap_str() argument 1142 memcpy(newmap, bitmap, size); in ap_parse_bitmap_str() 1143 rc = modify_bitmap(str, newmap, bits); in ap_parse_bitmap_str() 1145 memset(newmap, 0, size); in ap_parse_bitmap_str() 1146 rc = hex2bitmap(str, newmap, bits); in ap_parse_bitmap_str() 1155 unsigned long *newmap, size; in ap_parse_mask_str() local 1163 newmap = kmalloc(size, GFP_KERNEL); in ap_parse_mask_str() 1164 if (!newmap) in ap_parse_mask_str() 1167 kfree(newmap); in ap_parse_mask_str() 1170 rc = ap_parse_bitmap_str(str, bitmap, bits, newmap); in ap_parse_mask_str() [all …]
|
/openbmc/linux/fs/ceph/ |
H A D | mds_client.c | 4724 struct ceph_mdsmap *newmap, in check_new_map() argument 4733 newmap->m_epoch, oldmap->m_epoch); in check_new_map() 4735 if (newmap->m_info) { in check_new_map() 4736 for (i = 0; i < newmap->possible_max_rank; i++) { in check_new_map() 4737 for (j = 0; j < newmap->m_info[i].num_export_targets; j++) in check_new_map() 4738 set_bit(newmap->m_info[i].export_targets[j], targets); in check_new_map() 4747 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map() 4753 ceph_mdsmap_is_laggy(newmap, i) ? " (laggy)" : "", in check_new_map() 4756 if (i >= newmap->possible_max_rank) { in check_new_map() 4776 ceph_mdsmap_get_addr(newmap, i), in check_new_map() [all …]
|
/openbmc/linux/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 2473 struct MR_LD_VF_MAP *newmap = NULL, *savedmap = NULL; in megasas_get_ld_vf_affiliation_12() local 2555 newmap = new_affiliation->map; in megasas_get_ld_vf_affiliation_12() 2562 if (newmap->ref.targetId == in megasas_get_ld_vf_affiliation_12() 2565 if (newmap->policy[thisVf] != in megasas_get_ld_vf_affiliation_12() 2575 if (!found && newmap->policy[thisVf] != in megasas_get_ld_vf_affiliation_12() 2580 newmap = (struct MR_LD_VF_MAP *) in megasas_get_ld_vf_affiliation_12() 2581 ((unsigned char *)newmap + newmap->size); in megasas_get_ld_vf_affiliation_12() 2584 newmap = new_affiliation->map; in megasas_get_ld_vf_affiliation_12() 2591 newmap->ref.targetId) { in megasas_get_ld_vf_affiliation_12() 2594 newmap->policy[thisVf]) { in megasas_get_ld_vf_affiliation_12() [all …]
|
/openbmc/linux/net/ceph/ |
H A D | osd_client.c | 4030 struct ceph_osdmap *newmap; in handle_one_map() local 4039 newmap = osdmap_apply_incremental(&p, end, in handle_one_map() 4043 newmap = ceph_osdmap_decode(&p, end, ceph_msgr2(osdc->client)); in handle_one_map() 4044 if (IS_ERR(newmap)) in handle_one_map() 4045 return PTR_ERR(newmap); in handle_one_map() 4047 if (newmap != osdc->osdmap) { in handle_one_map() 4053 for (n = rb_first(&newmap->pg_pools); n; n = rb_next(n)) { in handle_one_map() 4066 osdc->osdmap->epoch + 1 < newmap->epoch) { in handle_one_map() 4072 osdc->osdmap = newmap; in handle_one_map()
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | spkguide.txt | 940 file name, perhaps newmap.map. Then exit your editor and return to the 944 Assuming that you saved your new keymap as the file newmap.map, you 947 /usr/src/linux-<version_number>/drivers/char/speakup/genmap newmap.map
|