Searched refs:newmap (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | pio.c | 1922 struct pio_vl_map *oldmap, *newmap; in pio_map_init() local 1938 newmap = kzalloc(sizeof(*newmap) + in pio_map_init() 1942 if (!newmap) in pio_map_init() 1944 newmap->actual_vls = num_vls; in pio_map_init() 1945 newmap->vls = roundup_pow_of_two(num_vls); in pio_map_init() 1946 newmap->mask = (1 << ilog2(newmap->vls)) - 1; in pio_map_init() 1947 for (i = 0; i < newmap->vls; i++) { in pio_map_init() 1951 if (i < newmap->actual_vls) { in pio_map_init() 1955 newmap->map[i] = kzalloc(sizeof(*newmap->map[i]) + in pio_map_init() 1959 if (!newmap->map[i]) in pio_map_init() [all …]
|
D | sdma.c | 1207 struct sdma_vl_map *oldmap, *newmap; in sdma_map_init() local 1223 newmap = kzalloc( in sdma_map_init() 1228 if (!newmap) in sdma_map_init() 1230 newmap->actual_vls = num_vls; in sdma_map_init() 1231 newmap->vls = roundup_pow_of_two(num_vls); in sdma_map_init() 1232 newmap->mask = (1 << ilog2(newmap->vls)) - 1; in sdma_map_init() 1235 newmap->engine_to_vl[i] = -1; in sdma_map_init() 1236 for (i = 0; i < newmap->vls; i++) { in sdma_map_init() 1240 if (i < newmap->actual_vls) { in sdma_map_init() 1244 newmap->map[i] = kzalloc( in sdma_map_init() [all …]
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
D | ap_bus.c | 899 unsigned long *newmap, size; in ap_parse_mask_str() local 907 newmap = kmalloc(size, GFP_KERNEL); in ap_parse_mask_str() 908 if (!newmap) in ap_parse_mask_str() 911 kfree(newmap); in ap_parse_mask_str() 916 memcpy(newmap, bitmap, size); in ap_parse_mask_str() 917 rc = modify_bitmap(str, newmap, bits); in ap_parse_mask_str() 919 memset(newmap, 0, size); in ap_parse_mask_str() 920 rc = hex2bitmap(str, newmap, bits); in ap_parse_mask_str() 923 memcpy(bitmap, newmap, size); in ap_parse_mask_str() 925 kfree(newmap); in ap_parse_mask_str()
|
/kernel/linux/linux-5.10/fs/ceph/ |
D | mds_client.c | 4144 struct ceph_mdsmap *newmap, in check_new_map() argument 4152 newmap->m_epoch, oldmap->m_epoch); in check_new_map() 4159 newstate = ceph_mdsmap_get_state(newmap, i); in check_new_map() 4165 ceph_mdsmap_is_laggy(newmap, i) ? " (laggy)" : "", in check_new_map() 4168 if (i >= newmap->possible_max_rank) { in check_new_map() 4188 ceph_mdsmap_get_addr(newmap, i), in check_new_map() 4229 for (i = 0; i < newmap->possible_max_rank && i < mdsc->max_sessions; i++) { in check_new_map() 4233 if (!ceph_mdsmap_is_laggy(newmap, i)) in check_new_map() 5018 struct ceph_mdsmap *newmap, *oldmap; in ceph_mdsc_handle_mdsmap() local 5039 newmap = ceph_mdsmap_decode(&p, end); in ceph_mdsc_handle_mdsmap() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/megaraid/ |
D | megaraid_sas_base.c | 2463 struct MR_LD_VF_MAP *newmap = NULL, *savedmap = NULL; in megasas_get_ld_vf_affiliation_12() local 2545 newmap = new_affiliation->map; in megasas_get_ld_vf_affiliation_12() 2552 if (newmap->ref.targetId == in megasas_get_ld_vf_affiliation_12() 2555 if (newmap->policy[thisVf] != in megasas_get_ld_vf_affiliation_12() 2565 if (!found && newmap->policy[thisVf] != in megasas_get_ld_vf_affiliation_12() 2570 newmap = (struct MR_LD_VF_MAP *) in megasas_get_ld_vf_affiliation_12() 2571 ((unsigned char *)newmap + newmap->size); in megasas_get_ld_vf_affiliation_12() 2574 newmap = new_affiliation->map; in megasas_get_ld_vf_affiliation_12() 2581 newmap->ref.targetId) { in megasas_get_ld_vf_affiliation_12() 2584 newmap->policy[thisVf]) { in megasas_get_ld_vf_affiliation_12() [all …]
|
/kernel/linux/linux-5.10/net/ceph/ |
D | osd_client.c | 3933 struct ceph_osdmap *newmap; in handle_one_map() local 3942 newmap = osdmap_apply_incremental(&p, end, osdc->osdmap); in handle_one_map() 3944 newmap = ceph_osdmap_decode(&p, end); in handle_one_map() 3945 if (IS_ERR(newmap)) in handle_one_map() 3946 return PTR_ERR(newmap); in handle_one_map() 3948 if (newmap != osdc->osdmap) { in handle_one_map() 3954 for (n = rb_first(&newmap->pg_pools); n; n = rb_next(n)) { in handle_one_map() 3967 osdc->osdmap->epoch + 1 < newmap->epoch) { in handle_one_map() 3973 osdc->osdmap = newmap; in handle_one_map()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | spkguide.txt | 939 file name, perhaps newmap.map. Then exit your editor and return to the 943 Assuming that you saved your new keymap as the file newmap.map, you 946 /usr/src/linux-<version_number>/drivers/char/speakup/genmap newmap.map
|