Home
last modified time | relevance | path

Searched refs:ptr (Results 1 – 15 of 15) sorted by relevance

/kernel/
Dkgdb.c446 int kgdb_hex2long(char **ptr, unsigned long *long_val) in kgdb_hex2long() argument
454 if (**ptr == '-') { in kgdb_hex2long()
456 (*ptr)++; in kgdb_hex2long()
458 while (**ptr) { in kgdb_hex2long()
459 hex_val = hex(**ptr); in kgdb_hex2long()
465 (*ptr)++; in kgdb_hex2long()
477 char *ptr = &remcom_in_buffer[1]; in write_mem_msg() local
482 if (kgdb_hex2long(&ptr, &addr) > 0 && *(ptr++) == ',' && in write_mem_msg()
483 kgdb_hex2long(&ptr, &length) > 0 && *(ptr++) == ':') { in write_mem_msg()
485 err = kgdb_ebin2mem(ptr, (char *)addr, length); in write_mem_msg()
[all …]
Dlockdep_internals.h90 # define debug_atomic_inc(ptr) atomic_inc(ptr) argument
91 # define debug_atomic_dec(ptr) atomic_dec(ptr) argument
92 # define debug_atomic_read(ptr) atomic_read(ptr) argument
94 # define debug_atomic_inc(ptr) do { } while (0) argument
95 # define debug_atomic_dec(ptr) do { } while (0) argument
96 # define debug_atomic_read(ptr) 0 argument
Dasync.c174 static async_cookie_t __async_schedule(async_func_ptr *ptr, void *data, struct list_head *running) in __async_schedule() argument
195 ptr(data, newcookie); in __async_schedule()
198 entry->func = ptr; in __async_schedule()
219 async_cookie_t async_schedule(async_func_ptr *ptr, void *data) in async_schedule() argument
221 return __async_schedule(ptr, data, &async_running); in async_schedule()
237 async_cookie_t async_schedule_domain(async_func_ptr *ptr, void *data, in async_schedule_domain() argument
240 return __async_schedule(ptr, data, running); in async_schedule_domain()
Dkexec.c613 #define for_each_kimage_entry(image, ptr, entry) \ argument
614 for (ptr = &image->head; (entry = *ptr) && !(entry & IND_DONE); \
615 ptr = (entry & IND_INDIRECTION)? \
616 phys_to_virt((entry & PAGE_MASK)): ptr +1)
628 kimage_entry_t *ptr, entry; in kimage_free() local
635 for_each_kimage_entry(image, ptr, entry) { in kimage_free()
663 kimage_entry_t *ptr, entry; in kimage_dst_used() local
666 for_each_kimage_entry(image, ptr, entry) { in kimage_dst_used()
671 return ptr; in kimage_dst_used()
800 char *ptr; in kimage_load_normal_segment() local
[all …]
Dextable.c78 int func_ptr_is_kernel_text(void *ptr) in func_ptr_is_kernel_text() argument
81 addr = (unsigned long) dereference_function_descriptor(ptr); in func_ptr_is_kernel_text()
Daudit.c1317 unsigned char *ptr; in audit_log_n_hex() local
1336 ptr = skb_tail_pointer(skb); in audit_log_n_hex()
1338 *ptr++ = hex[(buf[i] & 0xF0)>>4]; /* Upper nibble */ in audit_log_n_hex()
1339 *ptr++ = hex[buf[i] & 0x0F]; /* Lower nibble */ in audit_log_n_hex()
1341 *ptr = 0; in audit_log_n_hex()
1353 unsigned char *ptr; in audit_log_n_string() local
1368 ptr = skb_tail_pointer(skb); in audit_log_n_string()
1369 *ptr++ = '"'; in audit_log_n_string()
1370 memcpy(ptr, string, slen); in audit_log_n_string()
1371 ptr += slen; in audit_log_n_string()
[all …]
Dmodule.c411 void *ptr; in percpu_modalloc() local
419 ptr = __per_cpu_start; in percpu_modalloc()
420 for (i = 0; i < pcpu_num_used; ptr += block_size(pcpu_size[i]), i++) { in percpu_modalloc()
422 extra = ALIGN((unsigned long)ptr, align) - (unsigned long)ptr; in percpu_modalloc()
434 ptr += extra; in percpu_modalloc()
443 return ptr; in percpu_modalloc()
454 void *ptr = __per_cpu_start + block_size(pcpu_size[0]); in percpu_modfree() local
457 for (i = 1; i < pcpu_num_used; ptr += block_size(pcpu_size[i]), i++) { in percpu_modfree()
458 if (ptr == freeme) { in percpu_modfree()
1877 void *percpu = NULL, *ptr = NULL; /* Stops spurious gcc warning */ in load_module() local
[all …]
Dlockdep.c433 # define debug_atomic_inc(ptr) atomic_inc(ptr) argument
434 # define debug_atomic_dec(ptr) atomic_dec(ptr) argument
435 # define debug_atomic_read(ptr) atomic_read(ptr) argument
437 # define debug_atomic_inc(ptr) do { } while (0) argument
438 # define debug_atomic_dec(ptr) do { } while (0) argument
439 # define debug_atomic_read(ptr) 0 argument
Dfutex.c132 (sizeof(key->both.word)+sizeof(key->both.ptr))/4, in hash_futex()
143 && key1->both.ptr == key2->both.ptr in match_futex()
154 if (!key->both.ptr) in get_futex_key_refs()
173 if (!key->both.ptr) { in drop_futex_key_refs()
Dsched.c8359 unsigned long alloc_size = 0, ptr; in sched_init() local
8375 ptr = (unsigned long)alloc_bootmem(alloc_size); in sched_init()
8378 init_task_group.se = (struct sched_entity **)ptr; in sched_init()
8379 ptr += nr_cpu_ids * sizeof(void **); in sched_init()
8381 init_task_group.cfs_rq = (struct cfs_rq **)ptr; in sched_init()
8382 ptr += nr_cpu_ids * sizeof(void **); in sched_init()
8385 root_task_group.se = (struct sched_entity **)ptr; in sched_init()
8386 ptr += nr_cpu_ids * sizeof(void **); in sched_init()
8388 root_task_group.cfs_rq = (struct cfs_rq **)ptr; in sched_init()
8389 ptr += nr_cpu_ids * sizeof(void **); in sched_init()
[all …]
Dsoftlockup.c48 softlock_panic(struct notifier_block *this, unsigned long event, void *ptr) in softlock_panic() argument
/kernel/trace/
Dtrace_stack.c142 unsigned long *ptr = filp->private_data; in stack_max_size_read() local
146 r = snprintf(buf, sizeof(buf), "%ld\n", *ptr); in stack_max_size_read()
156 long *ptr = filp->private_data; in stack_max_size_write() local
175 *ptr = val; in stack_max_size_write()
Dftrace.c1086 char *ptr; in ftrace_match() local
1106 ptr = strstr(str, search); in ftrace_match()
1107 if (ptr && (ptr[search_len] == 0)) in ftrace_match()
1375 unsigned long *ptr = v; in g_show() local
1378 if (!ptr) in g_show()
1381 kallsyms_lookup(*ptr, NULL, NULL, NULL, str); in g_show()
Dtrace.c3060 unsigned long *ptr = filp->private_data; local
3065 *ptr == (unsigned long)-1 ? -1 : nsecs_to_usecs(*ptr));
3075 long *ptr = filp->private_data; local
3092 *ptr = val * 1000;
/kernel/irq/
Dhandle.c87 char *ptr; in init_kstat_irqs() local
94 ptr = kzalloc_node(bytes, GFP_ATOMIC, node); in init_kstat_irqs()
97 if (ptr) in init_kstat_irqs()
98 desc->kstat_irqs = (unsigned int *)ptr; in init_kstat_irqs()