Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/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()
1392 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()
Dfotg210-hcd.c4304 struct fotg210_iso_packet *uf = &iso_sched->packet[index]; in itd_patch() local
4310 itd->hw_transaction[uframe] = uf->transaction; in itd_patch()
4312 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch()
4313 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch()
4316 if (unlikely(uf->cross)) { in itd_patch()
4317 u64 bufp = uf->bufp + 4096; in itd_patch()
4581 unsigned uf; in scan_frame_queue() local
4603 for (uf = 0; uf < 8; uf++) { in scan_frame_queue()
4604 if (q.itd->hw_transaction[uf] & in scan_frame_queue()
4608 if (uf < 8) { in scan_frame_queue()
[all …]
/linux-6.1.9/include/linux/
Duserfaultfd_k.h179 unsigned long end, struct list_head *uf);
181 struct list_head *uf);
262 struct list_head *uf) in userfaultfd_unmap_prep() argument
268 struct list_head *uf) in userfaultfd_unmap_complete() argument
Dmm.h2748 struct list_head *uf);
2751 unsigned long pgoff, unsigned long *populate, struct list_head *uf);
2753 unsigned long start, size_t len, struct list_head *uf,
2756 struct list_head *uf);
/linux-6.1.9/net/bluetooth/
Dhci_sock.c1835 struct hci_ufilter uf = { .opcode = 0 }; in hci_sock_setsockopt_old() local
1877 uf.type_mask = f->type_mask; in hci_sock_setsockopt_old()
1878 uf.opcode = f->opcode; in hci_sock_setsockopt_old()
1879 uf.event_mask[0] = *((u32 *) f->event_mask + 0); in hci_sock_setsockopt_old()
1880 uf.event_mask[1] = *((u32 *) f->event_mask + 1); in hci_sock_setsockopt_old()
1883 len = min_t(unsigned int, len, sizeof(uf)); in hci_sock_setsockopt_old()
1884 if (copy_from_sockptr(&uf, optval, len)) { in hci_sock_setsockopt_old()
1890 uf.type_mask &= hci_sec_filter.type_mask; in hci_sock_setsockopt_old()
1891 uf.event_mask[0] &= *((u32 *) hci_sec_filter.event_mask + 0); in hci_sock_setsockopt_old()
1892 uf.event_mask[1] &= *((u32 *) hci_sec_filter.event_mask + 1); in hci_sock_setsockopt_old()
[all …]
/linux-6.1.9/mm/
Dmremap.c575 struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) in move_vma() argument
655 mremap_userfaultfd_prep(new_vma, uf); in move_vma()
783 unsigned long flags, struct vm_userfaultfd_ctx *uf, in mremap_to() argument
861 ret = move_vma(vma, addr, old_len, new_len, new_addr, locked, flags, uf, in mremap_to()
898 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5() local
973 &locked, flags, &uf, &uf_unmap_early, in SYSCALL_DEFINE5()
1077 &locked, flags, &uf, &uf_unmap); in SYSCALL_DEFINE5()
1089 mremap_userfaultfd_complete(&uf, addr, ret, old_len); in SYSCALL_DEFINE5()
Dmmap.c167 struct list_head *uf);
178 LIST_HEAD(uf); in SYSCALL_DEFINE1()
237 ret = do_brk_munmap(&mas, brkvma, newbrk, oldbrk, &uf); in SYSCALL_DEFINE1()
273 userfaultfd_unmap_complete(mm, &uf); in SYSCALL_DEFINE1()
1242 unsigned long *populate, struct list_head *uf) in do_mmap() argument
1411 addr = mmap_region(file, addr, len, vm_flags, pgoff, uf); in do_mmap()
2304 unsigned long end, struct list_head *uf, bool downgrade) in do_mas_align_munmap() argument
2391 if (unlikely(uf)) { in do_mas_align_munmap()
2401 error = userfaultfd_unmap_prep(mm, start, end, uf); in do_mas_align_munmap()
2481 unsigned long start, size_t len, struct list_head *uf, in do_mas_munmap() argument
[all …]
Dutil.c514 LIST_HEAD(uf); in vm_mmap_pgoff()
521 &uf); in vm_mmap_pgoff()
523 userfaultfd_unmap_complete(mm, &uf); in vm_mmap_pgoff()
Dnommu.c1047 struct list_head *uf) in do_mmap() argument
1457 int do_munmap(struct mm_struct *mm, unsigned long start, size_t len, struct list_head *uf) in do_munmap() argument
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_svc.c5346 struct bfa_uf_s *uf = cbarg; in __bfa_cb_uf_recv() local
5347 struct bfa_uf_mod_s *ufm = BFA_UF_MOD(uf->bfa); in __bfa_cb_uf_recv()
5350 ufm->ufrecv(ufm->cbarg, uf); in __bfa_cb_uf_recv()
5385 struct bfa_uf_s *uf; in claim_ufs() local
5395 for (i = 0, uf = ufm->uf_list; i < ufm->num_ufs; i++, uf++) { in claim_ufs()
5396 memset(uf, 0, sizeof(struct bfa_uf_s)); in claim_ufs()
5397 uf->bfa = ufm->bfa; in claim_ufs()
5398 uf->uf_tag = i; in claim_ufs()
5399 uf->pb_len = BFA_PER_UF_DMA_SZ; in claim_ufs()
5400 uf->buf_kva = bfa_mem_get_dmabuf_kva(ufm, i, BFA_PER_UF_DMA_SZ); in claim_ufs()
[all …]
Dbfa_svc.h342 typedef void (*bfa_cb_uf_recv_t) (void *cbarg, struct bfa_uf_s *uf);
640 bfa_uf_get_frmbuf(struct bfa_uf_s *uf) in bfa_uf_get_frmbuf() argument
642 return uf->data_ptr; in bfa_uf_get_frmbuf()
646 bfa_uf_get_frmlen(struct bfa_uf_s *uf) in bfa_uf_get_frmlen() argument
648 return uf->data_len; in bfa_uf_get_frmlen()
656 void bfa_uf_free(struct bfa_uf_s *uf);
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_fcs.h674 } uf; member
/linux-6.1.9/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.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cs.c967 struct amdgpu_bo *uf = ttm_to_amdgpu_bo(p->uf_entry.tv.bo); in amdgpu_cs_parser_bos() local
969 r = amdgpu_ttm_alloc_gart(&uf->tbo); in amdgpu_cs_parser_bos()
973 p->gang_leader->uf_addr += amdgpu_bo_gpu_offset(uf); in amdgpu_cs_parser_bos()
1365 struct amdgpu_bo *uf = ttm_to_amdgpu_bo(parser->uf_entry.tv.bo); in amdgpu_cs_parser_fini() local
1367 amdgpu_bo_unref(&uf); in amdgpu_cs_parser_fini()
/linux-6.1.9/drivers/net/
Dtun.c882 struct tun_filter uf; in update_filter() local
885 if (copy_from_user(&uf, arg, sizeof(uf))) in update_filter()
888 if (!uf.count) { in update_filter()
894 alen = ETH_ALEN * uf.count; in update_filter()
895 addr = memdup_user(arg + sizeof(uf), alen); in update_filter()
906 for (n = 0; n < uf.count && n < FLT_EXACT_COUNT; n++) in update_filter()
914 for (; n < uf.count; n++) { in update_filter()
924 if ((uf.flags & TUN_FLT_ALLMULTI)) in update_filter()
/linux-6.1.9/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor.dtsi169 pp1800_uf_cam: pp1800-uf-cam-regulator {
203 pp2800_uf_cam: pp2800-uf-cam-regulator {
1636 uf_cam_en: uf-cam-en {
/linux-6.1.9/kernel/
Dfork.c587 LIST_HEAD(uf); in dup_mmap()
650 retval = dup_userfaultfd(tmp, &uf); in dup_mmap()
710 dup_userfaultfd_complete(&uf); in dup_mmap()
/linux-6.1.9/fs/
Duserfaultfd.c849 void userfaultfd_unmap_complete(struct mm_struct *mm, struct list_head *uf) in userfaultfd_unmap_complete() argument
854 list_for_each_entry_safe(ctx, n, uf, list) { in userfaultfd_unmap_complete()
/linux-6.1.9/arch/x86/kvm/mmu/
Dmmu.c4816 u8 uf = (pfec & PFERR_USER_MASK) ? (u8)~u : 0; in update_permission_bitmask() local
4860 mmu->permissions[byte] = ff | uf | wf | smepf | smapf; in update_permission_bitmask()
4902 bool check_pkey, check_write, ff, uf, wf, pte_user; in update_pkru_bitmask() local
4906 uf = pfec & PFERR_USER_MASK; in update_pkru_bitmask()
4921 check_write = check_pkey && wf && (uf || wp); in update_pkru_bitmask()