Searched refs:newmap (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
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 …]
|
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 …]
|
/linux-6.6.21/drivers/s390/crypto/ |
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 …]
|
/linux-6.6.21/fs/ceph/ |
D | mds_client.c | 4720 struct ceph_mdsmap *newmap, in check_new_map() argument 4729 newmap->m_epoch, oldmap->m_epoch); in check_new_map() 4731 if (newmap->m_info) { in check_new_map() 4732 for (i = 0; i < newmap->possible_max_rank; i++) { in check_new_map() 4733 for (j = 0; j < newmap->m_info[i].num_export_targets; j++) in check_new_map() 4734 set_bit(newmap->m_info[i].export_targets[j], targets); in check_new_map() 4743 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map() 4749 ceph_mdsmap_is_laggy(newmap, i) ? " (laggy)" : "", in check_new_map() 4752 if (i >= newmap->possible_max_rank) { in check_new_map() 4772 ceph_mdsmap_get_addr(newmap, i), in check_new_map() [all …]
|
/linux-6.6.21/drivers/scsi/megaraid/ |
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 …]
|
/linux-6.6.21/net/ceph/ |
D | osd_client.c | 4028 struct ceph_osdmap *newmap; in handle_one_map() local 4037 newmap = osdmap_apply_incremental(&p, end, in handle_one_map() 4041 newmap = ceph_osdmap_decode(&p, end, ceph_msgr2(osdc->client)); in handle_one_map() 4042 if (IS_ERR(newmap)) in handle_one_map() 4043 return PTR_ERR(newmap); in handle_one_map() 4045 if (newmap != osdc->osdmap) { in handle_one_map() 4051 for (n = rb_first(&newmap->pg_pools); n; n = rb_next(n)) { in handle_one_map() 4064 osdc->osdmap->epoch + 1 < newmap->epoch) { in handle_one_map() 4070 osdc->osdmap = newmap; in handle_one_map()
|
/linux-6.6.21/Documentation/admin-guide/ |
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
|