linux/include/linux/rhashtable.h
/**
 * rhltable_insert_key - insert object into hash list table
 * @hlt:	hash list table
 * @key:	the pointer to the key
 * @list:	pointer to hash list head inside object
 * @params:	hash table parameters
 *
 * Will take a per bucket spinlock to protect against mutual mutations
 * on the same bucket. Multiple insertions may occur in parallel unless
 * they map to the same bucket lock.
 *
 * It is safe to call this function from atomic context.
 *
 * Will trigger an automatic deferred table resizing if residency in the
 * table grows beyond 70%.
 */
insert object into hash list table
@hlt:        hash list table
@key:        the pointer to the key
@list:       pointer to hash list head inside object
@params:     hash table parameters

Will take a per bucket spinlock to protect against mutual mutations
on the same bucket. Multiple insertions may occur in parallel unless
they map to the same bucket lock.

It is safe to call this function from atomic context.

Will trigger an automatic deferred table resizing if residency in the
table grows beyond 70%.
insert object into hash list table @hlt : hash list table @key : the pointer to the key @list : pointer to hash list head inside object @params : hash table parameters Will take a per bucket spinlock to protect against mutual mutations on the same bucket . Multiple insertions may occur in parallel unless they map to the same bucket lock . It is safe to call this function from atomic context . Will trigger an automatic deferred table resizing if residency in the table grows beyond 70% .
static inline int rhltable_insert_key(
	struct rhltable *hlt, const void *key, struct rhlist_head *list,
	const struct rhashtable_params params)
{
	return PTR_ERR(__rhashtable_insert_fast(&hlt->ht, key, &list->rhead,
						params, true));
}
static inline int rhltable_insert_key ( struct rhltable * hlt , const void * key , struct rhlist_head * list , const struct rhashtable_params params ) { return PTR_ERR ( __rhashtable_insert_fast ( & hlt -> ht , key , & list -> rhead , params , true ) ) ; }
rhltable_insert_key - insert object into hash list table
 @hlt:        hash list table
 @key:        the pointer to the key
 @list:       pointer to hash list head inside object
 @params:     hash table parameters
rhltable_insert_key - insert object into hash list table @hlt : hash list table @key : the pointer to the key @list : pointer to hash list head inside object @params : hash table parameters