/Linux-v4.19/arch/powerpc/kernel/ |
D | rtas_flash.c | 214 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_release() local 218 if (uf->flist) { in rtas_flash_release() 226 if (uf->status != FLASH_AUTH) in rtas_flash_release() 227 uf->status = flash_list_valid(uf->flist); in rtas_flash_release() 229 if (uf->status == FLASH_IMG_READY) in rtas_flash_release() 230 rtas_firmware_flash_list = uf->flist; in rtas_flash_release() 232 free_flash_list(uf->flist); in rtas_flash_release() 234 uf->flist = NULL; in rtas_flash_release() 279 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_read_msg() local 285 status = uf->status; in rtas_flash_read_msg() [all …]
|
/Linux-v4.19/drivers/scsi/isci/ |
D | unsolicited_frame_control.c | 63 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-v4.19/include/linux/ |
D | userfaultfd_k.h | 73 struct list_head *uf); 75 struct list_head *uf); 133 struct list_head *uf) in userfaultfd_unmap_prep() argument 139 struct list_head *uf) in userfaultfd_unmap_complete() argument
|
D | mm.h | 2284 struct list_head *uf); 2288 struct list_head *uf); 2290 struct list_head *uf); 2296 struct list_head *uf) in do_mmap_pgoff() argument 2298 return do_mmap(file, addr, len, prot, flags, 0, pgoff, populate, uf); in do_mmap_pgoff()
|
/Linux-v4.19/drivers/usb/host/ |
D | ehci-sched.c | 265 unsigned uframe, uf, x; in compute_tt_budget() local 280 for (uf = ps->phase_uf; uf < 8; ++uf) { in compute_tt_budget() 281 x += budget_line[uf]; in compute_tt_budget() 285 budget_line[uf] = x; in compute_tt_budget() 288 budget_line[uf] = 125; in compute_tt_budget() 383 unsigned i, uf; in tt_available() local 389 uf = frame << 3; in tt_available() 390 for (i = 0; i < 8; (++i, ++uf)) in tt_available() 391 tt_usecs[i] = ehci->tt_budget[uf]; in tt_available() 1402 unsigned frame, uf; in sitd_slot_ok() local [all …]
|
D | ehci-hcd.c | 111 unsigned uf; in ehci_moschip_read_frame_index() local 113 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index() 114 if (unlikely((uf & 7) == 0)) in ehci_moschip_read_frame_index() 115 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index() 116 return uf; in ehci_moschip_read_frame_index()
|
D | fotg210-hcd.c | 4301 struct fotg210_iso_packet *uf = &iso_sched->packet[index]; in itd_patch() local 4307 itd->hw_transaction[uframe] = uf->transaction; in itd_patch() 4309 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch() 4310 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch() 4313 if (unlikely(uf->cross)) { in itd_patch() 4314 u64 bufp = uf->bufp + 4096; in itd_patch() 4579 unsigned uf; in scan_frame_queue() local 4601 for (uf = 0; uf < 8; uf++) { in scan_frame_queue() 4602 if (q.itd->hw_transaction[uf] & in scan_frame_queue() 4606 if (uf < 8) { in scan_frame_queue() [all …]
|
/Linux-v4.19/net/bluetooth/ |
D | hci_sock.c | 1817 struct hci_ufilter uf = { .opcode = 0 }; in hci_sock_setsockopt() local 1862 uf.type_mask = f->type_mask; in hci_sock_setsockopt() 1863 uf.opcode = f->opcode; in hci_sock_setsockopt() 1864 uf.event_mask[0] = *((u32 *) f->event_mask + 0); in hci_sock_setsockopt() 1865 uf.event_mask[1] = *((u32 *) f->event_mask + 1); in hci_sock_setsockopt() 1868 len = min_t(unsigned int, len, sizeof(uf)); in hci_sock_setsockopt() 1869 if (copy_from_user(&uf, optval, len)) { in hci_sock_setsockopt() 1875 uf.type_mask &= hci_sec_filter.type_mask; in hci_sock_setsockopt() 1876 uf.event_mask[0] &= *((u32 *) hci_sec_filter.event_mask + 0); in hci_sock_setsockopt() 1877 uf.event_mask[1] &= *((u32 *) hci_sec_filter.event_mask + 1); in hci_sock_setsockopt() [all …]
|
/Linux-v4.19/mm/ |
D | mremap.c | 258 bool *locked, struct vm_userfaultfd_ctx *uf, in move_vma() argument 318 mremap_userfaultfd_prep(new_vma, uf); in move_vma() 437 struct vm_userfaultfd_ctx *uf, in mremap_to() argument 484 ret = move_vma(vma, addr, old_len, new_len, new_addr, locked, uf, in mremap_to() 524 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5() local 553 &locked, &uf, &uf_unmap_early, &uf_unmap); in SYSCALL_DEFINE5() 623 &locked, &uf, &uf_unmap); in SYSCALL_DEFINE5() 634 mremap_userfaultfd_complete(&uf, addr, new_addr, old_len); in SYSCALL_DEFINE5()
|
D | mmap.c | 190 struct list_head *uf); 199 LIST_HEAD(uf); in SYSCALL_DEFINE1() 237 if (!do_munmap(mm, newbrk, oldbrk-newbrk, &uf)) in SYSCALL_DEFINE1() 248 if (do_brk_flags(oldbrk, newbrk-oldbrk, 0, &uf) < 0) in SYSCALL_DEFINE1() 255 userfaultfd_unmap_complete(mm, &uf); in SYSCALL_DEFINE1() 1363 struct list_head *uf) in do_mmap() argument 1535 addr = mmap_region(file, addr, len, vm_flags, pgoff, uf); in do_mmap() 1679 struct list_head *uf) in mmap_region() argument 1705 if (do_munmap(mm, addr, len, uf)) in mmap_region() 2691 struct list_head *uf) in do_munmap() argument [all …]
|
D | util.c | 351 LIST_HEAD(uf); in vm_mmap_pgoff() 358 &populate, &uf); in vm_mmap_pgoff() 360 userfaultfd_unmap_complete(mm, &uf); in vm_mmap_pgoff()
|
D | nommu.c | 1175 struct list_head *uf) in do_mmap() argument 1552 int do_munmap(struct mm_struct *mm, unsigned long start, size_t len, struct list_head *uf) in do_munmap() argument
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_svc.c | 5360 struct bfa_uf_s *uf = cbarg; in __bfa_cb_uf_recv() local 5361 struct bfa_uf_mod_s *ufm = BFA_UF_MOD(uf->bfa); in __bfa_cb_uf_recv() 5364 ufm->ufrecv(ufm->cbarg, uf); in __bfa_cb_uf_recv() 5399 struct bfa_uf_s *uf; in claim_ufs() local 5409 for (i = 0, uf = ufm->uf_list; i < ufm->num_ufs; i++, uf++) { in claim_ufs() 5410 memset(uf, 0, sizeof(struct bfa_uf_s)); in claim_ufs() 5411 uf->bfa = ufm->bfa; in claim_ufs() 5412 uf->uf_tag = i; in claim_ufs() 5413 uf->pb_len = BFA_PER_UF_DMA_SZ; in claim_ufs() 5414 uf->buf_kva = bfa_mem_get_dmabuf_kva(ufm, i, BFA_PER_UF_DMA_SZ); in claim_ufs() [all …]
|
D | bfa_svc.h | 350 typedef void (*bfa_cb_uf_recv_t) (void *cbarg, struct bfa_uf_s *uf); 648 bfa_uf_get_frmbuf(struct bfa_uf_s *uf) in bfa_uf_get_frmbuf() argument 650 return uf->data_ptr; in bfa_uf_get_frmbuf() 654 bfa_uf_get_frmlen(struct bfa_uf_s *uf) in bfa_uf_get_frmlen() argument 656 return uf->data_len; in bfa_uf_get_frmlen() 664 void bfa_uf_free(struct bfa_uf_s *uf);
|
D | bfa_fcs.c | 1530 bfa_fcs_uf_recv(void *cbarg, struct bfa_uf_s *uf) in bfa_fcs_uf_recv() argument 1533 struct fchs_s *fchs = bfa_uf_get_frmbuf(uf); in bfa_fcs_uf_recv() 1534 u16 len = bfa_uf_get_frmlen(uf); in bfa_fcs_uf_recv() 1543 bfa_stats(fcs, uf.tagged); in bfa_fcs_uf_recv() 1544 vft = bfa_uf_get_frmbuf(uf); in bfa_fcs_uf_recv() 1555 bfa_stats(fcs, uf.vfid_unknown); in bfa_fcs_uf_recv() 1556 bfa_uf_free(uf); in bfa_fcs_uf_recv() 1568 bfa_stats(fcs, uf.untagged); in bfa_fcs_uf_recv() 1581 bfa_uf_free(uf); in bfa_fcs_uf_recv()
|
D | bfa_fcs.h | 685 } uf; member
|
/Linux-v4.19/drivers/net/ |
D | tun.c | 917 struct tun_filter uf; in update_filter() local 920 if (copy_from_user(&uf, arg, sizeof(uf))) in update_filter() 923 if (!uf.count) { in update_filter() 929 alen = ETH_ALEN * uf.count; in update_filter() 930 addr = memdup_user(arg + sizeof(uf), alen); in update_filter() 941 for (n = 0; n < uf.count && n < FLT_EXACT_COUNT; n++) in update_filter() 949 for (; n < uf.count; n++) { in update_filter() 959 if ((uf.flags & TUN_FLT_ALLMULTI)) in update_filter()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_cs.c | 735 struct amdgpu_bo *uf = p->uf_entry.robj; in amdgpu_cs_parser_bos() local 737 r = amdgpu_ttm_alloc_gart(&uf->tbo); in amdgpu_cs_parser_bos() 738 p->job->uf_addr += amdgpu_bo_gpu_offset(uf); in amdgpu_cs_parser_bos()
|
/Linux-v4.19/kernel/ |
D | fork.c | 428 LIST_HEAD(uf); in dup_mmap() 491 retval = dup_userfaultfd(tmp, &uf); in dup_mmap() 558 dup_userfaultfd_complete(&uf); in dup_mmap()
|
/Linux-v4.19/fs/ |
D | userfaultfd.c | 837 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-v4.19/arch/x86/kvm/ |
D | mmu.c | 4537 u8 uf = (pfec & PFERR_USER_MASK) ? ~u : 0; in update_permission_bitmask() local 4581 mmu->permissions[byte] = ff | uf | wf | smepf | smapf; in update_permission_bitmask() 4630 bool check_pkey, check_write, ff, uf, wf, pte_user; in update_pkru_bitmask() local 4634 uf = pfec & PFERR_USER_MASK; in update_pkru_bitmask() 4649 check_write = check_pkey && wf && (uf || wp); in update_pkru_bitmask()
|