Searched refs:data_size (Results 1 – 9 of 9) sorted by relevance
/kernel/bpf/ |
D | lpm_trie.c | 37 size_t data_size; member 180 if (trie->data_size >= 8) { in longest_prefix_match() 193 while (trie->data_size >= i + 4) { in longest_prefix_match() 205 if (trie->data_size >= i + 2) { in longest_prefix_match() 217 if (trie->data_size >= i + 1) { in longest_prefix_match() 279 return found->data + trie->data_size; in trie_lookup_elem() 286 size_t size = sizeof(struct lpm_trie_node) + trie->data_size; in lpm_trie_node_alloc() 299 memcpy(node->data + trie->data_size, value, in lpm_trie_node_alloc() 344 memcpy(new_node->data, key->data, trie->data_size); in trie_update_elem() 408 memcpy(im_node->data, node->data, trie->data_size); in trie_update_elem() [all …]
|
D | btf.c | 235 u32 data_size; member 4786 if (end != btf->data + btf->data_size) { in btf_parse_str_sec() 4880 btf_data_size = btf->data_size; in btf_parse_hdr() 5030 btf->data_size = btf_data_size; in btf_parse() 5212 btf->data_size = __stop_BTF - __start_BTF; in BTF_ID() 5259 …tic struct btf *btf_parse_module(const char *module_name, const void *data, unsigned int data_size) in btf_parse_module() argument 5292 btf->data = kvmalloc(data_size, GFP_KERNEL | __GFP_NOWARN); in btf_parse_module() 5297 memcpy(btf->data, data, data_size); in btf_parse_module() 5298 btf->data_size = data_size; in btf_parse_module() 6988 btf_copy = min_t(u32, btf->data_size, info.btf_size); in btf_get_info_by_fd() [all …]
|
/kernel/printk/ |
D | printk_ringbuffer.c | 1207 unsigned int *data_size) in get_data() argument 1214 *data_size = 0; in get_data() 1224 *data_size = blk_lpos->next - blk_lpos->begin; in get_data() 1230 *data_size = DATA_INDEX(data_ring, blk_lpos->next); in get_data() 1245 if (WARN_ON_ONCE(*data_size < sizeof(db->id))) in get_data() 1249 *data_size -= sizeof(db->id); in get_data() 1355 unsigned int data_size; in prb_reserve_in_last() local 1403 if (!get_data(&rb->text_data_ring, &d->text_blk_lpos, &data_size)) in prb_reserve_in_last() 1411 if (WARN_ON_ONCE(info->text_len > data_size)) { in prb_reserve_in_last() 1413 info->text_len, data_size); in prb_reserve_in_last() [all …]
|
/kernel/module/ |
D | decompress.c | 209 ssize_t data_size; in module_decompress() local 219 data_size = MODULE_DECOMPRESS_FN(info, buf, size); in module_decompress() 220 if (data_size < 0) { in module_decompress() 221 error = data_size; in module_decompress() 231 info->len = data_size; in module_decompress()
|
/kernel/trace/ |
D | trace_events_synth.c | 449 unsigned int data_size, in trace_string() argument 461 data_offset += data_size; in trace_string() 493 unsigned int data_size, in trace_stack() argument 501 data_offset += data_size; in trace_stack() 531 unsigned int i, n_u64, val_idx, len, data_size = 0; in trace_event_raw_event_synth() local 577 data_size, &n_u64); in trace_event_raw_event_synth() 578 data_size += len; /* only dynamic string increments */ in trace_event_raw_event_synth() 583 data_size, &n_u64); in trace_event_raw_event_synth() 584 data_size += len; in trace_event_raw_event_synth() 1731 unsigned int i, n_u64, len, data_size = 0; in synth_event_trace() local [all …]
|
/kernel/events/ |
D | ring_buffer.c | 139 unsigned long data_size, unsigned int size, in ring_buffer_has_space() argument 143 return CIRC_SPACE(head, tail, data_size) >= size; in ring_buffer_has_space() 145 return CIRC_SPACE(tail, head, data_size) >= size; in ring_buffer_has_space()
|
D | core.c | 5906 userpg->data_size = perf_data_size(rb); in perf_event_init_userpage()
|
/kernel/ |
D | kprobes.c | 2218 if (rp->data_size > KRETPROBE_MAX_DATA_SIZE) in register_kretprobe() 2235 rp->data_size, GFP_KERNEL); in register_kretprobe() 2259 rp->data_size, GFP_KERNEL); in register_kretprobe()
|
D | sys.c | 1984 static int prctl_set_mm_map(int opt, const void __user *addr, unsigned long data_size) in prctl_set_mm_map() argument 1998 if (data_size != sizeof(prctl_map)) in prctl_set_mm_map()
|