Home
last modified time | relevance | path

Searched refs:rlimit (Results 1 – 8 of 8) sorted by relevance

/drivers/hwmon/pmbus/
Dlm25066.c217 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/
Duser_pages.c74 unsigned long ulimit = rlimit(RLIMIT_MEMLOCK), pinned, cache_limit, in hfi1_can_pin_pages()
/drivers/infiniband/hw/qib/
Dqib_user_pages.c61 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __qib_get_user_pages()
/drivers/infiniband/core/
Dumem.c171 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in ib_umem_get()
/drivers/vfio/
Dvfio_iommu_spapr_tce.c46 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()
Dvfio_iommu_type1.c149 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/
Dusnic_uiom.c130 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in usnic_uiom_get_pages()
/drivers/misc/mic/scif/
Dscif_rma.c301 lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in __scif_check_inc_pinned_vm()