/linux-4.1.27/kernel/locking/ |
D | lglock.c | 13 void lg_lock_init(struct lglock *lg, char *name) in lg_lock_init() argument 15 LOCKDEP_INIT_MAP(&lg->lock_dep_map, name, &lg->lock_key, 0); in lg_lock_init() 19 void lg_local_lock(struct lglock *lg) in lg_local_lock() argument 24 lock_acquire_shared(&lg->lock_dep_map, 0, 0, NULL, _RET_IP_); in lg_local_lock() 25 lock = this_cpu_ptr(lg->lock); in lg_local_lock() 30 void lg_local_unlock(struct lglock *lg) in lg_local_unlock() argument 34 lock_release(&lg->lock_dep_map, 1, _RET_IP_); in lg_local_unlock() 35 lock = this_cpu_ptr(lg->lock); in lg_local_unlock() 41 void lg_local_lock_cpu(struct lglock *lg, int cpu) in lg_local_lock_cpu() argument 46 lock_acquire_shared(&lg->lock_dep_map, 0, 0, NULL, _RET_IP_); in lg_local_lock_cpu() [all …]
|
/linux-4.1.27/drivers/lguest/ |
D | lguest_user.c | 107 struct lguest *lg = file->private_data; in read() local 112 if (!lg) in read() 116 if (cpu_id >= lg->nr_cpus) in read() 119 cpu = &lg->cpus[cpu_id]; in read() 126 if (lg->dead) { in read() 130 if (IS_ERR(lg->dead)) in read() 131 return PTR_ERR(lg->dead); in read() 134 len = min(size, strlen(lg->dead)+1); in read() 135 if (copy_to_user(user, lg->dead, len) != 0) in read() 158 if (id >= ARRAY_SIZE(cpu->lg->cpus)) in lg_cpu_start() [all …]
|
D | page_tables.c | 88 return &cpu->lg->pgdirs[i].pgdir[index]; in spgd_addr() 139 return cpu->lg->pgdirs[cpu->cpu_pgd].gpgdir + index * sizeof(pgd_t); in gpgd_addr() 219 base = (unsigned long)cpu->lg->mem_base / PAGE_SIZE; in gpte_to_spte() 259 return (pte_pfn(gpte) >= cpu->lg->pfn_limit in gpte_in_iomem() 260 && pte_pfn(gpte) < cpu->lg->device_limit); in gpte_in_iomem() 266 pte_pfn(gpte) >= cpu->lg->pfn_limit) { in check_gpte() 276 (pgd_pfn(gpgd) >= cpu->lg->pfn_limit)) { in check_gpgd() 287 (pmd_pfn(gpmd) >= cpu->lg->pfn_limit)) { in check_gpmd() 654 static void flush_user_mappings(struct lguest *lg, int idx) in flush_user_mappings() argument 658 for (i = 0; i < pgd_index(lg->kernel_address); i++) in flush_user_mappings() [all …]
|
D | hypercalls.c | 72 cpu->lg->dead = ERR_PTR(-ERESTART); in do_hcall() 102 guest_set_pgd(cpu->lg, args->arg1, args->arg2); in do_hcall() 106 guest_set_pmd(cpu->lg, args->arg1, args->arg2); in do_hcall() 142 if (copy_from_user(&st, &cpu->lg->lguest_data->hcall_status, sizeof(st))) in do_async_hcalls() 170 if (copy_from_user(&args, &cpu->lg->lguest_data->hcalls[n], in do_async_hcalls() 180 if (put_user(0xFF, &cpu->lg->lguest_data->hcall_status[n])) { in do_async_hcalls() 210 kill_guest(cpu, "bad guest page %p", cpu->lg->lguest_data); in initialize() 216 if (get_user(cpu->lg->noirq_iret, &cpu->lg->lguest_data->noirq_iret)) in initialize() 217 kill_guest(cpu, "bad guest page %p", cpu->lg->lguest_data); in initialize() 259 if (unlikely(!cpu->lg->lguest_data)) { in do_hypercalls() [all …]
|
D | lg.h | 41 struct lguest *lg; member 117 bool lguest_address_ok(const struct lguest *lg, 169 bool check_syscall_vector(struct lguest *lg); 183 int init_guest_pagetable(struct lguest *lg); 184 void free_guest_pagetable(struct lguest *lg); 186 void guest_set_pgd(struct lguest *lg, unsigned long gpgdir, u32 i); 188 void guest_set_pmd(struct lguest *lg, unsigned long gpgdir, u32 i); 249 if (!(cpu)->lg->dead) { \ 250 (cpu)->lg->dead = kasprintf(GFP_ATOMIC, fmt); \ 251 if (!(cpu)->lg->dead) \ [all …]
|
D | core.c | 173 bool lguest_address_ok(const struct lguest *lg, in lguest_address_ok() argument 176 return addr+len <= lg->pfn_limit * PAGE_SIZE && (addr+len >= addr); in lguest_address_ok() 186 if (!lguest_address_ok(cpu->lg, addr, bytes) in __lgread() 187 || copy_from_user(b, cpu->lg->mem_base + addr, bytes) != 0) { in __lgread() 198 if (!lguest_address_ok(cpu->lg, addr, bytes) in __lgwrite() 199 || copy_to_user(cpu->lg->mem_base + addr, b, bytes) != 0) in __lgwrite() 220 while (!cpu->lg->dead) { in run_guest() 260 if (cpu->lg->dead) in run_guest() 297 if (cpu->lg->dead == ERR_PTR(-ERESTART)) in run_guest()
|
D | interrupts_and_traps.c | 111 if (get_user(irq_enable, &cpu->lg->lguest_data->irq_enabled) == 0 in push_guest_interrupt_stack() 168 if (put_user(0, &cpu->lg->lguest_data->irq_enabled)) in guest_run_interrupt() 203 if (!cpu->lg->lguest_data) in interrupt_pending() 210 if (copy_from_user(&blk, cpu->lg->lguest_data->blocked_interrupts, in interrupt_pending() 235 if (put_user(X86_EFLAGS_IF, &cpu->lg->lguest_data->irq_enabled)) in try_deliver_interrupt() 241 if (get_user(irq_enabled, &cpu->lg->lguest_data->irq_enabled)) in try_deliver_interrupt() 246 &cpu->lg->lguest_data->irq_pending); in try_deliver_interrupt() 277 if (cpu->regs->eip == cpu->lg->noirq_iret) { in try_deliver_interrupt() 305 put_user(0, &cpu->lg->lguest_data->irq_pending); in try_deliver_interrupt() 341 bool check_syscall_vector(struct lguest *lg) in check_syscall_vector() argument [all …]
|
D | Makefile | 2 obj-$(CONFIG_LGUEST) += lg.o 3 lg-y = core.o hypercalls.o page_tables.o interrupts_and_traps.o \ 6 lg-$(CONFIG_X86_32) += x86/switcher_32.o x86/core.o
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-lynxpoint.c | 100 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); in lp_gpio_reg() local 110 return lg->reg_base + reg + reg_offset; in lp_gpio_reg() 115 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); in lp_gpio_request() local 120 pm_runtime_get(&lg->pdev->dev); /* should we put if failed */ in lp_gpio_request() 124 dev_err(&lg->pdev->dev, "gpio %d reserved for ACPI\n", offset); in lp_gpio_request() 140 struct lp_gpio *lg = container_of(chip, struct lp_gpio, chip); in lp_gpio_free() local 146 pm_runtime_put(&lg->pdev->dev); in lp_gpio_free() 152 struct lp_gpio *lg = container_of(gc, struct lp_gpio, chip); in lp_irq_type() local 156 unsigned long reg = lp_gpio_reg(&lg->chip, hwirq, LP_CONFIG1); in lp_irq_type() 158 if (hwirq >= lg->chip.ngpio) in lp_irq_type() [all …]
|
/linux-4.1.27/include/linux/ |
D | lglock.h | 54 void lg_lock_init(struct lglock *lg, char *name); 55 void lg_local_lock(struct lglock *lg); 56 void lg_local_unlock(struct lglock *lg); 57 void lg_local_lock_cpu(struct lglock *lg, int cpu); 58 void lg_local_unlock_cpu(struct lglock *lg, int cpu); 59 void lg_global_lock(struct lglock *lg); 60 void lg_global_unlock(struct lglock *lg); 67 #define lg_lock_init(lg, name) spin_lock_init(lg) argument 70 #define lg_local_lock_cpu(lg, cpu) spin_lock(lg) argument 71 #define lg_local_unlock_cpu(lg, cpu) spin_unlock(lg) argument
|
/linux-4.1.27/arch/s390/kernel/vdso64/ |
D | clock_gettime.S | 36 0: lg %r4,__VDSO_UPD_COUNT(%r5) /* load update counter */ 41 lg %r0,__VDSO_WTOM_SEC(%r5) 42 lg %r1,1(%r15) 62 3: lg %r4,__VDSO_UPD_COUNT(%r5) /* load update counter */ 65 lg %r0,__VDSO_WTOM_CRS_SEC(%r5) 66 lg %r1,__VDSO_WTOM_CRS_NSEC(%r5) 72 4: lg %r4,__VDSO_UPD_COUNT(%r5) /* load update counter */ 75 lg %r0,__VDSO_XTIME_CRS_SEC(%r5) 76 lg %r1,__VDSO_XTIME_CRS_NSEC(%r5) 82 5: lg %r4,__VDSO_UPD_COUNT(%r5) /* load update counter */ [all …]
|
D | gettimeofday.S | 29 lg %r4,__VDSO_UPD_COUNT(%r5) /* load update counter */ 33 lg %r1,1(%r15) 37 lg %r0,__VDSO_XTIME_SEC(%r5) /* tk->xtime_sec */
|
D | clock_getres.S | 41 lg %r0,0(%r1)
|
/linux-4.1.27/arch/s390/kernel/ |
D | entry.S | 99 lg %r14,__SF_EMPTY(%r15) # get control block pointer 127 0: lg %r14,\stack # are we already on the target stack? 134 1: lg %r15,\stack # load target stack 139 lg \scratch,__LC_EXIT_TIMER 143 lg \scratch,__LC_LAST_UPDATE_TIMER 182 lg %r4,__THREAD_info(%r2) # get thread_info of prev 183 lg %r5,__THREAD_info(%r3) # get thread_info of next 191 lg %r15,__THREAD_ksp(%r3) # load kernel stack of next 205 lg %r10,__LC_LAST_BREAK 206 lg %r12,__LC_THREAD_INFO [all …]
|
D | mcount.S | 46 lg %r4,0(%r4) 48 lg %r1,0(%r1) 58 lg %r2,(STACK_PTREGS_GPRS+14*8)(%r15) 59 lg %r3,(STACK_PTREGS_PSW+8)(%r15) 65 lg %r1,(STACK_PTREGS_PSW+8)(%r15)
|
D | swsusp.S | 76 lg %r0,__LC_LAST_UPDATE_TIMER 81 lg %r0,__LC_LAST_UPDATE_CLOCK 96 lg %r2,0(%r2) 145 lg %r1,0(%r1) 149 lg %r2,8(%r1) 150 lg %r4,0(%r1) 157 lg %r2,8(%r1) 159 lg %r1,16(%r1) 271 lg %r15,0x2f8(%r13) 279 lg %r4,0(%r4)
|
D | base.S | 16 0: lg %r15,__LC_PANIC_STACK # load panic stack 19 lg %r1,0(%r1) 39 lg %r1,0(%r1) 59 lg %r1,0(%r1) 95 lg %r4,0(%r4) # Save PSW
|
D | head_kdump.S | 29 lg %r2,0(%r2) # already relocated: 37 lg %r2,0x418(%r4) # Get kdump base 38 lg %r3,0x420(%r4) # Get kdump size 76 lg %r14,.Lstartup_kdump-0b(%r13)
|
D | head64.S | 23 lg %r12,.Lparmaddr-.LPG1(%r13) # pointer to parameter area 32 lg %r14,__TI_task(%r15) # cache current in lowcore
|
D | relocate_kernel.S | 60 lg %r5,0(%r2) # read another word for indirection page
|
D | reipl.S | 25 lg %r2,__LC_SAVE_AREA_RESTART
|
/linux-4.1.27/sound/mips/ |
D | ad1843.c | 312 int lg, rg, lm, rm; in ad1843_get_gain() local 316 ad1843_read_multi(ad1843, 2, gp->lfield, &lg, gp->rfield, &rg); in ad1843_get_gain() 318 lg = mask - lg; in ad1843_get_gain() 324 lg = 0; in ad1843_get_gain() 328 return lg << 0 | rg << 8; in ad1843_get_gain() 342 int lg = (newval >> 0) & mask; in ad1843_set_gain() local 344 int lm = (lg == 0) ? 1 : 0; in ad1843_set_gain() 348 lg = mask - lg; in ad1843_set_gain() 353 ad1843_write_multi(ad1843, 2, gp->lfield, lg, gp->rfield, rg); in ad1843_set_gain()
|
/linux-4.1.27/drivers/lguest/x86/ |
D | core.c | 174 "1"(__pa(cpu->lg->pgdirs[cpu->cpu_pgd].pgdir)), in run_guest_once() 418 if (cpu->lg->lguest_data && in lguest_arch_handle_trap() 420 &cpu->lg->lguest_data->cr2)) in lguest_arch_handle_trap() 659 if (!lguest_address_ok(cpu->lg, cpu->hcall->arg1, in lguest_arch_init_hypercalls() 660 sizeof(*cpu->lg->lguest_data))) in lguest_arch_init_hypercalls() 670 cpu->lg->lguest_data = cpu->lg->mem_base + cpu->hcall->arg1; in lguest_arch_init_hypercalls() 685 if (put_user(tsc_speed, &cpu->lg->lguest_data->tsc_khz)) in lguest_arch_init_hypercalls() 689 if (!check_syscall_vector(cpu->lg)) in lguest_arch_init_hypercalls()
|
/linux-4.1.27/arch/s390/boot/compressed/ |
D | head.S | 21 lg %r15,.Lstack-.LPG1(%r13) 26 lg %r2,.Loffset-.LPG1(%r13) 28 lg %r3,.Lmvsize-.LPG1(%r13)
|
/linux-4.1.27/Documentation/dvb/ |
D | lmedm04.txt | 43 dvb-usb-lme2510-lg.fw 49 dd if=US280D.sys ibs=1 skip=42360 count=3924 of=dvb-usb-lme2510-lg.fw 54 dd if=US280D.sys ibs=1 skip=35200 count=3850 of=dvb-usb-lme2510c-lg.fw
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 1863 struct logio_entry_24xx *lg; in qla24xx_login_fabric() local 1879 lg = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &lg_dma); in qla24xx_login_fabric() 1880 if (lg == NULL) { in qla24xx_login_fabric() 1885 memset(lg, 0, sizeof(struct logio_entry_24xx)); in qla24xx_login_fabric() 1887 lg->entry_type = LOGINOUT_PORT_IOCB_TYPE; in qla24xx_login_fabric() 1888 lg->entry_count = 1; in qla24xx_login_fabric() 1889 lg->handle = MAKE_HANDLE(req->id, lg->handle); in qla24xx_login_fabric() 1890 lg->nport_handle = cpu_to_le16(loop_id); in qla24xx_login_fabric() 1891 lg->control_flags = __constant_cpu_to_le16(LCF_COMMAND_PLOGI); in qla24xx_login_fabric() 1893 lg->control_flags |= __constant_cpu_to_le16(LCF_COND_PLOGI); in qla24xx_login_fabric() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/panel/ |
D | lg,lp129qe.txt | 4 - compatible: should be "lg,lp129qe"
|
D | lg,ld070wx3-sl01.txt | 4 - compatible: should be "lg,ld070wx3-sl01"
|
D | lg,lh500wx1-sd03.txt | 4 - compatible: should be "lg,lh500wx1-sd03"
|
/linux-4.1.27/net/rose/ |
D | rose_subr.c | 242 unsigned char l, lg, n = 0; in rose_parse_national() local 311 for (pt = p + 2, lg = 0 ; lg < l ; pt += AX25_ADDR_LEN, lg += AX25_ADDR_LEN) { in rose_parse_national()
|
D | af_rose.c | 1162 int lg; in rose_sendmsg() local 1182 lg = (ROSE_PACLEN > skb->len) ? skb->len : ROSE_PACLEN; in rose_sendmsg() 1185 skb_copy_from_linear_data(skb, skb_put(skbn, lg), lg); in rose_sendmsg() 1186 skb_pull(skb, lg); in rose_sendmsg()
|
/linux-4.1.27/fs/ntfs/ |
D | compress.c | 352 u16 lg, pt, length, max_non_overlap; in ntfs_decompress() local 387 lg = 0; in ntfs_decompress() 389 lg++; in ntfs_decompress() 399 dp_back_addr = dp_addr - (pt >> (12 - lg)) - 1; in ntfs_decompress() 404 length = (pt & (0xfff >> lg)) + 3; in ntfs_decompress()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 661 int lg; in mthca_map_cmd() local 681 lg = ffs(mthca_icm_addr(&iter) | mthca_icm_size(&iter)) - 1; in mthca_map_cmd() 682 if (lg < MTHCA_ICM_PAGE_SHIFT) { in mthca_map_cmd() 690 for (i = 0; i < mthca_icm_size(&iter) >> lg; ++i) { in mthca_map_cmd() 693 virt += 1 << lg; in mthca_map_cmd() 697 cpu_to_be64((mthca_icm_addr(&iter) + (i << lg)) | in mthca_map_cmd() 698 (lg - MTHCA_ICM_PAGE_SHIFT)); in mthca_map_cmd() 699 ts += 1 << (lg - 10); in mthca_map_cmd() 782 u8 lg; in mthca_QUERY_FW() local 823 MTHCA_GET(lg, outbox, QUERY_FW_MAX_CMD_OFFSET); in mthca_QUERY_FW() [all …]
|
/linux-4.1.27/fs/ext4/ |
D | mballoc.c | 2639 struct ext4_locality_group *lg; in ext4_mb_init() local 2640 lg = per_cpu_ptr(sbi->s_locality_groups, i); in ext4_mb_init() 2641 mutex_init(&lg->lg_mutex); in ext4_mb_init() 2643 INIT_LIST_HEAD(&lg->lg_prealloc_list[j]); in ext4_mb_init() 2644 spin_lock_init(&lg->lg_prealloc_lock); in ext4_mb_init() 2992 struct ext4_locality_group *lg = ac->ac_lg; in ext4_mb_normalize_group_request() local 2994 BUG_ON(lg == NULL); in ext4_mb_normalize_group_request() 3343 struct ext4_locality_group *lg; in ext4_mb_use_preallocated() local 3387 lg = ac->ac_lg; in ext4_mb_use_preallocated() 3388 if (lg == NULL) in ext4_mb_use_preallocated() [all …]
|
/linux-4.1.27/drivers/net/usb/ |
D | Makefile | 37 obj-$(CONFIG_USB_VL600) += lg-vl600.o
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.c | 1345 int lg; in mlx4_map_cmd() local 1364 lg = ffs(mlx4_icm_addr(&iter) | mlx4_icm_size(&iter)) - 1; in mlx4_map_cmd() 1365 if (lg < MLX4_ICM_PAGE_SHIFT) { in mlx4_map_cmd() 1374 for (i = 0; i < mlx4_icm_size(&iter) >> lg; ++i) { in mlx4_map_cmd() 1377 virt += 1 << lg; in mlx4_map_cmd() 1381 cpu_to_be64((mlx4_icm_addr(&iter) + (i << lg)) | in mlx4_map_cmd() 1382 (lg - MLX4_ICM_PAGE_SHIFT)); in mlx4_map_cmd() 1383 ts += 1 << (lg - 10); in mlx4_map_cmd() 1448 u8 lg; in mlx4_QUERY_FW() local 1488 MLX4_GET(lg, outbox, QUERY_FW_PPF_ID); in mlx4_QUERY_FW() [all …]
|
/linux-4.1.27/arch/x86/crypto/ |
D | crc32c-pcl-intel-asm_64.S | 272 # upper lg(j) bits of len_dw
|
/linux-4.1.27/drivers/hid/ |
D | Makefile | 14 hid-logitech-y := hid-lg.o
|
/linux-4.1.27/tools/lguest/ |
D | lguest.txt | 69 - "modprobe lg" if you built it as a module.
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | tegra114-tn7.dts | 42 compatible = "lg,ld070wx3-sl01";
|
D | tegra114-roth.dts | 42 compatible = "lg,lh500wx1-sd03";
|
D | tegra124-venice2.dts | 974 compatible = "lg,lp129qe", "simple-panel";
|
/linux-4.1.27/Documentation/devicetree/bindings/ |
D | vendor-prefixes.txt | 113 lg LG Corporation
|
/linux-4.1.27/Documentation/s390/ |
D | Debugging390.txt | 710 800005da: e3 40 f1 10 00 04 lg %r4,272(%r15)
|