Lines Matching refs:offset
81 int r, enabled, offset = 0;
94 kpc_get_fixed_counters( &buf[offset] );
96 offset += kpc_get_counter_count(KPC_CLASS_FIXED_MASK);
101 r = kpc_get_configurable_counters( &buf[offset] );
103 offset += kpc_get_counter_count(KPC_CLASS_CONFIGURABLE_MASK);
108 return offset;
115 int enabled, count, offset = 0;
128 memcpy( &buf[offset], &FIXED_SHADOW(0), count*sizeof(uint64_t) );
130 offset += count;
137 memcpy( &buf[offset], &CONFIGURABLE_SHADOW(0), count*sizeof(uint64_t) );
139 offset += count;
144 return offset;
285 uint32_t i, count, offset = 0;
296 offset += count;
304 val[i + offset] = kpc_configurable_max() - CONFIGURABLE_RELOAD(i);
314 uint32_t count, offset = 0;
325 offset += count;
331 memcpy(&CONFIGURABLE_ACTIONID(0), &val[offset], count*sizeof(uint32_t));
341 uint32_t count, offset = 0;
350 offset += count;
356 memcpy(&val[offset], &CONFIGURABLE_ACTIONID(0), count*sizeof(uint32_t));