Searched refs:contender (Results 1 – 2 of 2) sorted by relevance
198 struct flchip *contender; in get_chip() local200 contender = shared->writing; in get_chip()201 if (contender && contender != chip) { in get_chip()211 ret = mutex_trylock(&contender->mutex); in get_chip()216 ret = chip_ready(map, contender, mode); in get_chip()220 mutex_unlock(&contender->mutex); in get_chip()224 mutex_unlock(&contender->mutex); in get_chip()232 put_chip(map, contender); in get_chip()233 mutex_unlock(&contender->mutex); in get_chip()236 mutex_unlock(&contender->mutex); in get_chip()
951 struct flchip *contender; in get_chip() local953 contender = shared->writing; in get_chip()954 if (contender && contender != chip) { in get_chip()964 ret = mutex_trylock(&contender->mutex); in get_chip()969 ret = chip_ready(map, contender, contender->start, mode); in get_chip()973 mutex_unlock(&contender->mutex); in get_chip()977 mutex_unlock(&contender->mutex); in get_chip()985 put_chip(map, contender, contender->start); in get_chip()986 mutex_unlock(&contender->mutex); in get_chip()989 mutex_unlock(&contender->mutex); in get_chip()