Searched refs:fpin (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/mm/ |
H A D | filemap.c | 3126 * @fpin - the pointer to the file we may pin (or is already pinned). 3131 * to drop the mmap_lock then fpin will point to the pinned file and 3135 struct file **fpin) in lock_folio_maybe_drop_mmap() argument 3148 *fpin = maybe_unlock_mmap_for_io(vmf, *fpin); in lock_folio_maybe_drop_mmap() 3155 * mmap_lock here and return 0 if we don't have a fpin. in lock_folio_maybe_drop_mmap() 3157 if (*fpin == NULL) in lock_folio_maybe_drop_mmap() 3180 struct file *fpin = NULL; in do_sync_mmap_readahead() local 3187 fpin = maybe_unlock_mmap_for_io(vmf, fpin); in do_sync_mmap_readahead() 3249 struct file *fpin = NULL; do_async_mmap_readahead() local 3294 struct file *fpin = NULL; filemap_fault() local [all...] |
H A D | internal.h | 764 struct file *fpin) in maybe_unlock_mmap_for_io() argument 768 if (fpin) in maybe_unlock_mmap_for_io() 769 return fpin; in maybe_unlock_mmap_for_io() 778 fpin = get_file(vmf->vma->vm_file); in maybe_unlock_mmap_for_io() 781 return fpin; in maybe_unlock_mmap_for_io()
|
H A D | shmem.c | 2216 struct file *fpin; in shmem_fault() local 2221 fpin = maybe_unlock_mmap_for_io(vmf, NULL); in shmem_fault() 2222 if (fpin) in shmem_fault() 2242 if (fpin) in shmem_fault() 2243 fput(fpin); in shmem_fault()
|
H A D | memory.c | 3005 struct file *fpin; in fault_dirty_shared_page() local 3007 fpin = maybe_unlock_mmap_for_io(vmf, NULL); in fault_dirty_shared_page() 3009 if (fpin) { in fault_dirty_shared_page() 3010 fput(fpin); in fault_dirty_shared_page()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_transport_fc.c | 906 struct fc_els_fpin *fpin = (struct fc_els_fpin *)fpin_buf; in fc_host_fpin_rcv() local 914 tlv = (struct fc_tlv_desc *)&fpin->fpin_desc[0]; in fc_host_fpin_rcv() 916 bytes_remain = min_t(u32, bytes_remain, be32_to_cpu(fpin->desc_len)); in fc_host_fpin_rcv()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_els.c | 10223 struct fc_els_fpin *fpin = (struct fc_els_fpin *)p; in lpfc_els_rcv_fpin() local 10241 len = be32_to_cpu(fpin->desc_len); in lpfc_els_rcv_fpin() 10249 tlv = (struct fc_tlv_desc *)&fpin->fpin_desc[0]; in lpfc_els_rcv_fpin() 10252 bytes_remain = min_t(u32, bytes_remain, be32_to_cpu(fpin->desc_len)); in lpfc_els_rcv_fpin() 10315 fpin->desc_len = cpu_to_be32(fpin_length); in lpfc_els_rcv_fpin() 10321 fpin_length, (char *)fpin, 0); in lpfc_els_rcv_fpin()
|