Searched refs:length (Results 1 – 11 of 11) sorted by relevance
/kernel/trace/ |
D | ring_buffer.c | 172 unsigned length; in rb_event_data_length() local 175 length = event->type_len * RB_ALIGNMENT; in rb_event_data_length() 177 length = event->array[0]; in rb_event_data_length() 178 return length + RB_EVNT_HDR_SIZE; in rb_event_data_length() 240 unsigned length; in ring_buffer_event_length() local 245 length = rb_event_length(event); in ring_buffer_event_length() 247 return length; in ring_buffer_event_length() 248 length -= RB_EVNT_HDR_SIZE; in ring_buffer_event_length() 249 if (length > RB_MAX_SMALL_DATA + sizeof(event->array[0])) in ring_buffer_event_length() 250 length -= sizeof(event->array[0]); in ring_buffer_event_length() [all …]
|
D | trace.c | 146 unsigned long length; member 5685 return ptr + ptr->head.length + 1; in trace_eval_jmp_to_tail() 5726 map_array->head.length = len; in trace_insert_eval_map_file()
|
/kernel/cgroup/ |
D | cgroup-v1.c | 185 int length; member 239 static int pidlist_uniq(pid_t *list, int length) in pidlist_uniq() argument 247 if (length == 0 || length == 1) in pidlist_uniq() 248 return length; in pidlist_uniq() 250 for (src = 1; src < length; src++) { in pidlist_uniq() 254 if (src == length) in pidlist_uniq() 332 int length; in pidlist_array_load() local 346 length = cgroup_task_count(cgrp); in pidlist_array_load() 347 array = kvmalloc_array(length, sizeof(pid_t), GFP_KERNEL); in pidlist_array_load() 353 if (unlikely(n == length)) in pidlist_array_load() [all …]
|
/kernel/debug/ |
D | gdbstub.c | 372 unsigned long length; in write_mem_msg() local 376 kgdb_hex2long(&ptr, &length) > 0 && *(ptr++) == ':') { in write_mem_msg() 378 err = kgdb_ebin2mem(ptr, (char *)addr, length); in write_mem_msg() 380 err = kgdb_hex2mem(ptr, (char *)addr, length); in write_mem_msg() 384 flush_icache_range(addr, addr + length); in write_mem_msg() 561 unsigned long length; in gdb_cmd_memread() local 566 kgdb_hex2long(&ptr, &length) > 0) { in gdb_cmd_memread() 567 err = kgdb_mem2hex((char *)addr, remcom_out_buffer, length); in gdb_cmd_memread() 872 unsigned long length; in gdb_cmd_break() local 902 !kgdb_hex2long(&ptr, &length)) { in gdb_cmd_break() [all …]
|
/kernel/dma/ |
D | direct.c | 345 swiotlb_tbl_sync_single(dev, paddr, sg->length, in dma_direct_sync_sg_for_device() 349 arch_sync_dma_for_device(paddr, sg->length, in dma_direct_sync_sg_for_device() 368 arch_sync_dma_for_cpu(paddr, sg->length, dir); in dma_direct_sync_sg_for_cpu() 371 swiotlb_tbl_sync_single(dev, paddr, sg->length, dir, in dma_direct_sync_sg_for_cpu() 375 arch_dma_mark_clean(paddr, sg->length); in dma_direct_sync_sg_for_cpu() 402 sg->offset, sg->length, dir, attrs); in dma_direct_map_sg() 405 sg_dma_len(sg) = sg->length; in dma_direct_map_sg()
|
D | virt.c | 47 sg_dma_len(sg) = sg->length; in dma_virt_map_sg()
|
D | debug.c | 1183 if (sg->length > max_seg) in check_sg_segment() 1185 sg->length, max_seg); in check_sg_segment() 1317 check_for_illegal_area(dev, sg_virt(s), s->length); in debug_dma_map_sg()
|
D | Kconfig | 218 appropriate segment length/boundary limits for the given device when
|
/kernel/ |
D | relay.c | 98 unsigned long length = vma->vm_end - vma->vm_start; in relay_mmap_buf() local 104 if (length != (unsigned long)buf->chan->alloc_size) in relay_mmap_buf() 747 size_t relay_switch_subbuf(struct rchan_buf *buf, size_t length) in relay_switch_subbuf() argument 752 if (unlikely(length > buf->chan->subbuf_size)) in relay_switch_subbuf() 790 if (unlikely(length + buf->offset > buf->chan->subbuf_size)) in relay_switch_subbuf() 793 return length; in relay_switch_subbuf() 796 buf->chan->last_toobig = length; in relay_switch_subbuf()
|
D | kprobes.c | 930 void *buffer, size_t *length, in proc_kprobes_optimization_handler() argument 937 ret = proc_dointvec_minmax(table, write, buffer, length, ppos); in proc_kprobes_optimization_handler()
|
/kernel/locking/ |
D | lockdep_proc.c | 418 static void seq_line(struct seq_file *m, char c, int offset, int length) in seq_line() argument 424 for (i = 0; i < length; i++) in seq_line()
|