Home
last modified time | relevance | path

Searched refs:newmap (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dpio.c1880 struct pio_vl_map *oldmap, *newmap; in pio_map_init() local
1896 newmap = kzalloc(sizeof(*newmap) + in pio_map_init()
1900 if (!newmap) in pio_map_init()
1902 newmap->actual_vls = num_vls; in pio_map_init()
1903 newmap->vls = roundup_pow_of_two(num_vls); in pio_map_init()
1904 newmap->mask = (1 << ilog2(newmap->vls)) - 1; in pio_map_init()
1905 for (i = 0; i < newmap->vls; i++) { in pio_map_init()
1909 if (i < newmap->actual_vls) { in pio_map_init()
1913 newmap->map[i] = kzalloc(sizeof(*newmap->map[i]) + in pio_map_init()
1917 if (!newmap->map[i]) in pio_map_init()
[all …]
Dsdma.c1165 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.1.9/drivers/s390/crypto/
Dap_bus.c1121 unsigned long *newmap) in ap_parse_bitmap_str() argument
1128 memcpy(newmap, bitmap, size); in ap_parse_bitmap_str()
1129 rc = modify_bitmap(str, newmap, bits); in ap_parse_bitmap_str()
1131 memset(newmap, 0, size); in ap_parse_bitmap_str()
1132 rc = hex2bitmap(str, newmap, bits); in ap_parse_bitmap_str()
1141 unsigned long *newmap, size; in ap_parse_mask_str() local
1149 newmap = kmalloc(size, GFP_KERNEL); in ap_parse_mask_str()
1150 if (!newmap) in ap_parse_mask_str()
1153 kfree(newmap); in ap_parse_mask_str()
1156 rc = ap_parse_bitmap_str(str, bitmap, bits, newmap); in ap_parse_mask_str()
[all …]
/linux-6.1.9/fs/ceph/
Dmds_client.c4308 struct ceph_mdsmap *newmap, in check_new_map() argument
4317 newmap->m_epoch, oldmap->m_epoch); in check_new_map()
4319 if (newmap->m_info) { in check_new_map()
4320 for (i = 0; i < newmap->possible_max_rank; i++) { in check_new_map()
4321 for (j = 0; j < newmap->m_info[i].num_export_targets; j++) in check_new_map()
4322 set_bit(newmap->m_info[i].export_targets[j], targets); in check_new_map()
4331 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map()
4337 ceph_mdsmap_is_laggy(newmap, i) ? " (laggy)" : "", in check_new_map()
4340 if (i >= newmap->possible_max_rank) { in check_new_map()
4360 ceph_mdsmap_get_addr(newmap, i), in check_new_map()
[all …]
/linux-6.1.9/drivers/scsi/megaraid/
Dmegaraid_sas_base.c2473 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.1.9/net/ceph/
Dosd_client.c3937 struct ceph_osdmap *newmap; in handle_one_map() local
3946 newmap = osdmap_apply_incremental(&p, end, in handle_one_map()
3950 newmap = ceph_osdmap_decode(&p, end, ceph_msgr2(osdc->client)); in handle_one_map()
3951 if (IS_ERR(newmap)) in handle_one_map()
3952 return PTR_ERR(newmap); in handle_one_map()
3954 if (newmap != osdc->osdmap) { in handle_one_map()
3960 for (n = rb_first(&newmap->pg_pools); n; n = rb_next(n)) { in handle_one_map()
3973 osdc->osdmap->epoch + 1 < newmap->epoch) { in handle_one_map()
3979 osdc->osdmap = newmap; in handle_one_map()
/linux-6.1.9/Documentation/admin-guide/
Dspkguide.txt940 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