IB/hfi1: Add parameter names to function declarations
Parameter names to function declarations make it more clear what those parameters do. Reviewed-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
fc87879ae2
commit
ac335e7e80
@ -1700,9 +1700,11 @@ void shutdown_led_override(struct hfi1_pportdata *ppd);
|
|||||||
*/
|
*/
|
||||||
#define DEFAULT_RCVHDR_ENTSIZE 32
|
#define DEFAULT_RCVHDR_ENTSIZE 32
|
||||||
|
|
||||||
bool hfi1_can_pin_pages(struct hfi1_devdata *, u32, u32);
|
bool hfi1_can_pin_pages(struct hfi1_devdata *dd, u32 nlocked, u32 npages);
|
||||||
int hfi1_acquire_user_pages(unsigned long, size_t, bool, struct page **);
|
int hfi1_acquire_user_pages(unsigned long vaddr, size_t npages, bool writable,
|
||||||
void hfi1_release_user_pages(struct mm_struct *, struct page **, size_t, bool);
|
struct page **pages);
|
||||||
|
void hfi1_release_user_pages(struct mm_struct *mm, struct page **p,
|
||||||
|
size_t npages, bool dirty);
|
||||||
|
|
||||||
static inline void clear_rcvhdrtail(const struct hfi1_ctxtdata *rcd)
|
static inline void clear_rcvhdrtail(const struct hfi1_ctxtdata *rcd)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user