Home
last modified time | relevance | path

Searched refs:uf (Results 1 – 21 of 21) sorted by relevance

/linux/arch/powerpc/kernel/
H A Drtas_flash.c210 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_release() local
214 if (uf->flist) { in rtas_flash_release()
222 if (uf->status != FLASH_AUTH) in rtas_flash_release()
223 uf->status = flash_list_valid(uf->flist); in rtas_flash_release()
225 if (uf->status == FLASH_IMG_READY) in rtas_flash_release()
226 rtas_firmware_flash_list = uf->flist; in rtas_flash_release()
228 free_flash_list(uf->flist); in rtas_flash_release()
230 uf->flist = NULL; in rtas_flash_release()
275 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_read_msg() local
281 status = uf->status; in rtas_flash_read_msg()
[all …]
/linux/drivers/scsi/isci/
H A Dunsolicited_frame_control.c63 struct sci_unsolicited_frame *uf; in sci_unsolicited_frame_control_construct() local
110 uf = &uf_control->buffers.array[i]; in sci_unsolicited_frame_control_construct()
114 uf->buffer = virt; in sci_unsolicited_frame_control_construct()
115 uf->header = &uf_control->headers.array[i]; in sci_unsolicited_frame_control_construct()
116 uf->state = UNSOLICITED_FRAME_EMPTY; in sci_unsolicited_frame_control_construct()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_sync.c210 struct dma_fence *uf; in pvr_sync_add_dep_to_job() local
213 dma_fence_unwrap_for_each(uf, &iter, f) { in pvr_sync_add_dep_to_job()
214 if (pvr_queue_fence_is_ufo_backed(uf)) in pvr_sync_add_dep_to_job()
222 dma_fence_unwrap_for_each(uf, &iter, f) { in pvr_sync_add_dep_to_job()
230 if (pvr_queue_fence_is_ufo_backed(uf)) { in pvr_sync_add_dep_to_job()
231 struct drm_sched_fence *s_fence = to_drm_sched_fence(uf); in pvr_sync_add_dep_to_job()
239 err = drm_sched_job_add_dependency(job, dma_fence_get(uf)); in pvr_sync_add_dep_to_job()
/linux/drivers/usb/host/
H A Dehci-sched.c271 unsigned uframe, uf, x; in compute_tt_budget() local
286 for (uf = ps->phase_uf; uf < 8; ++uf) { in compute_tt_budget()
287 x += budget_line[uf]; in compute_tt_budget()
291 budget_line[uf] = x; in compute_tt_budget()
294 budget_line[uf] = 125; in compute_tt_budget()
369 unsigned i, uf; in tt_available() local
375 uf = frame << 3; in tt_available()
376 for (i = 0; i < 8; (++i, ++uf)) in tt_available()
377 tt_usecs[i] = ehci->tt_budget[uf]; in tt_available()
1393 unsigned frame, uf; in sitd_slot_ok() local
[all …]
/linux/net/bluetooth/
H A Dhci_sock.c1931 struct hci_ufilter uf = { .opcode = 0 }; in hci_sock_setsockopt_old() local
1971 uf.type_mask = f->type_mask; in hci_sock_setsockopt_old()
1972 uf.opcode = f->opcode; in hci_sock_setsockopt_old()
1973 uf.event_mask[0] = *((u32 *) f->event_mask + 0); in hci_sock_setsockopt_old()
1974 uf.event_mask[1] = *((u32 *) f->event_mask + 1); in hci_sock_setsockopt_old()
1977 err = copy_safe_from_sockptr(&uf, sizeof(uf), optval, optlen); in hci_sock_setsockopt_old()
1982 uf.type_mask &= hci_sec_filter.type_mask; in hci_sock_setsockopt_old()
1983 uf.event_mask[0] &= *((u32 *) hci_sec_filter.event_mask + 0); in hci_sock_setsockopt_old()
1984 uf.event_mask[1] &= *((u32 *) hci_sec_filter.event_mask + 1); in hci_sock_setsockopt_old()
1990 f->type_mask = uf.type_mask; in hci_sock_setsockopt_old()
[all …]
/linux/mm/
H A Dvma.h37 struct list_head *uf; /* Userfaultfd list_head */ member
171 unsigned long end, struct list_head *uf, bool unlock);
174 unsigned long start, size_t len, struct list_head *uf,
248 struct list_head *uf); in vms_abort_munmap_vmas()
181 init_vma_munmap(struct vma_munmap_struct * vms,struct vma_iterator * vmi,struct vm_area_struct * vma,unsigned long start,unsigned long end,struct list_head * uf,bool unlock) init_vma_munmap() argument
H A Dmmap.c122 LIST_HEAD(uf); in SYSCALL_DEFINE1()
176 if (do_vmi_align_munmap(&vmi, brkvma, mm, newbrk, oldbrk, &uf, in SYSCALL_DEFINE1()
207 userfaultfd_unmap_complete(mm, &uf); in SYSCALL_DEFINE1()
287 struct list_head *uf) in do_mmap() argument
496 addr = mmap_region(file, addr, len, vm_flags, pgoff, uf); in do_mmap()
1317 struct list_head *uf) in do_munmap() argument
1321 return do_vmi_munmap(&vmi, mm, start, len, uf, false); in do_munmap()
1326 struct list_head *uf) in mmap_region() argument
1348 ret = __mmap_region(file, addr, len, vm_flags, pgoff, uf); in mmap_region()
1362 LIST_HEAD(uf); in __vm_munmap()
[all …]
H A Dmremap.c670 struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) in move_vma() argument
752 mremap_userfaultfd_prep(new_vma, uf); in move_vma()
906 unsigned long flags, struct vm_userfaultfd_ctx *uf, in mremap_to() argument
991 uf, uf_unmap); in mremap_to()
1023 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5() local
1105 &locked, flags, &uf, &uf_unmap_early, in SYSCALL_DEFINE5()
1206 &locked, flags, &uf, &uf_unmap); in SYSCALL_DEFINE5()
1216 mremap_userfaultfd_complete(&uf, addr, ret, old_len); in SYSCALL_DEFINE5()
H A Dvma.c1315 if (vms->uf) { in vms_gather_munmap_vmas()
1326 vms->end, vms->uf); in vms_gather_munmap_vmas()
1388 unsigned long start, unsigned long end, struct list_head *uf, in init_vma_munmap() argument
1400 vms->uf = uf; in init_vma_munmap()
1425 struct list_head *uf, bool unlock) in do_vmi_align_munmap() argument
1434 init_vma_munmap(&vms, vmi, vma, start, end, uf, unlock); in do_vmi_align_munmap()
1471 unsigned long start, size_t len, struct list_head *uf, in do_vmi_munmap() argument
1492 return do_vmi_align_munmap(vmi, vma, mm, start, end, uf, unlock); in do_vmi_munmap()
2223 static int __mmap_prepare(struct mmap_state *map, struct list_head *uf) in __mmap_prepare() argument
2231 init_vma_munmap(vms, vmi, vms->vma, map->addr, map->end, uf, in __mmap_prepare()
[all …]
H A Dutil.c574 LIST_HEAD(uf); in vm_mmap_pgoff()
581 &uf); in vm_mmap_pgoff()
583 userfaultfd_unmap_complete(mm, &uf); in vm_mmap_pgoff()
H A Dnommu.c1010 struct list_head *uf) in do_mmap() argument
1416 int do_munmap(struct mm_struct *mm, unsigned long start, size_t len, struct list_head *uf) in do_munmap() argument
/linux/include/linux/
H A Duserfaultfd_k.h265 unsigned long start, unsigned long end, struct list_head *uf);
267 struct list_head *uf);
380 struct list_head *uf) in userfaultfd_unmap_prep() argument
386 struct list_head *uf) in userfaultfd_unmap_complete() argument
H A Dmm.h3375 struct list_head *uf);
3379 struct list_head *uf);
3381 unsigned long start, size_t len, struct list_head *uf,
3385 unsigned long end, struct list_head *uf, bool unlock);
3387 struct list_head *uf);
/linux/drivers/scsi/bfa/
H A Dbfa_fcs.c1522 bfa_fcs_uf_recv(void *cbarg, struct bfa_uf_s *uf) in bfa_fcs_uf_recv() argument
1525 struct fchs_s *fchs = bfa_uf_get_frmbuf(uf); in bfa_fcs_uf_recv()
1526 u16 len = bfa_uf_get_frmlen(uf); in bfa_fcs_uf_recv()
1535 bfa_stats(fcs, uf.tagged); in bfa_fcs_uf_recv()
1536 vft = bfa_uf_get_frmbuf(uf); in bfa_fcs_uf_recv()
1547 bfa_stats(fcs, uf.vfid_unknown); in bfa_fcs_uf_recv()
1548 bfa_uf_free(uf); in bfa_fcs_uf_recv()
1560 bfa_stats(fcs, uf.untagged); in bfa_fcs_uf_recv()
1573 bfa_uf_free(uf); in bfa_fcs_uf_recv()
/linux/drivers/media/v4l2-core/
H A Dv4l2-vp9.c1675 u32 uf) in _adapt_coeff() argument
1687 adapt_probs_variant_a_coef(p, *counts->coeff[i][j][k][l][m], uf); in _adapt_coeff()
1688 adapt_probs_variant_b_coef(p, counts_more_coefs, uf); in _adapt_coeff()
1695 unsigned int uf) in _adapt_coef_probs() argument
1702 _adapt_coeff(i, j, k, probs, counts, uf); in _adapt_coef_probs()
/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.c4296 struct fotg210_iso_packet *uf = &iso_sched->packet[index]; in itd_patch() local
4302 itd->hw_transaction[uframe] = uf->transaction; in itd_patch()
4304 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch()
4305 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch()
4308 if (unlikely(uf->cross)) { in itd_patch()
4309 u64 bufp = uf->bufp + 4096; in itd_patch()
4573 unsigned uf; in scan_frame_queue() local
4595 for (uf = 0; uf < 8; uf++) { in scan_frame_queue()
4596 if (q.itd->hw_transaction[uf] & in scan_frame_queue()
4600 if (uf < 8) { in scan_frame_queue()
[all …]
/linux/drivers/net/
H A Dtun.c883 struct tun_filter uf; in update_filter() local
886 if (copy_from_user(&uf, arg, sizeof(uf))) in update_filter()
889 if (!uf.count) { in update_filter()
895 alen = ETH_ALEN * uf.count; in update_filter()
896 addr = memdup_user(arg + sizeof(uf), alen); in update_filter()
907 for (n = 0; n < uf.count && n < FLT_EXACT_COUNT; n++) in update_filter()
915 for (; n < uf.count; n++) { in update_filter()
925 if ((uf.flags & TUN_FLT_ALLMULTI)) in update_filter()
/linux/kernel/
H A Dfork.c639 LIST_HEAD(uf); in dup_mmap()
701 retval = dup_userfaultfd(tmp, &uf); in dup_mmap()
779 dup_userfaultfd_complete(&uf); in dup_mmap()
781 dup_userfaultfd_fail(&uf); in dup_mmap()
/linux/arch/arm64/boot/dts/qcom/
H A Dsc7180-trogdor.dtsi173 pp1800_uf_cam: pp1800-uf-cam-regulator {
207 pp2800_uf_cam: pp2800-uf-cam-regulator {
1525 uf_cam_en: uf-cam-en-state {
/linux/fs/
H A Duserfaultfd.c837 void userfaultfd_unmap_complete(struct mm_struct *mm, struct list_head *uf) in userfaultfd_unmap_complete() argument
842 list_for_each_entry_safe(ctx, n, uf, list) { in userfaultfd_unmap_complete()
/linux/arch/x86/kvm/mmu/
H A Dmmu.c5205 u8 uf = (pfec & PFERR_USER_MASK) ? (u8)~u : 0; in update_permission_bitmask() local
5249 mmu->permissions[byte] = ff | uf | wf | smepf | smapf; in update_permission_bitmask()
5291 bool check_pkey, check_write, ff, uf, wf, pte_user; in update_pkru_bitmask() local
5295 uf = pfec & PFERR_USER_MASK; in update_pkru_bitmask()
5310 check_write = check_pkey && wf && (uf || wp); in update_pkru_bitmask()