Lines Matching defs:map
109 * map - pointer to the map
122 gfc_map_t *map, int dtype)
132 if ((ses_path == NULL) || (dev_path == NULL) || (map == NULL)) {
136 switch (map->hba_addr.port_topology) {
138 for (i = 0, dev_addr_ptr = map->dev_addr;
139 i < map->count; i++, dev_addr_ptr++) {
144 if (i >= map->count) {
200 if (err = l_get_pid_from_path(ses_path, map, &ses_pid)) {
205 * Now we go through every entry in the map and match the
209 for (i = 0, dev_addr_ptr = map->dev_addr; i < map->count;
220 if (i >= map->count) {
510 * Arbitrated loop map or not.
516 * map - pointer to a map of the system
528 l_device_present(char *ses_path, int tid, gfc_map_t *map,
543 if ((ses_path == NULL) || (map == NULL)) {
549 switch (map->hba_addr.port_topology) {
551 for (i = 0, dev_addr_ptr = map->dev_addr; i < map->count;
562 if (i >= map->count)
591 if (err = l_get_pid_from_path(ses_path, map, &ses_pid))
594 for (i = 0, dev_addr_ptr = map->dev_addr; i < map->count;
615 if (i >= map->count)