Searched defs:aligned_len (Results 1 - 6 of 6) sorted by relevance

/drivers/infiniband/ulp/iser/
H A Diser_memory.c349 int aligned_len)
355 aligned_len, mem->size);
385 int aligned_len; local
392 aligned_len = iser_data_buf_aligned_len(mem, ibdev);
393 if (aligned_len != mem->dma_nents) {
396 cmd_dir, aligned_len);
707 int err, aligned_len; local
710 aligned_len = iser_data_buf_aligned_len(mem, ibdev);
711 if (aligned_len != mem->dma_nents) {
714 cmd_dir, aligned_len);
344 fall_to_bounce_buf(struct iscsi_iser_task *iser_task, struct ib_device *ibdev, struct iser_data_buf *mem, struct iser_data_buf *mem_copy, enum iser_data_dir cmd_dir, int aligned_len) argument
[all...]
/drivers/net/wireless/ti/wl12xx/
H A Dmain.c1326 u32 aligned_len = wlcore_calc_packet_alignment(wl, skb->len); local
1329 desc->wl128x_mem.extra_bytes = aligned_len - skb->len;
1330 desc->length = cpu_to_le16(aligned_len >> 2);
1341 int pad = aligned_len - skb->len;
1346 desc->length = cpu_to_le16(aligned_len >> 2);
/drivers/mtd/nand/
H A Dnand_base.c1211 int datafrag_len, eccfrag_len, aligned_len, aligned_pos; local
1257 aligned_len = eccfrag_len;
1259 aligned_len++;
1261 aligned_len++;
1265 chip->read_buf(mtd, &chip->oob_poi[aligned_pos], aligned_len);
/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c2046 u32 aligned_offset, aligned_len; local
2055 aligned_len = (eeprom->len + (eeprom->offset & 3) + 3) & ~3;
2057 if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) {
2058 buf = kmalloc(aligned_len, GFP_KERNEL);
2062 if (!err && aligned_len > 4)
2064 aligned_offset + aligned_len - 4,
2065 (__le32 *) & buf[aligned_len - 4]);
2076 for (p = (__le32 *) buf; !err && aligned_len; aligned_len -= 4, p++) {
/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c2883 u32 aligned_offset, aligned_len, *p; local
2890 aligned_len = (eeprom->len + (eeprom->offset & 3) + 3) & ~3;
2896 aligned_offset + aligned_len > start + EEPROMPFSIZE)
2900 if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) {
2904 buf = kmalloc(aligned_len, GFP_KERNEL);
2908 if (!err && aligned_len > 4)
2910 aligned_offset + aligned_len - 4,
2911 (u32 *)&buf[aligned_len - 4]);
2922 for (p = (u32 *)buf; !err && aligned_len; aligned_len
[all...]
/drivers/net/wireless/ipw2x00/
H A Dipw2100.c451 u32 aligned_len; local
473 aligned_len = len & (~0x3);
474 for (i = 0; i < aligned_len; i += 4, buf += 4, aligned_addr += 4)
478 dif_len = len - aligned_len;
489 u32 aligned_len; local
511 aligned_len = len & (~0x3);
512 for (i = 0; i < aligned_len; i += 4, buf += 4, aligned_addr += 4)
516 dif_len = len - aligned_len;

Completed in 163 milliseconds