Searched refs:sg_offset_p (Results 1 – 3 of 3) sorted by relevance
2731 unsigned int *sg_offset_p, int (*set_page)(struct ib_mr *, u64)) in ib_sg_to_pages() argument2735 unsigned int sg_offset = sg_offset_p ? *sg_offset_p : 0; in ib_sg_to_pages()2776 if (sg_offset_p) in ib_sg_to_pages()2777 *sg_offset_p = sg_offset; in ib_sg_to_pages()2792 if (sg_offset_p) in ib_sg_to_pages()2793 *sg_offset_p = 0; in ib_sg_to_pages()
1423 unsigned int *sg_offset_p) in srp_map_finish_fr() argument1442 unsigned int sg_offset = sg_offset_p ? *sg_offset_p : 0; in srp_map_finish_fr()1447 if (sg_offset_p) in srp_map_finish_fr()1448 *sg_offset_p = 0; in srp_map_finish_fr()1459 n = ib_map_mr_sg(desc->mr, state->sg, sg_nents, sg_offset_p, in srp_map_finish_fr()1465 sg_offset_p ? *sg_offset_p : -1, n); in srp_map_finish_fr()
2361 unsigned int *sg_offset_p, in mlx5_ib_sg_to_klms() argument2368 unsigned int sg_offset = sg_offset_p ? *sg_offset_p : 0; in mlx5_ib_sg_to_klms()2386 if (sg_offset_p) in mlx5_ib_sg_to_klms()2387 *sg_offset_p = sg_offset; in mlx5_ib_sg_to_klms()