Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kthread_create_on_node(9) [centos man page]

KTHREAD_CREATE_ON_NO(9) 					   Driver Basics					   KTHREAD_CREATE_ON_NO(9)

NAME
kthread_create_on_node - create a kthread. SYNOPSIS
struct task_struct * kthread_create_on_node(int (*threadfn) (void *data), void * data, int node, const char namefmt[], ...); ARGUMENTS
threadfn the function to run until signal_pending(current). data data ptr for threadfn. node memory node number. namefmt[] printf-style name for the thread. ... variable arguments DESCRIPTION
This helper function creates and names a kernel thread. The thread will be stopped: use wake_up_process to start it. See also kthread_run. If thread is going to be bound on a particular cpu, give its node in node, to get NUMA affinity for kthread stack, or else give -1. When woken, the thread will run threadfn() with data as its argument. threadfn() can either call do_exit directly if it is a standalone thread for which no one will call kthread_stop, or return when 'kthread_should_stop' is true (which means kthread_stop has been called). The return value should be zero or a negative error number; it will be passed to kthread_stop. Returns a task_struct or ERR_PTR(-ENOMEM). COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 KTHREAD_CREATE_ON_NO(9)

Check Out this Related Man Page

hdf_get_valuef(3)						  util/neo_hdf.h						 hdf_get_valuef(3)

NAME
hdf_get_valuef - Return the value of a node in the data set SYNOPSIS
#include <util/neo_hdf.h> char* hdf_get_valuef (HDF *hdf, const char *namefmt, ...) ATTRIBUTE_PRINTF(2,3); ARGUMENTS
hdf -> the dataset node to start from namefmt -> the printf-style format string ... -> arguments to fill out namefmt DESCRIPTION
hdf_get_valuef walks the data set pointed to by hdf via namefmt printf expanded with varargs, and returns the string value located there, or NULL if it doesn't exist. This differs from hdf_get_value in that there is no default value possible. RETURN VALUE
None SEE ALSO
hdf_set_symlink(3), hdf_get_valuef(3), compareFunc)(3), hdf_dump_str(3), hdf_get_int_value(3), hdf_read_string_ignore(3), hdf_copy(3), hdf_get_node(3), hdf_set_value(3), hdf_obj_child(3), hdf_read_string(3), hdf_set_buf(3), hdf_register_fileload(3), hdf_get_obj(3), hdf_get_attr(3), hdf_obj_top(3), hdf_dump_format(3), hdf_destroy(3), hdf_init(3), hdf_obj_value(3), hdf_write_string(3), hdf_set_val- uevf(3), hdf_sort_obj(3), hdf_write_file_atomic(3), hdf_obj_attr(3), hdf_set_valuef(3), hdf_get_copy(3), hdf_write_file(3), hdf_get_val- uevf(3), hdf_set_int_value(3), hdf_dump(3), hdf_get_value(3), hdf_set_copy(3), hdf_obj_next(3), hdf_search_path(3), hdf_obj_name(3), hdf_set_attr(3), hdf_get_child(3), hdf_remove_tree ClearSilver 12 July 2007 hdf_get_valuef(3)
Man Page