aligned_len 398 arch/powerpc/platforms/ps3/mm.c unsigned long aligned_len = _ALIGN_UP(len+bus_addr-aligned_bus, aligned_len 404 arch/powerpc/platforms/ps3/mm.c aligned_bus + aligned_len <= c->bus_addr + c->len) aligned_len 408 arch/powerpc/platforms/ps3/mm.c if (aligned_bus + aligned_len <= c->bus_addr) aligned_len 427 arch/powerpc/platforms/ps3/mm.c unsigned long aligned_len = _ALIGN_UP(len + lpar_addr - aligned_lpar, aligned_len 434 arch/powerpc/platforms/ps3/mm.c if (aligned_lpar + aligned_len <= c->lpar_addr + c->len) aligned_len 442 arch/powerpc/platforms/ps3/mm.c if (aligned_lpar + aligned_len <= c->lpar_addr) { aligned_len 779 arch/powerpc/platforms/ps3/mm.c unsigned long aligned_len = _ALIGN_UP(len + phys_addr - aligned_phys, aligned_len 808 arch/powerpc/platforms/ps3/mm.c result = dma_sb_map_pages(r, aligned_phys, aligned_len, &c, iopte_flag); aligned_len 834 arch/powerpc/platforms/ps3/mm.c unsigned long aligned_len = _ALIGN_UP(len + phys_addr - aligned_phys, aligned_len 840 arch/powerpc/platforms/ps3/mm.c phys_addr, aligned_phys, aligned_len); aligned_len 854 arch/powerpc/platforms/ps3/mm.c result = dma_ioc0_map_pages(r, aligned_phys, aligned_len, &c, aligned_len 894 arch/powerpc/platforms/ps3/mm.c unsigned long aligned_len = _ALIGN_UP(len + bus_addr aligned_len 903 arch/powerpc/platforms/ps3/mm.c __func__, __LINE__, aligned_len); aligned_len 931 arch/powerpc/platforms/ps3/mm.c unsigned long aligned_len = _ALIGN_UP(len + bus_addr aligned_len 941 arch/powerpc/platforms/ps3/mm.c __func__, __LINE__, aligned_len); aligned_len 348 drivers/misc/mic/scif/scif_dma.c size_t aligned_len; aligned_len 350 drivers/misc/mic/scif/scif_dma.c aligned_len = ALIGN(len, PAGE_SIZE); aligned_len 353 drivers/misc/mic/scif/scif_dma.c aligned_len, &prot, 0, &pinned_pages); aligned_len 361 drivers/misc/mic/scif/scif_dma.c aligned_len >> PAGE_SHIFT, aligned_len 367 drivers/misc/mic/scif/scif_dma.c *out_window = scif_create_window(ep, aligned_len >> PAGE_SHIFT, aligned_len 2752 drivers/mtd/nand/raw/nand_base.c int datafrag_len, eccfrag_len, aligned_len, aligned_pos; aligned_len 2802 drivers/mtd/nand/raw/nand_base.c aligned_len = eccfrag_len; aligned_len 2804 drivers/mtd/nand/raw/nand_base.c aligned_len++; aligned_len 2807 drivers/mtd/nand/raw/nand_base.c aligned_len++; aligned_len 2812 drivers/mtd/nand/raw/nand_base.c aligned_len, false); aligned_len 2058 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c u32 aligned_offset, aligned_len; aligned_len 2067 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c aligned_len = (eeprom->len + (eeprom->offset & 3) + 3) & ~3; aligned_len 2069 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) { aligned_len 2070 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c buf = kmalloc(aligned_len, GFP_KERNEL); aligned_len 2074 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c if (!err && aligned_len > 4) aligned_len 2076 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c aligned_offset + aligned_len - 4, aligned_len 2077 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c (__le32 *) & buf[aligned_len - 4]); aligned_len 2088 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c for (p = (__le32 *) buf; !err && aligned_len; aligned_len -= 4, p++) { aligned_len 1158 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c u32 aligned_offset, aligned_len, *p; aligned_len 1165 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c aligned_len = (eeprom->len + (eeprom->offset & 3) + 3) & ~3; aligned_len 1171 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c aligned_offset + aligned_len > start + EEPROMPFSIZE) aligned_len 1175 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) { aligned_len 1178 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c buf = kvzalloc(aligned_len, GFP_KERNEL); aligned_len 1182 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (!err && aligned_len > 4) aligned_len 1184 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c aligned_offset + aligned_len - 4, aligned_len 1185 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c (u32 *)&buf[aligned_len - 4]); aligned_len 1197 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c for (p = (u32 *)buf; !err && aligned_len; aligned_len -= 4, p++) { aligned_len 437 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 aligned_len; aligned_len 459 drivers/net/wireless/intel/ipw2x00/ipw2100.c aligned_len = len & (~0x3); aligned_len 460 drivers/net/wireless/intel/ipw2x00/ipw2100.c for (i = 0; i < aligned_len; i += 4, buf += 4, aligned_addr += 4) aligned_len 464 drivers/net/wireless/intel/ipw2x00/ipw2100.c dif_len = len - aligned_len; aligned_len 475 drivers/net/wireless/intel/ipw2x00/ipw2100.c u32 aligned_len; aligned_len 497 drivers/net/wireless/intel/ipw2x00/ipw2100.c aligned_len = len & (~0x3); aligned_len 498 drivers/net/wireless/intel/ipw2x00/ipw2100.c for (i = 0; i < aligned_len; i += 4, buf += 4, aligned_addr += 4) aligned_len 502 drivers/net/wireless/intel/ipw2x00/ipw2100.c dif_len = len - aligned_len; aligned_len 1313 drivers/net/wireless/ti/wl12xx/main.c u32 aligned_len = wlcore_calc_packet_alignment(wl, skb->len); aligned_len 1316 drivers/net/wireless/ti/wl12xx/main.c desc->wl128x_mem.extra_bytes = aligned_len - skb->len; aligned_len 1317 drivers/net/wireless/ti/wl12xx/main.c desc->length = cpu_to_le16(aligned_len >> 2); aligned_len 1328 drivers/net/wireless/ti/wl12xx/main.c int pad = aligned_len - skb->len; aligned_len 1333 drivers/net/wireless/ti/wl12xx/main.c desc->length = cpu_to_le16(aligned_len >> 2); aligned_len 721 fs/ubifs/io.c int err, written, n, aligned_len = ALIGN(len, 8); aligned_len 739 fs/ubifs/io.c if (c->leb_size - wbuf->offs - wbuf->used < aligned_len) { aligned_len 749 fs/ubifs/io.c if (aligned_len <= wbuf->avail) { aligned_len 756 fs/ubifs/io.c if (aligned_len == wbuf->avail) { aligned_len 776 fs/ubifs/io.c wbuf->avail -= aligned_len; aligned_len 777 fs/ubifs/io.c wbuf->used += aligned_len; aligned_len 802 fs/ubifs/io.c aligned_len -= wbuf->avail; aligned_len 821 fs/ubifs/io.c aligned_len -= wbuf->size; aligned_len 831 fs/ubifs/io.c n = aligned_len >> c->max_write_shift; aligned_len 841 fs/ubifs/io.c aligned_len -= n; aligned_len 847 fs/ubifs/io.c if (aligned_len) aligned_len 859 fs/ubifs/io.c wbuf->avail = wbuf->size - aligned_len; aligned_len 860 fs/ubifs/io.c wbuf->used = aligned_len; aligned_len 1789 fs/ubifs/journal.c int err, len1, len2, aligned_len, aligned_len1, lnum, offs; aligned_len 1805 fs/ubifs/journal.c aligned_len = aligned_len1 + ALIGN(len2, 8); aligned_len 1807 fs/ubifs/journal.c aligned_len += ubifs_auth_node_sz(c); aligned_len 1809 fs/ubifs/journal.c ino = kzalloc(aligned_len, GFP_NOFS); aligned_len 1814 fs/ubifs/journal.c err = make_reservation(c, BASEHD, aligned_len); aligned_len 1827 fs/ubifs/journal.c err = write_head(c, BASEHD, ino, aligned_len, &lnum, &offs, 0);