Lines Matching refs:index
83 * Return: true if there is non-zero bit with index @start <= i < @end,
153 static bool ethnl_bitmap32_test_bit(const u32 *map, unsigned int index)
155 return map[index / 32] & (1U << (index % 32));
196 /* index */
352 * ethnl_name_to_idx() - look up string index for a name
357 * Return: index of the string if found, -ENOENT if not found
377 static int ethnl_parse_bit(unsigned int *index, bool *val, unsigned int nbits,
397 "bit index too high");
405 "bit index and name mismatch");
419 "neither bit index nor name specified");
423 *index = idx;