Lines Matching refs:gfp_mask
570 static int alloc_mad(struct ib_sa_query *query, gfp_t gfp_mask)
586 gfp_mask);
619 static int send_mad(struct ib_sa_query *query, int timeout_ms, gfp_t gfp_mask)
621 bool preload = !!(gfp_mask & __GFP_WAIT);
626 idr_preload(gfp_mask);
701 * @gfp_mask:GFP mask to use for internal allocations
722 int timeout_ms, gfp_t gfp_mask,
742 query = kmalloc(sizeof *query, gfp_mask);
747 ret = alloc_mad(&query->sa_query, gfp_mask);
769 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask);
817 * @gfp_mask:GFP mask to use for internal allocations
839 int timeout_ms, gfp_t gfp_mask,
864 query = kmalloc(sizeof *query, gfp_mask);
869 ret = alloc_mad(&query->sa_query, gfp_mask);
892 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask);
936 int timeout_ms, gfp_t gfp_mask,
956 query = kmalloc(sizeof *query, gfp_mask);
961 ret = alloc_mad(&query->sa_query, gfp_mask);
984 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask);
1027 int timeout_ms, gfp_t gfp_mask,
1053 query = kmalloc(sizeof *query, gfp_mask);
1058 ret = alloc_mad(&query->sa_query, gfp_mask);
1082 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask);