Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/kernel/ !
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-6.12.1/drivers/scsi/isci/ !
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-6.12.1/drivers/gpu/drm/imagination/ !
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-6.12.1/drivers/usb/host/ !
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 …]
Dehci-hcd.c113 unsigned uf; in ehci_moschip_read_frame_index() local
115 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
116 if (unlikely((uf & 7) == 0)) in ehci_moschip_read_frame_index()
117 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
118 return uf; in ehci_moschip_read_frame_index()
/linux-6.12.1/net/bluetooth/ !
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 = bt_copy_from_sockptr(&uf, sizeof(uf), optval, len); 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-6.12.1/mm/ !
Dvma.h37 struct list_head *uf; /* Userfaultfd list_head */ member
181 unsigned long start, unsigned long end, struct list_head *uf, in init_vma_munmap() argument
193 vms->uf = uf; in init_vma_munmap()
264 unsigned long end, struct list_head *uf, bool unlock);
267 unsigned long start, size_t len, struct list_head *uf,
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()
1354 struct list_head *uf) in do_munmap() argument
1358 return do_vmi_munmap(&vmi, mm, start, len, uf, false); in do_munmap()
1363 struct list_head *uf) in __mmap_region() argument
1380 init_vma_munmap(&vms, &vmi, vma, addr, end, uf, /* unlock = */ false); in __mmap_region()
1592 struct list_head *uf) in mmap_region() argument
[all …]
Dmremap.c661 struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) in move_vma() argument
743 mremap_userfaultfd_prep(new_vma, uf); in move_vma()
876 unsigned long flags, struct vm_userfaultfd_ctx *uf, in mremap_to() argument
959 ret = move_vma(vma, addr, old_len, new_len, new_addr, locked, flags, uf, in mremap_to()
995 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5() local
1077 &locked, flags, &uf, &uf_unmap_early, in SYSCALL_DEFINE5()
1180 &locked, flags, &uf, &uf_unmap); in SYSCALL_DEFINE5()
1190 mremap_userfaultfd_complete(&uf, addr, ret, old_len); in SYSCALL_DEFINE5()
Dvma.c1257 if (unlikely(vms->uf)) { in vms_gather_munmap_vmas()
1268 vms->end, vms->uf); in vms_gather_munmap_vmas()
1334 struct list_head *uf, bool unlock) in do_vmi_align_munmap() argument
1343 init_vma_munmap(&vms, vmi, vma, start, end, uf, unlock); in do_vmi_align_munmap()
1380 unsigned long start, size_t len, struct list_head *uf, in do_vmi_munmap() argument
1401 return do_vmi_align_munmap(vmi, vma, mm, start, end, uf, unlock); in do_vmi_munmap()
Dutil.c582 LIST_HEAD(uf); in vm_mmap_pgoff()
589 &uf); in vm_mmap_pgoff()
591 userfaultfd_unmap_complete(mm, &uf); in vm_mmap_pgoff()
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-6.12.1/include/linux/ !
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
Dmm.h3350 struct list_head *uf);
3354 struct list_head *uf);
3356 unsigned long start, size_t len, struct list_head *uf,
3360 unsigned long end, struct list_head *uf, bool unlock);
3362 struct list_head *uf);
/linux-6.12.1/drivers/scsi/bfa/ !
Dbfa_svc.c5332 struct bfa_uf_s *uf = cbarg; in __bfa_cb_uf_recv() local
5333 struct bfa_uf_mod_s *ufm = BFA_UF_MOD(uf->bfa); in __bfa_cb_uf_recv()
5336 ufm->ufrecv(ufm->cbarg, uf); in __bfa_cb_uf_recv()
5371 struct bfa_uf_s *uf; in claim_ufs() local
5381 for (i = 0, uf = ufm->uf_list; i < ufm->num_ufs; i++, uf++) { in claim_ufs()
5382 memset(uf, 0, sizeof(struct bfa_uf_s)); in claim_ufs()
5383 uf->bfa = ufm->bfa; in claim_ufs()
5384 uf->uf_tag = i; in claim_ufs()
5385 uf->pb_len = BFA_PER_UF_DMA_SZ; in claim_ufs()
5386 uf->buf_kva = bfa_mem_get_dmabuf_kva(ufm, i, BFA_PER_UF_DMA_SZ); in claim_ufs()
[all …]
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()
Dbfa_svc.h344 typedef void (*bfa_cb_uf_recv_t) (void *cbarg, struct bfa_uf_s *uf);
696 bfa_uf_get_frmbuf(struct bfa_uf_s *uf) in bfa_uf_get_frmbuf() argument
698 return uf->data_ptr; in bfa_uf_get_frmbuf()
702 bfa_uf_get_frmlen(struct bfa_uf_s *uf) in bfa_uf_get_frmlen() argument
704 return uf->data_len; in bfa_uf_get_frmlen()
712 void bfa_uf_free(struct bfa_uf_s *uf);
Dbfa_fcs.h860 } uf; member
/linux-6.12.1/drivers/media/v4l2-core/ !
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-6.12.1/drivers/usb/fotg210/ !
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-6.12.1/drivers/net/ !
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-6.12.1/kernel/ !
Dfork.c634 LIST_HEAD(uf); in dup_mmap()
699 retval = dup_userfaultfd(tmp, &uf); in dup_mmap()
777 dup_userfaultfd_complete(&uf); in dup_mmap()
779 dup_userfaultfd_fail(&uf); in dup_mmap()
/linux-6.12.1/arch/arm64/boot/dts/qcom/ !
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-6.12.1/fs/ !
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-6.12.1/arch/x86/kvm/mmu/ !
Dmmu.c5266 u8 uf = (pfec & PFERR_USER_MASK) ? (u8)~u : 0; in update_permission_bitmask() local
5310 mmu->permissions[byte] = ff | uf | wf | smepf | smapf; in update_permission_bitmask()
5352 bool check_pkey, check_write, ff, uf, wf, pte_user; in update_pkru_bitmask() local
5356 uf = pfec & PFERR_USER_MASK; in update_pkru_bitmask()
5371 check_write = check_pkey && wf && (uf || wp); in update_pkru_bitmask()