Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
A Dpio.c1881 struct pio_vl_map *oldmap, *newmap; in pio_map_init() local
1897 newmap = kzalloc(sizeof(*newmap) + in pio_map_init()
1901 if (!newmap) in pio_map_init()
1903 newmap->actual_vls = num_vls; in pio_map_init()
1905 newmap->mask = (1 << ilog2(newmap->vls)) - 1; in pio_map_init()
1910 if (i < newmap->actual_vls) { in pio_map_init()
1914 newmap->map[i] = kzalloc(sizeof(*newmap->map[i]) + in pio_map_init()
1918 if (!newmap->map[i]) in pio_map_init()
1927 newmap->map[i]->ksc[j] = in pio_map_init()
1938 newmap->map[i] = newmap->map[i % num_vls]; in pio_map_init()
[all …]
A Dsdma.c1181 newmap = kzalloc( in sdma_map_init()
1186 if (!newmap) in sdma_map_init()
1188 newmap->actual_vls = 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()
1198 if (i < newmap->actual_vls) { in sdma_map_init()
1202 newmap->map[i] = kzalloc( in sdma_map_init()
1206 if (!newmap->map[i]) in sdma_map_init()
1211 newmap->map[i]->sde[j] = in sdma_map_init()
1222 newmap->map[i] = newmap->map[i % num_vls]; in sdma_map_init()
[all …]
/linux/drivers/s390/crypto/
A Dap_bus.c1074 unsigned long *newmap, size; in ap_parse_mask_str() local
1082 newmap = kmalloc(size, GFP_KERNEL); in ap_parse_mask_str()
1083 if (!newmap) in ap_parse_mask_str()
1086 kfree(newmap); in ap_parse_mask_str()
1091 memcpy(newmap, bitmap, size); in ap_parse_mask_str()
1092 rc = modify_bitmap(str, newmap, bits); in ap_parse_mask_str()
1094 memset(newmap, 0, size); in ap_parse_mask_str()
1095 rc = hex2bitmap(str, newmap, bits); in ap_parse_mask_str()
1098 memcpy(bitmap, newmap, size); in ap_parse_mask_str()
1100 kfree(newmap); in ap_parse_mask_str()
/linux/fs/ceph/
A Dmds_client.c4097 struct ceph_mdsmap *newmap, in check_new_map() argument
4106 newmap->m_epoch, oldmap->m_epoch); in check_new_map()
4108 if (newmap->m_info) { in check_new_map()
4129 if (i >= newmap->possible_max_rank) { in check_new_map()
4149 ceph_mdsmap_get_addr(newmap, i), in check_new_map()
4240 if (!ceph_mdsmap_is_laggy(newmap, i)) in check_new_map()
5003 struct ceph_mdsmap *newmap, *oldmap; in ceph_mdsc_handle_mdsmap() local
5025 if (IS_ERR(newmap)) { in ceph_mdsc_handle_mdsmap()
5026 err = PTR_ERR(newmap); in ceph_mdsc_handle_mdsmap()
5033 mdsc->mdsmap = newmap; in ceph_mdsc_handle_mdsmap()
[all …]
/linux/drivers/scsi/megaraid/
A Dmegaraid_sas_base.c2548 newmap = new_affiliation->map; in megasas_get_ld_vf_affiliation_12()
2555 if (newmap->ref.targetId == in megasas_get_ld_vf_affiliation_12()
2558 if (newmap->policy[thisVf] != in megasas_get_ld_vf_affiliation_12()
2573 newmap = (struct MR_LD_VF_MAP *) in megasas_get_ld_vf_affiliation_12()
2574 ((unsigned char *)newmap + newmap->size); in megasas_get_ld_vf_affiliation_12()
2577 newmap = new_affiliation->map; in megasas_get_ld_vf_affiliation_12()
2584 newmap->ref.targetId) { in megasas_get_ld_vf_affiliation_12()
2587 newmap->policy[thisVf]) { in megasas_get_ld_vf_affiliation_12()
2592 newmap = (struct MR_LD_VF_MAP *) in megasas_get_ld_vf_affiliation_12()
2593 ((unsigned char *)newmap + in megasas_get_ld_vf_affiliation_12()
[all …]
/linux/net/ceph/
A Dosd_client.c3912 struct ceph_osdmap *newmap; in handle_one_map() local
3921 newmap = osdmap_apply_incremental(&p, end, in handle_one_map()
3925 newmap = ceph_osdmap_decode(&p, end, ceph_msgr2(osdc->client)); in handle_one_map()
3926 if (IS_ERR(newmap)) in handle_one_map()
3927 return PTR_ERR(newmap); in handle_one_map()
3929 if (newmap != osdc->osdmap) { in handle_one_map()
3935 for (n = rb_first(&newmap->pg_pools); n; n = rb_next(n)) { in handle_one_map()
3948 osdc->osdmap->epoch + 1 < newmap->epoch) { in handle_one_map()
3954 osdc->osdmap = newmap; in handle_one_map()
/linux/Documentation/admin-guide/
A 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

Completed in 666 milliseconds