• Home
  • Raw
  • Download

Lines Matching refs:ea_key

29 	ea_key_t	ea_key;  member
115 ea_key_t ea_key, int pos) in insert_refcount_el() argument
145 el->ea_key = ea_key; in insert_refcount_el()
157 ea_key_t ea_key, int create) in get_refcount_el() argument
167 (ea_key > refcount->list[high].ea_key))) { in get_refcount_el()
171 return insert_refcount_el(refcount, ea_key, in get_refcount_el()
179 if (ea_key == refcount->list[refcount->cursor].ea_key) in get_refcount_el()
182 printf("Non-cursor get_refcount_el: %u\n", ea_key); in get_refcount_el()
186 if (ea_key == refcount->list[mid].ea_key) { in get_refcount_el()
190 if (ea_key < refcount->list[mid].ea_key) in get_refcount_el()
205 return insert_refcount_el(refcount, ea_key, low); in get_refcount_el()
210 errcode_t ea_refcount_fetch(ext2_refcount_t refcount, ea_key_t ea_key, in ea_refcount_fetch() argument
215 el = get_refcount_el(refcount, ea_key, 0); in ea_refcount_fetch()
224 errcode_t ea_refcount_increment(ext2_refcount_t refcount, ea_key_t ea_key, in ea_refcount_increment() argument
229 el = get_refcount_el(refcount, ea_key, 1); in ea_refcount_increment()
239 errcode_t ea_refcount_decrement(ext2_refcount_t refcount, ea_key_t ea_key, in ea_refcount_decrement() argument
244 el = get_refcount_el(refcount, ea_key, 0); in ea_refcount_decrement()
255 errcode_t ea_refcount_store(ext2_refcount_t refcount, ea_key_t ea_key, in ea_refcount_store() argument
263 el = get_refcount_el(refcount, ea_key, ea_value ? 1 : 0); in ea_refcount_store()
295 return list[refcount->cursor++].ea_key; in ea_refcount_intr_next()
315 if (refcount->list[i-1].ea_key >= refcount->list[i].ea_key) { in ea_refcount_validate()
318 bad, i-1, refcount->list[i-1].ea_key, i, in ea_refcount_validate()
319 refcount->list[i].ea_key); in ea_refcount_validate()
377 ea_key_t ea_key; in main() local
402 ea_key = (size_t) bcode_program[i++]; in main()
404 printf("Storing ea_key %llu with value %llu\n", ea_key, in main()
406 retval = ea_refcount_store(refcount, ea_key, arg); in main()
409 "while storing ea_key %llu", ea_key); in main()
412 ea_key = (size_t) bcode_program[i++]; in main()
413 retval = ea_refcount_fetch(refcount, ea_key, &arg); in main()
416 "while fetching ea_key %llu", ea_key); in main()
419 ea_key, arg); in main()
422 ea_key = (size_t) bcode_program[i++]; in main()
423 retval = ea_refcount_increment(refcount, ea_key, &arg); in main()
427 ea_key); in main()
430 ea_key, arg); in main()
433 ea_key = (size_t) bcode_program[i++]; in main()
434 retval = ea_refcount_decrement(refcount, ea_key, &arg); in main()
438 ea_key); in main()
441 ea_key, arg); in main()
454 ea_key = ea_refcount_intr_next(refcount, &arg); in main()
455 if (!ea_key) in main()
457 printf("\tea_key=%llu, count=%llu\n", ea_key, in main()