Searched refs:contender (Results 1 – 2 of 2) sorted by relevance
225 struct flchip *contender; in get_chip() local227 contender = shared->writing; in get_chip()228 if (contender && contender != chip) { in get_chip()238 ret = mutex_trylock(&contender->mutex); in get_chip()243 ret = chip_ready(map, contender, mode); in get_chip()247 mutex_unlock(&contender->mutex); in get_chip()251 mutex_unlock(&contender->mutex); in get_chip()259 put_chip(map, contender); in get_chip()260 mutex_unlock(&contender->mutex); in get_chip()263 mutex_unlock(&contender->mutex); in get_chip()
971 struct flchip *contender; in get_chip() local973 contender = shared->writing; in get_chip()974 if (contender && contender != chip) { in get_chip()984 ret = mutex_trylock(&contender->mutex); in get_chip()989 ret = chip_ready(map, contender, contender->start, mode); in get_chip()993 mutex_unlock(&contender->mutex); in get_chip()997 mutex_unlock(&contender->mutex); in get_chip()1005 put_chip(map, contender, contender->start); in get_chip()1006 mutex_unlock(&contender->mutex); in get_chip()1009 mutex_unlock(&contender->mutex); in get_chip()