Lines Matching refs:pdh
864 void rpc_init_pipe_dir_head(struct rpc_pipe_dir_head *pdh) in rpc_init_pipe_dir_head() argument
866 INIT_LIST_HEAD(&pdh->pdh_entries); in rpc_init_pipe_dir_head()
867 pdh->pdh_dentry = NULL; in rpc_init_pipe_dir_head()
889 struct rpc_pipe_dir_head *pdh, in rpc_add_pipe_dir_object_locked() argument
894 if (pdh->pdh_dentry) in rpc_add_pipe_dir_object_locked()
895 ret = pdo->pdo_ops->create(pdh->pdh_dentry, pdo); in rpc_add_pipe_dir_object_locked()
897 list_add_tail(&pdo->pdo_head, &pdh->pdh_entries); in rpc_add_pipe_dir_object_locked()
903 struct rpc_pipe_dir_head *pdh, in rpc_remove_pipe_dir_object_locked() argument
906 if (pdh->pdh_dentry) in rpc_remove_pipe_dir_object_locked()
907 pdo->pdo_ops->destroy(pdh->pdh_dentry, pdo); in rpc_remove_pipe_dir_object_locked()
920 struct rpc_pipe_dir_head *pdh, in rpc_add_pipe_dir_object() argument
929 ret = rpc_add_pipe_dir_object_locked(net, pdh, pdo); in rpc_add_pipe_dir_object()
945 struct rpc_pipe_dir_head *pdh, in rpc_remove_pipe_dir_object() argument
952 rpc_remove_pipe_dir_object_locked(net, pdh, pdo); in rpc_remove_pipe_dir_object()
969 struct rpc_pipe_dir_head *pdh, in rpc_find_or_alloc_pipe_dir_object() argument
978 list_for_each_entry(pdo, &pdh->pdh_entries, pdo_head) { in rpc_find_or_alloc_pipe_dir_object()
986 rpc_add_pipe_dir_object_locked(net, pdh, pdo); in rpc_find_or_alloc_pipe_dir_object()
994 rpc_create_pipe_dir_objects(struct rpc_pipe_dir_head *pdh) in rpc_create_pipe_dir_objects() argument
997 struct dentry *dir = pdh->pdh_dentry; in rpc_create_pipe_dir_objects()
999 list_for_each_entry(pdo, &pdh->pdh_entries, pdo_head) in rpc_create_pipe_dir_objects()
1004 rpc_destroy_pipe_dir_objects(struct rpc_pipe_dir_head *pdh) in rpc_destroy_pipe_dir_objects() argument
1007 struct dentry *dir = pdh->pdh_dentry; in rpc_destroy_pipe_dir_objects()
1009 list_for_each_entry(pdo, &pdh->pdh_entries, pdo_head) in rpc_destroy_pipe_dir_objects()