Lines Matching refs:store
52 * It relies on a "store" layer (implemented in the lower part of this file)
59 * at a time. The MIDI layer uses store-managed 2- or 8-bit slots for the
61 * set the value. (Because the store is allowed to pack things, it may 'find'
66 * The 14-bit values are handled similarly: 16-bit store slots are used to hold
92 * by store_locate on this store. That works because reentrancy of midictl
113 * to store. The saving grace is that only a handful are likely to appear in
115 * interesting to a typical client. So the store implementation needs to be
193 mc->store = s;
203 s = mc->store;
220 KASSERT(!mc->store->destroy);
308 present = store_locate(mc->store, c, chan, key);
312 val = store_extract(mc->store, c, chan, key);
316 store_update(mc->store, c, chan, key,
321 present = store_locate(mc->store, c, chan, key);
325 val = store_extract(mc->store, c, chan, key);
329 store_update(mc->store, c, chan, key,
348 KASSERT(!mc->store->destroy);
354 present = store_locate(mc->store, c, chan, key);
356 !(C1_SET&(val = store_extract(mc->store, c, chan, key))) ) {
358 store_update(mc->store, c, chan, key, val);
362 present = store_locate(mc->store, c, chan, key);
364 !(C7_SET&(val = store_extract(mc->store, c, chan, key))) ) {
366 store_update(mc->store, c, chan, key, val);
385 KASSERT(!mc->store->destroy);
396 KASSERT(!mc->store->destroy);
431 continue; /* doesn't go to the store */
437 present = store_locate(mc->store, c, chan, key);
440 store_update(mc->store, c, chan, key, 0); /* no C*SET */
455 present = store_locate(mc->store, c, chan, key);
456 stval = (present) ? store_extract(mc->store, c, chan, key) : 0;
465 store_update(mc->store, c, chan, key, stval);
480 present = store_locate(mc->store, c, chan, key);
484 val = store_extract(mc->store, c, chan, key);
498 store_update(mc->store, c, chan, key, val);