Searched defs:off (Results 101 - 121 of 121) sorted by relevance

12345

/arch/ia64/kernel/
H A Dmodule.c246 long off; local
249 off = ( ((b1 & 0x00fffff000000000UL) >> 36) /* imm20b -> bit 0 */
252 return (long) plt->bundle[1] + 16*off;
H A Dunwind.c253 short off = -1; local
256 off = unw.pt_regs_offsets[reg];
258 if (off < 0) {
260 off = 0;
262 return (unsigned long) off;
306 nat_addr = addr + ireg->nat.off;
750 unsigned long off;
796 off = sr->spill_offset;
797 alloc_spill_area(&off, 16, sr->curr.reg + UNW_REG_F2, sr->curr.reg + UNW_REG_F31);
798 alloc_spill_area(&off,
748 unsigned long off; local
1722 unsigned long opc, dst, val, off; local
2247 long i, off; local
[all...]
/arch/m68k/include/asm/
H A Dmotorola_pgtable.h276 static inline pte_t pgoff_to_pte(unsigned off) argument
278 pte_t pte = { (off << 4) + _PAGE_FILE };
/arch/mips/net/
H A Dbpf_jit.c760 unsigned int i, off, load_order, condt; local
785 off = offsetof(struct sk_buff, len);
786 emit_load(r_A, r_skb, off, ctx);
877 off = offsetof(struct sk_buff, len);
878 emit_load(r_X, r_skb, off, ctx);
1227 off = offsetof(struct sk_buff, protocol);
1228 emit_half_load(r_A, r_skb, off, ctx);
1252 off = offsetof(struct thread_info, cpu);
1254 emit_load(r_A, 28, off, ctx);
1259 off
[all...]
/arch/mips/netlogic/xlp/
H A Dahci-init-xlp2.c169 static void sata_clear_glue_reg(u64 regbase, u32 off, u32 bit) argument
173 reg_val = nlm_read_sata_reg(regbase, off);
174 nlm_write_sata_reg(regbase, off, (reg_val & ~bit));
177 static void sata_set_glue_reg(u64 regbase, u32 off, u32 bit) argument
181 reg_val = nlm_read_sata_reg(regbase, off);
182 nlm_write_sata_reg(regbase, off, (reg_val | bit));
/arch/powerpc/kernel/
H A Drtas_flash.c315 size_t count, loff_t *off)
406 size_t count, loff_t *off)
502 size_t count, loff_t *off)
512 if ((*off >= VALIDATE_BUF_SIZE) ||
514 *off += count;
519 if (*off + count >= VALIDATE_BUF_SIZE) {
520 count = VALIDATE_BUF_SIZE - *off;
530 if (copy_from_user(args_buf->buf + *off, buf, count)) {
535 *off += count;
633 printk(KERN_ALERT "FLASH: this will take several minutes. Do not power off!\
314 rtas_flash_write(struct file *file, const char __user *buffer, size_t count, loff_t *off) argument
405 manage_flash_write(struct file *file, const char __user *buf, size_t count, loff_t *off) argument
501 validate_flash_write(struct file *file, const char __user *buf, size_t count, loff_t *off) argument
[all...]
/arch/s390/mm/
H A Dpgtable.c379 unsigned long off; local
389 for (off = 0; off < len; off += PMD_SIZE)
390 flush |= __gmap_unmap_by_gaddr(gmap, to + off);
410 unsigned long off; local
421 for (off = 0; off < len; off += PMD_SIZE) {
423 flush |= __gmap_unmap_by_gaddr(gmap, to + off);
[all...]
/arch/sparc/kernel/
H A Dpsycho_common.c131 unsigned long off = i * 8UL; local
133 tag[i] = upa_readq(base + PSYCHO_IOMMU_TAG+off);
134 data[i] = upa_readq(base + PSYCHO_IOMMU_DATA+off);
137 upa_writeq(0, base + PSYCHO_IOMMU_TAG + off);
138 upa_writeq(0, base + PSYCHO_IOMMU_DATA + off);
375 unsigned long off = i * 8; local
377 upa_writeq(0, pbm->controller_regs + PSYCHO_IOMMU_TAG + off);
378 upa_writeq(0, pbm->controller_regs + PSYCHO_IOMMU_DATA + off);
H A Dldc.c203 static unsigned long __advance(unsigned long off, unsigned long num_entries) argument
205 off += LDC_PACKET_SIZE;
206 if (off == (num_entries * LDC_PACKET_SIZE))
207 off = 0;
209 return off;
212 static unsigned long rx_advance(struct ldc_channel *lp, unsigned long off) argument
214 return __advance(off, lp->rx_num_entries);
217 static unsigned long tx_advance(struct ldc_channel *lp, unsigned long off) argument
219 return __advance(off, lp->tx_num_entries);
2020 unsigned long off, unsigne
2019 fill_cookies(struct cookie_state *sp, unsigned long pa, unsigned long off, unsigned long len) argument
[all...]
/arch/x86/mm/
H A Dinit_64.c104 int off = info->kernel_mapping ? pgd_index(__PAGE_OFFSET) : 0; local
107 pgd_t *pgd = pgd_page + pgd_index(addr) + off;
160 * noexec32=on|off
162 * To control the stack too use noexec=off
165 * off PROT_READ implies PROT_EXEC
171 else if (!strcmp(str, "off"))
/arch/arm/common/
H A Dedma.c1614 int i, j, off, ln, found = 0; local
1717 off = rsv_chans[i][0];
1719 clear_bits(off, ln,
1728 off = rsv_slots[i][0];
1730 set_bits(off, ln,
1740 off = xbar_chans[i][1];
1741 clear_bits(off, 1,
/arch/arm/mm/
H A Ddma-mapping.c692 unsigned long off = vma->vm_pgoff; local
699 if (off < nr_pages && nr_vma_pages <= (nr_pages - off)) {
701 pfn + off,
820 static void __dma_page_cpu_to_dev(struct page *page, unsigned long off, argument
825 dma_cache_maint_page(page, off, size, dir, dmac_map_area);
827 paddr = page_to_phys(page) + off;
836 static void __dma_page_dev_to_cpu(struct page *page, unsigned long off, argument
839 phys_addr_t paddr = page_to_phys(page) + off;
846 dma_cache_maint_page(page, off, siz
[all...]
/arch/ia64/hp/common/
H A Dsba_iommu.c85 ** error containment, and is therefore off by default. The page that is
851 int off = PDIR_INDEX(iovp); local
859 if (!(ioc->pdir_base[off] >> 60)) {
866 ASSERT(off < ioc->pdir_size);
877 ioc->pdir_base[off] &= ~(0x80000000000000FFULL);
884 ioc->pdir_base[off] = (0x80000000000000FFULL | prefetch_spill_page);
894 ASSERT(ioc->pdir_base[off] >> 63);
897 ioc->pdir_base[off] &= ~(0x80000000000000FFULL);
899 ioc->pdir_base[off] = (0x80000000000000FFULL | prefetch_spill_page);
901 off
1019 int off = PDIR_INDEX(iovp); local
[all...]
/arch/mips/mm/
H A Duasm.c453 long off)
457 rel->addr += off;
462 long off)
466 lab->addr += off;
473 long off = (long)(target - first); local
477 ISAFUNC(uasm_move_relocs(rel, first, end, off));
478 ISAFUNC(uasm_move_labels(lab, first, end, off));
452 uasm_move_relocs(struct uasm_reloc *rel, u32 *first, u32 *end, long off) argument
461 uasm_move_labels(struct uasm_label *lab, u32 *first, u32 *end, long off) argument
/arch/powerpc/mm/
H A Dnuma.c1144 if (strstr(p, "off"))
1165 if (!strcmp(p, "off")) {
1798 seq_puts(file, "off\n");
1809 size_t count, loff_t *off)
1811 char kbuf[4]; /* "on" or "off" plus null. */
1822 else if (!strncmp(kbuf, "off", 3))
1808 topology_write(struct file *file, const char __user *buf, size_t count, loff_t *off) argument
/arch/sparc/include/asm/
H A Dpgtable_64.h335 static inline pte_t pgoff_to_pte(unsigned long off) argument
337 off <<= PAGE_SHIFT;
345 : "=r" (off)
346 : "0" (off), "i" (_PAGE_FILE_4U), "i" (_PAGE_FILE_4V));
348 return __pte(off);
/arch/um/drivers/
H A Dubd_kern.c64 int bits, off; local
68 off = bit % bits;
69 return (data[n] & (1 << off)) != 0;
75 int bits, off; local
79 off = bit % bits;
80 data[n] |= (1 << off);
419 " UMLs and file locking will be turned off - this is appropriate for a\n"
1176 * device, and *cow_offset + 1 is off the end. So, just back it up
1403 __u64 off; local
1426 off
[all...]
/arch/x86/kernel/cpu/mcheck/
H A Dmce.c504 /* Always runs in MCE context with preempt off */
1517 * trips off incorrectly with the IOMMU & 3ware
1537 * Turn off MC4_MISC thresholding banks on those models since
1682 * Must be called with preempt off:
1800 size_t usize, loff_t *off)
1823 if (*off != 0 || usize < MCE_LOG_LEN*sizeof(struct mce))
1920 size_t usize, loff_t *off);
1924 size_t usize, loff_t *off))
1931 size_t usize, loff_t *off)
1934 return mce_write(filp, ubuf, usize, off);
1799 mce_chrdev_read(struct file *filp, char __user *ubuf, size_t usize, loff_t *off) argument
1922 register_mce_write_callback(ssize_t (fn)struct file *filp, const char __user *ubuf, size_t usize, loff_t *off)) argument
1930 mce_chrdev_write(struct file *filp, const char __user *ubuf, size_t usize, loff_t *off) argument
[all...]
/arch/ia64/kvm/
H A Dvcpu.h424 unsigned long off : 60; /* intra-region offset */ member in struct:kvm_va::__anon1828
/arch/powerpc/xmon/
H A Dxmon.c688 unsigned long off; local
690 off = nip - (unsigned long) bpts;
691 if (off >= sizeof(bpts))
693 off %= sizeof(struct bpt);
694 if (off != offsetof(struct bpt, instr[0])
695 && off != offsetof(struct bpt, instr[1]))
697 *offp = off - offsetof(struct bpt, instr[0]);
698 return (struct bpt *) (nip - off);
1812 " addr is optional. will start where left off.\n"
2966 else if (strncmp(p, "off",
[all...]
/arch/s390/kernel/
H A Dipl.c49 * - power off
413 loff_t off, size_t count)
415 return memory_read_from_buffer(buf, count, &off, IPL_PARMBLOCK_START,
430 loff_t off, size_t count)
435 return memory_read_from_buffer(buf, count, &off, scp_data, size);
707 char *buf, loff_t off, size_t count)
712 return memory_read_from_buffer(buf, count, &off, scp_data, size);
717 char *buf, loff_t off, size_t count)
722 if (off < 0)
725 if (off >
411 ipl_parameter_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
428 ipl_scp_data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
705 reipl_fcp_scpdata_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
715 reipl_fcp_scpdata_write(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
[all...]

Completed in 826 milliseconds

12345