/arch/arm/include/asm/ |
D | bitops.h | 201 #define find_first_zero_bit(p,sz) _find_first_zero_bit_le(p,sz) argument 202 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_le(p,sz,off) argument 203 #define find_first_bit(p,sz) _find_first_bit_le(p,sz) argument 204 #define find_next_bit(p,sz,off) _find_next_bit_le(p,sz,off) argument 210 #define find_first_zero_bit(p,sz) _find_first_zero_bit_be(p,sz) argument 211 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_be(p,sz,off) argument 212 #define find_first_bit(p,sz) _find_first_bit_be(p,sz) argument 213 #define find_next_bit(p,sz,off) _find_next_bit_be(p,sz,off) argument
|
/arch/x86/boot/tools/ |
D | build.c | 141 unsigned int i, sz, setup_sectors; in main() local 184 sz = sb.st_size; in main() 185 fprintf (stderr, "System is %d kB\n", (sz+1023)/1024); in main() 186 kernel = mmap(NULL, sz, PROT_READ, MAP_SHARED, fd, 0); in main() 190 sys_size = (sz + 15 + 4) / 16; in main() 197 file_sz = sz + i + ((sys_size * 16) - sz); in main() 245 crc = partial_crc32(kernel, sz, crc); in main() 246 if (fwrite(kernel, 1, sz, stdout) != sz) in main() 250 while (sz++ < (sys_size*16) - 4) { in main()
|
/arch/arm/mach-orion5x/ |
D | ts78xx-setup.c | 200 int sz; in ts78xx_ts_nand_write_buf() local 203 sz = min_t(int, 4 - off, len); in ts78xx_ts_nand_write_buf() 204 writesb(io_base, buf, sz); in ts78xx_ts_nand_write_buf() 205 buf += sz; in ts78xx_ts_nand_write_buf() 206 len -= sz; in ts78xx_ts_nand_write_buf() 209 sz = len >> 2; in ts78xx_ts_nand_write_buf() 210 if (sz) { in ts78xx_ts_nand_write_buf() 212 writesl(io_base, buf32, sz); in ts78xx_ts_nand_write_buf() 213 buf += sz << 2; in ts78xx_ts_nand_write_buf() 214 len -= sz << 2; in ts78xx_ts_nand_write_buf() [all …]
|
/arch/arm/mach-ux500/include/mach/ |
D | setup.h | 38 #define __IO_DEV_DESC(x, sz) { \ argument 41 .length = sz, \ 45 #define __MEM_DEV_DESC(x, sz) { \ argument 48 .length = sz, \
|
/arch/mn10300/boot/tools/ |
D | build.c | 71 unsigned int i, c, sz, setup_sectors; in main() local 148 sz = sb.st_size; in main() 149 fprintf(stderr, "System is %d kB\n", sz / 1024); in main() 150 sys_size = (sz + 15) / 16; in main() 159 while (sz > 0) { in main() 162 l = (sz > sizeof(buf)) ? sizeof(buf) : sz; in main() 172 sz -= l; in main()
|
/arch/ia64/sn/kernel/sn2/ |
D | sn_hwperf.c | 60 u64 sz; in sn_hwperf_enum_objects() local 68 sz = sn_hwperf_obj_cnt * sizeof(struct sn_hwperf_object_info); in sn_hwperf_enum_objects() 69 objbuf = vmalloc(sz); in sn_hwperf_enum_objects() 71 printk("sn_hwperf_enum_objects: vmalloc(%d) failed\n", (int)sz); in sn_hwperf_enum_objects() 77 0, sz, (u64) objbuf, 0, 0, NULL); in sn_hwperf_enum_objects() 189 size_t sz; in print_pci_topology() local 192 for (sz = PAGE_SIZE; sz < 16 * PAGE_SIZE; sz += PAGE_SIZE) { in print_pci_topology() 193 if (!(p = kmalloc(sz, GFP_KERNEL))) in print_pci_topology() 195 e = ia64_sn_ioif_get_pci_topology(__pa(p), sz); in print_pci_topology() 239 int sz, i, j; in sn_hwperf_get_nearest_node_objdata() local [all …]
|
/arch/arm/mach-bcmring/ |
D | mm.c | 23 #define IO_DESC(va, sz) { .virtual = va, \ argument 25 .length = sz, \ 28 #define MEM_DESC(va, sz) { .virtual = va, \ argument 30 .length = sz, \
|
/arch/x86/include/asm/ |
D | setup.h | 90 #define RESERVE_BRK(name,sz) \ argument 99 : : "i" (sz)); \ 119 #define RESERVE_BRK(name,sz) \ argument 122 1: .skip sz; \
|
D | uaccess_32.h | 206 int sz = __compiletime_object_size(to); in copy_from_user() local 208 if (likely(sz == -1 || sz >= n)) in copy_from_user()
|
/arch/arm/mach-ebsa110/include/mach/ |
D | io.h | 65 extern void insb(unsigned int port, void *buf, int sz); 66 extern void insw(unsigned int port, void *buf, int sz); 67 extern void insl(unsigned int port, void *buf, int sz); 69 extern void outsb(unsigned int port, const void *buf, int sz); 70 extern void outsw(unsigned int port, const void *buf, int sz); 71 extern void outsl(unsigned int port, const void *buf, int sz);
|
/arch/powerpc/platforms/wsp/ |
D | h8.c | 50 static void wsp_h8_puts(const char *s, int sz) in wsp_h8_puts() argument 54 for (i = 0; i < sz; i++) { in wsp_h8_puts() 64 static void wsp_h8_terminal_cmd(const char *cmd, int sz) in wsp_h8_terminal_cmd() argument 67 wsp_h8_puts(cmd, sz); in wsp_h8_terminal_cmd()
|
/arch/powerpc/platforms/cell/spufs/ |
D | coredump.c | 91 int i, sz, total = 0; in spufs_ctx_note_size() local 97 sz = spufs_coredump_read[i].size; in spufs_ctx_note_size() 103 total += roundup(sz, 4); in spufs_ctx_note_size() 171 int sz, rc, nread, total = 0; in spufs_arch_write_note() local 182 sz = spufs_coredump_read[i].size; in spufs_arch_write_note() 186 en.n_descsz = sz; in spufs_arch_write_note() 209 } while (nread == bufsz && total < sz); in spufs_arch_write_note() 216 rc = spufs_dump_align(file, buf, roundup(*foffset - total + sz, 4), in spufs_arch_write_note()
|
/arch/arm/mach-s3c24xx/include/mach/ |
D | io.h | 35 #define DECLARE_DYN_OUT(sz,fnsuffix,instr) \ argument 50 #define DECLARE_DYN_IN(sz,fnsuffix,instr) \ argument 51 static inline unsigned sz __in##fnsuffix (unsigned int port) \ 62 return (unsigned sz)value; \ 70 #define DECLARE_IO(sz,fnsuffix,instr) \ argument 71 DECLARE_DYN_IN(sz,fnsuffix,instr) \ 72 DECLARE_DYN_OUT(sz,fnsuffix,instr)
|
/arch/cris/boot/tools/ |
D | build.c | 108 int i,c,id,sz,tmp_int; in main() local 246 sz = N_SYMOFF(*ex) - GCC_HEADER + 4; in main() 252 sz = sb.st_size; in main() 253 fprintf (stderr, "System is %d kB\n", sz/1024); in main() 255 sys_size = (sz + 15) / 16; in main() 258 while (sz > 0) { in main() 261 l = sz; in main() 273 sz -= l; in main()
|
/arch/sparc/include/asm/ |
D | dma.h | 112 #define mmu_get_scsi_sgl(dev,sg,sz) BTFIXUP_CALL(mmu_get_scsi_sgl)(dev,sg,sz) argument 114 #define mmu_release_scsi_sgl(dev,sg,sz) BTFIXUP_CALL(mmu_release_scsi_sgl)(dev,sg,sz) argument
|
D | io_32.h | 208 #define memset_io(d,c,sz) _memset_io(d,c,sz) argument 223 #define sbus_memcpy_fromio(d, s, sz) _sbus_memcpy_fromio(d, s, sz) argument 237 #define memcpy_fromio(d,s,sz) _memcpy_fromio(d,s,sz) argument 253 #define sbus_memcpy_toio(d, s, sz) _sbus_memcpy_toio(d, s, sz) argument 268 #define memcpy_toio(d,s,sz) _memcpy_toio(d,s,sz) argument
|
D | io_64.h | 406 #define sbus_memset_io(d,c,sz) _sbus_memset_io(d,c,sz) argument 419 #define memset_io(d,c,sz) _memset_io(d,c,sz) argument 434 #define sbus_memcpy_fromio(d, s, sz) _sbus_memcpy_fromio(d, s, sz) argument 448 #define memcpy_fromio(d,s,sz) _memcpy_fromio(d,s,sz) argument 464 #define sbus_memcpy_toio(d, s, sz) _sbus_memcpy_toio(d, s, sz) argument 479 #define memcpy_toio(d,s,sz) _memcpy_toio(d,s,sz) argument
|
D | openprom.h | 32 char * (*v2_dumb_mem_alloc)(char *va, unsigned sz); 33 void (*v2_dumb_mem_free)(char *va, unsigned sz); 36 char * (*v2_dumb_mmap)(char *virta, int which_io, unsigned paddr, unsigned sz);
|
/arch/sparc/mm/ |
D | iommu.c | 241 static void iommu_get_scsi_sgl_noflush(struct device *dev, struct scatterlist *sg, int sz) in iommu_get_scsi_sgl_noflush() argument 245 while (sz != 0) { in iommu_get_scsi_sgl_noflush() 246 --sz; in iommu_get_scsi_sgl_noflush() 254 static void iommu_get_scsi_sgl_gflush(struct device *dev, struct scatterlist *sg, int sz) in iommu_get_scsi_sgl_gflush() argument 259 while (sz != 0) { in iommu_get_scsi_sgl_gflush() 260 --sz; in iommu_get_scsi_sgl_gflush() 268 static void iommu_get_scsi_sgl_pflush(struct device *dev, struct scatterlist *sg, int sz) in iommu_get_scsi_sgl_pflush() argument 273 while(sz != 0) { in iommu_get_scsi_sgl_pflush() 274 --sz; in iommu_get_scsi_sgl_pflush() 325 static void iommu_release_scsi_sgl(struct device *dev, struct scatterlist *sg, int sz) in iommu_release_scsi_sgl() argument [all …]
|
D | io-unit.c | 150 static void iounit_get_scsi_sgl(struct device *dev, struct scatterlist *sg, int sz) in iounit_get_scsi_sgl() argument 157 while (sz != 0) { in iounit_get_scsi_sgl() 158 --sz; in iounit_get_scsi_sgl() 180 static void iounit_release_scsi_sgl(struct device *dev, struct scatterlist *sg, int sz) in iounit_release_scsi_sgl() argument 187 while (sz != 0) { in iounit_release_scsi_sgl() 188 --sz; in iounit_release_scsi_sgl()
|
/arch/powerpc/mm/ |
D | hugetlbpage.c | 178 pte_t *huge_pte_alloc(struct mm_struct *mm, unsigned long addr, unsigned long sz) in huge_pte_alloc() argument 184 unsigned pshift = __ffs(sz); in huge_pte_alloc() 187 addr &= ~(sz-1); in huge_pte_alloc() 648 static noinline int gup_hugepte(pte_t *ptep, unsigned long sz, unsigned long addr, in gup_hugepte() argument 657 pte_end = (addr + sz) & ~(sz-1); in gup_hugepte() 675 page = head + ((addr & (sz-1)) >> PAGE_SHIFT); in gup_hugepte() 712 unsigned long sz) in hugepte_addr_end() argument 714 unsigned long __boundary = (addr + sz) & ~(sz-1); in hugepte_addr_end() 723 unsigned long sz = 1UL << hugepd_shift(*hugepd); in gup_hugepd() local 728 next = hugepte_addr_end(addr, end, sz); in gup_hugepd() [all …]
|
/arch/sh/mm/ |
D | tlb-debugfs.c | 97 const char *sz = " ?"; in tlb_seq_show() local 123 sz = tlb_sizes[i].size; in tlb_seq_show() 127 sz, valid ? "V" : "-", in tlb_seq_show()
|
/arch/arm/common/ |
D | dmabounce.c | 365 unsigned long off, size_t sz, enum dma_data_direction dir) in dmabounce_sync_for_cpu() argument 370 __func__, addr, off, sz, dir); in dmabounce_sync_for_cpu() 386 __func__, buf->safe + off, buf->ptr + off, sz); in dmabounce_sync_for_cpu() 387 memcpy(buf->ptr + off, buf->safe + off, sz); in dmabounce_sync_for_cpu() 394 unsigned long off, size_t sz, enum dma_data_direction dir) in dmabounce_sync_for_device() argument 399 __func__, addr, off, sz, dir); in dmabounce_sync_for_device() 415 __func__,buf->ptr + off, buf->safe + off, sz); in dmabounce_sync_for_device() 416 memcpy(buf->safe + off, buf->ptr + off, sz); in dmabounce_sync_for_device()
|
/arch/blackfin/kernel/ |
D | trace.c | 466 int sz = ((opcode >> LDST_sz_bits) & LDST_sz_mask); in decode_LDST_0() local 472 pr_cont("%s%i = ", (sz == 0 && Z == 1) ? "P" : "R", reg); in decode_LDST_0() 474 switch (sz) { in decode_LDST_0() 496 pr_cont(" = %s%i ", (sz == 0 && Z == 1) ? "P" : "R", reg); in decode_LDST_0() 498 if (sz) { in decode_LDST_0() 561 int sz = ((opcode >> LDSTidxI_sz_bits) & LDSTidxI_sz_mask); in decode_LDSTidxI_0() local 567 pr_cont("%s%i = ", sz == 0 && Z == 1 ? "P" : "R", reg); in decode_LDSTidxI_0() 569 if (sz == 1) in decode_LDSTidxI_0() 571 if (sz == 2) in decode_LDSTidxI_0() 577 if (W == 0 && sz != 0) { in decode_LDSTidxI_0() [all …]
|
/arch/m68k/include/asm/ |
D | openprom.h | 40 char * (*v2_dumb_mem_alloc)(char *va, unsigned sz); 41 void (*v2_dumb_mem_free)(char *va, unsigned sz); 44 char * (*v2_dumb_mmap)(char *virta, int which_io, unsigned paddr, unsigned sz);
|