Lines Matching defs:read
65 atomic_t read;
107 /* read the indexes first, then deal with the data */
118 atomic_set(&map->read, 0);
141 atomic_set(&map->read, 0);
150 atomic_inc(&map->read);
156 atomic_set(&map->read, 0);
178 /* read the indexes before dealing with the data */
242 if (atomic_read(&map->read) > 0 &&
294 atomic_inc(&map->read);
307 atomic_inc(&map->read);
339 /* first read the order, then map the data ring */
530 * We only need to check the value of "cmd" on read. It could be
566 atomic_inc(&map->read);