Lines Matching defs:read
66 atomic_t read;
108 /* read the indexes first, then deal with the data */
119 atomic_set(&map->read, 0);
142 atomic_set(&map->read, 0);
151 atomic_inc(&map->read);
157 atomic_set(&map->read, 0);
181 /* read the indexes before dealing with the data */
244 if (atomic_read(&map->read) > 0 &&
296 atomic_inc(&map->read);
311 atomic_inc(&map->read);
343 /* first read the order, then map the data ring */
533 * We only need to check the value of "cmd" on read. It could be
569 atomic_inc(&map->read);