Home
last modified time | relevance | path

Searched refs:nh (Results 1 – 5 of 5) sorted by relevance

/xen-4.10.0-shim-comet/xen/common/
A Dnotifier.c22 struct notifier_head *nh, struct notifier_block *n) in notifier_chain_register() argument
24 struct list_head *chain = &nh->head.chain; in notifier_chain_register()
27 while ( chain->next != &nh->head.chain ) in notifier_chain_register()
47 struct notifier_head *nh, struct notifier_block *n) in notifier_chain_unregister() argument
69 struct notifier_head *nh, unsigned long val, void *v, in notifier_call_chain() argument
77 cursor = &(pcursor && *pcursor ? *pcursor : &nh->head)->chain; in notifier_call_chain()
82 if ( cursor == &nh->head.chain ) in notifier_call_chain()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dnotifier.h41 struct notifier_head *nh, struct notifier_block *nb);
43 struct notifier_head *nh, struct notifier_block *nb);
46 struct notifier_head *nh, unsigned long val, void *v,
/xen-4.10.0-shim-comet/xen/common/libfdt/
A Dfdt_sw.c138 struct fdt_node_header *nh; in fdt_begin_node() local
143 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node()
144 if (! nh) in fdt_begin_node()
147 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node()
148 memcpy(nh->name, name, namelen); in fdt_begin_node()
A Dfdt_rw.c335 struct fdt_node_header *nh; in fdt_add_subnode_namelen() local
357 nh = _fdt_offset_ptr_w(fdt, offset); in fdt_add_subnode_namelen()
358 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen()
360 err = _fdt_splice_struct(fdt, nh, 0, nodelen); in fdt_add_subnode_namelen()
364 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen()
365 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
366 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
367 endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE); in fdt_add_subnode_namelen()
A Dfdt_ro.c201 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); in fdt_get_name() local
209 *len = strlen(nh->name); in fdt_get_name()
211 return nh->name; in fdt_get_name()

Completed in 7 milliseconds