Home
last modified time | relevance | path

Searched refs:length (Results 1 – 13 of 13) sorted by relevance

/kernel/cgroup/
Dcgroup-v1.c187 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/
Dring_buffer.c163 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 …]
Dtrace.c130 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/
Dgdbstub.c372 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/
Ddirect.c248 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()
Dvirt.c47 sg_dma_len(sg) = sg->length; in dma_virt_map_sg()
DKconfig182 appropriate segment length/boundary limits for the given device when
Ddebug.c1220 if (sg->length > max_seg) in check_sg_segment()
1222 sg->length, max_seg); in check_sg_segment()
/kernel/
Dsysctl_binary.c970 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()
Drelay.c98 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()
Dkprobes.c874 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/
Dlockdep_proc.c368 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/
Dirqdomain.c168 .length = ACPI_ALLOCATE_BUFFER, in __irq_domain_add()