H A D | rpc_pipe.c | 878 * @pdh: pointer to struct rpc_pipe_dir_head 880 void rpc_init_pipe_dir_head(struct rpc_pipe_dir_head *pdh) rpc_init_pipe_dir_head() argument 882 INIT_LIST_HEAD(&pdh->pdh_entries); rpc_init_pipe_dir_head() 883 pdh->pdh_dentry = NULL; rpc_init_pipe_dir_head() 905 struct rpc_pipe_dir_head *pdh, rpc_add_pipe_dir_object_locked() 910 if (pdh->pdh_dentry) rpc_add_pipe_dir_object_locked() 911 ret = pdo->pdo_ops->create(pdh->pdh_dentry, pdo); rpc_add_pipe_dir_object_locked() 913 list_add_tail(&pdo->pdo_head, &pdh->pdh_entries); rpc_add_pipe_dir_object_locked() 919 struct rpc_pipe_dir_head *pdh, rpc_remove_pipe_dir_object_locked() 922 if (pdh->pdh_dentry) rpc_remove_pipe_dir_object_locked() 923 pdo->pdo_ops->destroy(pdh->pdh_dentry, pdo); rpc_remove_pipe_dir_object_locked() 930 * @pdh: pointer to struct rpc_pipe_dir_head 936 struct rpc_pipe_dir_head *pdh, rpc_add_pipe_dir_object() 945 ret = rpc_add_pipe_dir_object_locked(net, pdh, pdo); rpc_add_pipe_dir_object() 955 * @pdh: pointer to struct rpc_pipe_dir_head 961 struct rpc_pipe_dir_head *pdh, rpc_remove_pipe_dir_object() 968 rpc_remove_pipe_dir_object_locked(net, pdh, pdo); rpc_remove_pipe_dir_object() 977 * @pdh: pointer to struct rpc_pipe_dir_head 985 struct rpc_pipe_dir_head *pdh, rpc_find_or_alloc_pipe_dir_object() 994 list_for_each_entry(pdo, &pdh->pdh_entries, pdo_head) { rpc_find_or_alloc_pipe_dir_object() 1002 rpc_add_pipe_dir_object_locked(net, pdh, pdo); rpc_find_or_alloc_pipe_dir_object() 1010 rpc_create_pipe_dir_objects(struct rpc_pipe_dir_head *pdh) rpc_create_pipe_dir_objects() argument 1013 struct dentry *dir = pdh->pdh_dentry; rpc_create_pipe_dir_objects() 1015 list_for_each_entry(pdo, &pdh->pdh_entries, pdo_head) rpc_create_pipe_dir_objects() 1020 rpc_destroy_pipe_dir_objects(struct rpc_pipe_dir_head *pdh) rpc_destroy_pipe_dir_objects() argument 1023 struct dentry *dir = pdh->pdh_dentry; rpc_destroy_pipe_dir_objects() 1025 list_for_each_entry(pdo, &pdh->pdh_entries, pdo_head) rpc_destroy_pipe_dir_objects() 904 rpc_add_pipe_dir_object_locked(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo) rpc_add_pipe_dir_object_locked() argument 918 rpc_remove_pipe_dir_object_locked(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo) rpc_remove_pipe_dir_object_locked() argument 935 rpc_add_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo) rpc_add_pipe_dir_object() argument 960 rpc_remove_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, struct rpc_pipe_dir_object *pdo) rpc_remove_pipe_dir_object() argument 984 rpc_find_or_alloc_pipe_dir_object(struct net *net, struct rpc_pipe_dir_head *pdh, int (*match)(struct rpc_pipe_dir_object *, void *), struct rpc_pipe_dir_object *(*alloc)(void *), void *data) rpc_find_or_alloc_pipe_dir_object() argument
|