/Linux-v5.4/arch/powerpc/kernel/ |
D | rtas_flash.c | 210 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-v5.4/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-v5.4/include/linux/ |
D | userfaultfd_k.h | 75 struct list_head *uf); 77 struct list_head *uf); 135 struct list_head *uf) in userfaultfd_unmap_prep() argument 141 struct list_head *uf) in userfaultfd_unmap_complete() argument
|
D | mm.h | 2332 struct list_head *uf); 2336 struct list_head *uf); 2338 struct list_head *uf, bool downgrade); 2340 struct list_head *uf); 2346 struct list_head *uf) in do_mmap_pgoff() argument 2348 return do_mmap(file, addr, len, prot, flags, 0, pgoff, populate, uf); in do_mmap_pgoff()
|
/Linux-v5.4/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 | 4307 struct fotg210_iso_packet *uf = &iso_sched->packet[index]; in itd_patch() local 4313 itd->hw_transaction[uframe] = uf->transaction; in itd_patch() 4315 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch() 4316 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch() 4319 if (unlikely(uf->cross)) { in itd_patch() 4320 u64 bufp = uf->bufp + 4096; in itd_patch() 4585 unsigned uf; in scan_frame_queue() local 4607 for (uf = 0; uf < 8; uf++) { in scan_frame_queue() 4608 if (q.itd->hw_transaction[uf] & in scan_frame_queue() 4612 if (uf < 8) { in scan_frame_queue() [all …]
|
/Linux-v5.4/net/bluetooth/ |
D | hci_sock.c | 1816 struct hci_ufilter uf = { .opcode = 0 }; in hci_sock_setsockopt() local 1861 uf.type_mask = f->type_mask; in hci_sock_setsockopt() 1862 uf.opcode = f->opcode; in hci_sock_setsockopt() 1863 uf.event_mask[0] = *((u32 *) f->event_mask + 0); in hci_sock_setsockopt() 1864 uf.event_mask[1] = *((u32 *) f->event_mask + 1); in hci_sock_setsockopt() 1867 len = min_t(unsigned int, len, sizeof(uf)); in hci_sock_setsockopt() 1868 if (copy_from_user(&uf, optval, len)) { in hci_sock_setsockopt() 1874 uf.type_mask &= hci_sec_filter.type_mask; in hci_sock_setsockopt() 1875 uf.event_mask[0] &= *((u32 *) hci_sec_filter.event_mask + 0); in hci_sock_setsockopt() 1876 uf.event_mask[1] &= *((u32 *) hci_sec_filter.event_mask + 1); in hci_sock_setsockopt() [all …]
|
/Linux-v5.4/mm/ |
D | mremap.c | 321 bool *locked, struct vm_userfaultfd_ctx *uf, in move_vma() argument 381 mremap_userfaultfd_prep(new_vma, uf); in move_vma() 500 struct vm_userfaultfd_ctx *uf, in mremap_to() argument 564 ret = move_vma(vma, addr, old_len, new_len, new_addr, locked, uf, in mremap_to() 605 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5() local 637 &locked, &uf, &uf_unmap_early, &uf_unmap); in SYSCALL_DEFINE5() 715 &locked, &uf, &uf_unmap); in SYSCALL_DEFINE5() 729 mremap_userfaultfd_complete(&uf, addr, new_addr, old_len); in SYSCALL_DEFINE5()
|
D | mmap.c | 192 struct list_head *uf); 202 LIST_HEAD(uf); in SYSCALL_DEFINE1() 257 ret = __do_munmap(mm, newbrk, oldbrk-newbrk, &uf, true); in SYSCALL_DEFINE1() 273 if (do_brk_flags(oldbrk, newbrk-oldbrk, 0, &uf) < 0) in SYSCALL_DEFINE1() 283 userfaultfd_unmap_complete(mm, &uf); in SYSCALL_DEFINE1() 1401 struct list_head *uf) in do_mmap() argument 1577 addr = mmap_region(file, addr, len, vm_flags, pgoff, uf); in do_mmap() 1723 struct list_head *uf) in mmap_region() argument 1749 if (do_munmap(mm, addr, len, uf)) in mmap_region() 2745 struct list_head *uf, bool downgrade) in __do_munmap() argument [all …]
|
D | util.c | 490 LIST_HEAD(uf); in vm_mmap_pgoff() 497 &populate, &uf); in vm_mmap_pgoff() 499 userfaultfd_unmap_complete(mm, &uf); in vm_mmap_pgoff()
|
D | nommu.c | 1102 struct list_head *uf) in do_mmap() argument 1481 int do_munmap(struct mm_struct *mm, unsigned long start, size_t len, struct list_head *uf) in do_munmap() argument
|
/Linux-v5.4/drivers/scsi/bfa/ |
D | bfa_svc.c | 5352 struct bfa_uf_s *uf = cbarg; in __bfa_cb_uf_recv() local 5353 struct bfa_uf_mod_s *ufm = BFA_UF_MOD(uf->bfa); in __bfa_cb_uf_recv() 5356 ufm->ufrecv(ufm->cbarg, uf); in __bfa_cb_uf_recv() 5391 struct bfa_uf_s *uf; in claim_ufs() local 5401 for (i = 0, uf = ufm->uf_list; i < ufm->num_ufs; i++, uf++) { in claim_ufs() 5402 memset(uf, 0, sizeof(struct bfa_uf_s)); in claim_ufs() 5403 uf->bfa = ufm->bfa; in claim_ufs() 5404 uf->uf_tag = i; in claim_ufs() 5405 uf->pb_len = BFA_PER_UF_DMA_SZ; in claim_ufs() 5406 uf->buf_kva = bfa_mem_get_dmabuf_kva(ufm, i, BFA_PER_UF_DMA_SZ); in claim_ufs() [all …]
|
D | bfa_svc.h | 342 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);
|
D | bfa_fcs.c | 1522 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()
|
D | bfa_fcs.h | 677 } uf; member
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_cs.c | 709 struct amdgpu_bo *uf = ttm_to_amdgpu_bo(p->uf_entry.tv.bo); in amdgpu_cs_parser_bos() local 711 r = amdgpu_ttm_alloc_gart(&uf->tbo); in amdgpu_cs_parser_bos() 712 p->job->uf_addr += amdgpu_bo_gpu_offset(uf); in amdgpu_cs_parser_bos() 778 struct amdgpu_bo *uf = ttm_to_amdgpu_bo(parser->uf_entry.tv.bo); in amdgpu_cs_parser_fini() local 780 amdgpu_bo_unref(&uf); in amdgpu_cs_parser_fini()
|
/Linux-v5.4/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-v5.4/kernel/ |
D | fork.c | 485 LIST_HEAD(uf); in dup_mmap() 548 retval = dup_userfaultfd(tmp, &uf); in dup_mmap() 615 dup_userfaultfd_complete(&uf); in dup_mmap()
|
/Linux-v5.4/fs/ |
D | userfaultfd.c | 856 void userfaultfd_unmap_complete(struct mm_struct *mm, struct list_head *uf) in userfaultfd_unmap_complete() argument 861 list_for_each_entry_safe(ctx, n, uf, list) { in userfaultfd_unmap_complete()
|
/Linux-v5.4/arch/x86/kvm/ |
D | mmu.c | 4761 u8 uf = (pfec & PFERR_USER_MASK) ? (u8)~u : 0; in update_permission_bitmask() local 4805 mmu->permissions[byte] = ff | uf | wf | smepf | smapf; in update_permission_bitmask() 4854 bool check_pkey, check_write, ff, uf, wf, pte_user; in update_pkru_bitmask() local 4858 uf = pfec & PFERR_USER_MASK; in update_pkru_bitmask() 4873 check_write = check_pkey && wf && (uf || wp); in update_pkru_bitmask()
|