1/* 2 * Copyright (c) 2004 Topspin Communications. All rights reserved. 3 * Copyright (c) 2005 Voltaire, Inc. All rights reserved. 4 * Copyright (c) 2006 Intel Corporation. All rights reserved. 5 * 6 * This software is available to you under a choice of one of two 7 * licenses. You may choose to be licensed under the terms of the GNU 8 * General Public License (GPL) Version 2, available from the file --- 34 unchanged lines hidden (view full) --- 43} 44 45static inline void ib_sa_client_put(struct ib_sa_client *client) 46{ 47 if (atomic_dec_and_test(&client->users)) 48 complete(&client->comp); 49} 50 |
51int ib_sa_mcmember_rec_query(struct ib_sa_client *client, 52 struct ib_device *device, u8 port_num, 53 u8 method, 54 struct ib_sa_mcmember_rec *rec, 55 ib_sa_comp_mask comp_mask, 56 int timeout_ms, gfp_t gfp_mask, 57 void (*callback)(int status, 58 struct ib_sa_mcmember_rec *resp, 59 void *context), 60 void *context, 61 struct ib_sa_query **sa_query); 62 63int mcast_init(void); 64void mcast_cleanup(void); 65 |
66#endif /* SA_H */ |