Searched refs:rlimit (Results 1 – 8 of 8) sorted by relevance
/drivers/hwmon/pmbus/ |
D | lm25066.c | 217 u16 rlimit; /* Maximum register value */ member 385 word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); in lm25066_write_word_data() 390 word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); in lm25066_write_word_data() 397 word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); in lm25066_write_word_data() 406 word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); in lm25066_write_word_data() 414 word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); in lm25066_write_word_data() 468 data->rlimit = 0x0fff; in lm25066_probe() 473 data->rlimit = 0xffff; in lm25066_probe() 477 data->rlimit = 0x0fff; in lm25066_probe()
|
/drivers/infiniband/hw/hfi1/ |
D | user_pages.c | 74 unsigned long ulimit = rlimit(RLIMIT_MEMLOCK), pinned, cache_limit, in hfi1_can_pin_pages()
|
/drivers/infiniband/hw/qib/ |
D | qib_user_pages.c | 61 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __qib_get_user_pages()
|
/drivers/infiniband/core/ |
D | umem.c | 171 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in ib_umem_get()
|
/drivers/vfio/ |
D | vfio_iommu_spapr_tce.c | 46 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in try_increment_locked_vm() 55 rlimit(RLIMIT_MEMLOCK), in try_increment_locked_vm() 75 rlimit(RLIMIT_MEMLOCK)); in decrement_locked_vm()
|
D | vfio_iommu_type1.c | 149 limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in vfio_lock_acct() 244 unsigned long pfn = 0, limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in vfio_pin_pages()
|
/drivers/infiniband/hw/usnic/ |
D | usnic_uiom.c | 130 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in usnic_uiom_get_pages()
|
/drivers/misc/mic/scif/ |
D | scif_rma.c | 301 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __scif_check_inc_pinned_vm()
|