/kernel/cgroup/ |
D | cgroup-v1.c | 187 int length; member 241 static int pidlist_uniq(pid_t *list, int length) in pidlist_uniq() argument 249 if (length == 0 || length == 1) in pidlist_uniq() 250 return length; in pidlist_uniq() 252 for (src = 1; src < length; src++) { in pidlist_uniq() 256 if (src == length) in pidlist_uniq() 334 int length; in pidlist_array_load() local 348 length = cgroup_task_count(cgrp); in pidlist_array_load() 349 array = kvmalloc_array(length, sizeof(pid_t), GFP_KERNEL); in pidlist_array_load() 355 if (unlikely(n == length)) in pidlist_array_load() [all …]
|
/kernel/trace/ |
D | ring_buffer.c | 163 unsigned length; in rb_event_data_length() local 166 length = event->type_len * RB_ALIGNMENT; in rb_event_data_length() 168 length = event->array[0]; in rb_event_data_length() 169 return length + RB_EVNT_HDR_SIZE; in rb_event_data_length() 231 unsigned length; in ring_buffer_event_length() local 236 length = rb_event_length(event); in ring_buffer_event_length() 238 return length; in ring_buffer_event_length() 239 length -= RB_EVNT_HDR_SIZE; in ring_buffer_event_length() 240 if (length > RB_MAX_SMALL_DATA + sizeof(event->array[0])) in ring_buffer_event_length() 241 length -= sizeof(event->array[0]); in ring_buffer_event_length() [all …]
|
D | trace.c | 130 unsigned long length; member 5351 return ptr + ptr->head.length + 1; in trace_eval_jmp_to_tail() 5392 map_array->head.length = len; in trace_insert_eval_map_file()
|
/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() 859 unsigned long length; in gdb_cmd_break() local 889 !kgdb_hex2long(&ptr, &length)) { in gdb_cmd_break() [all …]
|
/kernel/dma/ |
D | direct.c | 248 swiotlb_tbl_sync_single(dev, paddr, sg->length, in dma_direct_sync_sg_for_device() 252 arch_sync_dma_for_device(dev, paddr, sg->length, in dma_direct_sync_sg_for_device() 287 arch_sync_dma_for_cpu(dev, paddr, sg->length, dir); in dma_direct_sync_sg_for_cpu() 290 swiotlb_tbl_sync_single(dev, paddr, sg->length, dir, in dma_direct_sync_sg_for_cpu() 359 sg->offset, sg->length, dir, attrs); in dma_direct_map_sg() 362 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 | Kconfig | 182 appropriate segment length/boundary limits for the given device when
|
D | debug.c | 1220 if (sg->length > max_seg) in check_sg_segment() 1222 sg->length, max_seg); in check_sg_segment()
|
/kernel/ |
D | sysctl_binary.c | 970 size_t length = oldlen / sizeof(*vec); in bin_intvec() local 982 for (i = 0; i < length; i++) { in bin_intvec() 1001 size_t length = newlen / sizeof(*vec); in bin_intvec() local 1008 for (i = 0; i < length; i++) { in bin_intvec() 1043 size_t length = oldlen / sizeof(*vec); in bin_ulongvec() local 1055 for (i = 0; i < length; i++) { in bin_ulongvec() 1074 size_t length = newlen / sizeof(*vec); in bin_ulongvec() local 1081 for (i = 0; i < length; i++) { in bin_ulongvec()
|
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() 741 size_t relay_switch_subbuf(struct rchan_buf *buf, size_t length) in relay_switch_subbuf() argument 746 if (unlikely(length > buf->chan->subbuf_size)) in relay_switch_subbuf() 784 if (unlikely(length + buf->offset > buf->chan->subbuf_size)) in relay_switch_subbuf() 787 return length; in relay_switch_subbuf() 790 buf->chan->last_toobig = length; in relay_switch_subbuf()
|
D | kprobes.c | 874 void __user *buffer, size_t *length, in proc_kprobes_optimization_handler() argument 881 ret = proc_dointvec_minmax(table, write, buffer, length, ppos); in proc_kprobes_optimization_handler()
|
/kernel/locking/ |
D | lockdep_proc.c | 368 static void seq_line(struct seq_file *m, char c, int offset, int length) in seq_line() argument 374 for (i = 0; i < length; i++) in seq_line()
|
/kernel/irq/ |
D | irqdomain.c | 168 .length = ACPI_ALLOCATE_BUFFER, in __irq_domain_add()
|