/linux-3.4.99/fs/ubifs/ |
D | scan.c | 42 int pad_len = 0, max_pad_len = min_t(int, UBIFS_PAD_NODE_SZ, len); in scan_padding_bytes() local 47 while (pad_len < max_pad_len && *p++ == UBIFS_PADDING_BYTE) in scan_padding_bytes() 48 pad_len += 1; in scan_padding_bytes() 50 if (!pad_len || (pad_len & 7)) in scan_padding_bytes() 53 dbg_scan("%d padding bytes", pad_len); in scan_padding_bytes() 55 return pad_len; in scan_padding_bytes() 95 int pad_len = le32_to_cpu(pad->pad_len); in ubifs_scan_a_node() local 99 if (pad_len < 0 || in ubifs_scan_a_node() 100 offs + node_len + pad_len > c->leb_size) { in ubifs_scan_a_node() 110 if ((node_len + pad_len) & 7) { in ubifs_scan_a_node() [all …]
|
D | recovery.c | 443 int empty_offs, pad_len; in clean_buf() local 450 pad_len = empty_offs - *offs; in clean_buf() 451 ubifs_pad(c, *buf, pad_len); in clean_buf() 452 *offs += pad_len; in clean_buf() 453 *buf += pad_len; in clean_buf() 454 *len -= pad_len; in clean_buf() 550 int pad_len = len - ALIGN(endpt, 8); in fix_unclean_leb() local 552 if (pad_len > 0) { in fix_unclean_leb() 553 void *buf = sleb->buf + len - pad_len; in fix_unclean_leb() 555 ubifs_pad(c, buf, pad_len); in fix_unclean_leb() [all …]
|
D | lpt_commit.c | 1088 int offs, pad_len; in get_pad_len() local 1093 pad_len = ALIGN(offs, c->min_io_size) - offs; in get_pad_len() 1094 return pad_len; in get_pad_len() 1171 int pad_len; in lpt_gc_lnum() local 1173 pad_len = get_pad_len(c, buf, len); in lpt_gc_lnum() 1174 if (pad_len) { in lpt_gc_lnum() 1175 buf += pad_len; in lpt_gc_lnum() 1176 len -= pad_len; in lpt_gc_lnum() 1661 int i, pad_len; in dbg_check_ltab_lnum() local 1663 pad_len = get_pad_len(c, p, len); in dbg_check_ltab_lnum() [all …]
|
D | tnc_commit.c | 116 int len, gap_remains, gap_pos, written, pad_len; in fill_gap() local 151 pad_len = c->ileb_len - gap_pos; in fill_gap() 154 pad_len = gap_remains; in fill_gap() 156 lnum, gap_start, gap_end, gap_end - gap_start, written, pad_len); in fill_gap() 157 ubifs_pad(c, c->ileb_buf + gap_pos, pad_len); in fill_gap() 158 *dirt += pad_len; in fill_gap()
|
D | ubifs-media.h | 590 __le32 pad_len; member
|
D | io.c | 336 pad_node->pad_len = cpu_to_le32(pad); in ubifs_pad()
|
/linux-3.4.99/drivers/s390/crypto/ |
D | zcrypt_pcicc.c | 177 int vud_len, pad_len, size; in ICAMEX_msg_to_type6MEX_msg() local 192 pad_len = strnlen(msg->text + 2, mex->inputdatalength - 2) + 3; in ICAMEX_msg_to_type6MEX_msg() 193 if (pad_len <= 9 || pad_len >= mex->inputdatalength) in ICAMEX_msg_to_type6MEX_msg() 195 vud_len = mex->inputdatalength - pad_len; in ICAMEX_msg_to_type6MEX_msg() 196 memmove(msg->text, msg->text + pad_len, vud_len); in ICAMEX_msg_to_type6MEX_msg() 357 unsigned int reply_len, pad_len; in convert_type86() local 394 pad_len = outputdatalength - reply_len; in convert_type86() 395 if (pad_len > 0) { in convert_type86() 396 if (pad_len < 10) in convert_type86() 399 if (copy_to_user(outputdata, static_pad, pad_len - 1)) in convert_type86() [all …]
|
D | zcrypt_cca_key.h | 120 unsigned short pad_len; member 292 int short_len, long_len, pad_len, key_len, size; in zcrypt_type6_crt_key() local 298 pad_len = -(3*long_len + 2*short_len) & 7; in zcrypt_type6_crt_key() 299 key_len = 3*long_len + 2*short_len + pad_len + crt->inputdatalength; in zcrypt_type6_crt_key() 323 key->pvt.pad_len = pad_len; in zcrypt_type6_crt_key() 336 memset(key->key_parts + 3*long_len + 2*short_len + pad_len, in zcrypt_type6_crt_key()
|
D | zcrypt_pcixcc.c | 442 unsigned int reply_len, pad_len; in convert_type86_ica() local 479 pad_len = outputdatalength - reply_len; in convert_type86_ica() 480 if (pad_len > 0) { in convert_type86_ica() 481 if (pad_len < 10) in convert_type86_ica() 484 if (copy_to_user(outputdata, static_pad, pad_len - 1)) in convert_type86_ica() 486 if (put_user(0, outputdata + pad_len - 1)) in convert_type86_ica() 490 if (copy_to_user(outputdata + pad_len, data, reply_len)) in convert_type86_ica()
|
/linux-3.4.99/crypto/ |
D | sha512_generic.c | 208 unsigned int index, pad_len; in sha512_final() local 217 pad_len = (index < 112) ? (112 - index) : ((128+112) - index); in sha512_final() 218 sha512_update(desc, padding, pad_len); in sha512_final()
|
D | sha256_generic.c | 286 unsigned int index, pad_len; in sha256_final() local 295 pad_len = (index < 56) ? (56 - index) : ((64+56) - index); in sha256_final() 296 sha256_update(desc, padding, pad_len); in sha256_final()
|
/linux-3.4.99/drivers/net/wireless/wl12xx/ |
D | rx.c | 176 skb->len - desc->pad_len, in wl1271_rx_handle_data() 180 skb_trim(skb, skb->len - desc->pad_len); in wl1271_rx_handle_data()
|
D | rx.h | 125 u8 pad_len; member
|
/linux-3.4.99/block/ |
D | blk-merge.c | 174 unsigned int pad_len = in blk_rq_map_sg() local 177 sg->length += pad_len; in blk_rq_map_sg() 178 rq->extra_len += pad_len; in blk_rq_map_sg()
|
/linux-3.4.99/drivers/net/wireless/ath/ath9k/ |
D | hif_usb.c | 559 u16 pad_len; in ath9k_hif_usb_rx_stream() local 572 pad_len = 4 - (pkt_len & 0x3); in ath9k_hif_usb_rx_stream() 573 if (pad_len == 4) in ath9k_hif_usb_rx_stream() 574 pad_len = 0; in ath9k_hif_usb_rx_stream() 577 index = index + 4 + pkt_len + pad_len; in ath9k_hif_usb_rx_stream() 584 hif_dev->rx_pad_len = pad_len; in ath9k_hif_usb_rx_stream()
|
/linux-3.4.99/drivers/net/ethernet/realtek/ |
D | atp.c | 499 static void write_packet(long ioaddr, int length, unsigned char *packet, int pad_len, int data_mode) in write_packet() argument 504 pad_len++; in write_packet() 513 } while (--length > pad_len) ; in write_packet() 529 while (--length > pad_len) in write_packet()
|
/linux-3.4.99/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 1446 int pad_len; in bnx2i_process_login_resp() local 1476 pad_len = 0; in bnx2i_process_login_resp() 1478 pad_len = 4 - (pld_len % 4); in bnx2i_process_login_resp() 1480 if (pad_len) { in bnx2i_process_login_resp() 1482 for (i = 0; i < pad_len; i++) { in bnx2i_process_login_resp() 1514 int pad_len; in bnx2i_process_text_resp() local 1537 pad_len = 0; in bnx2i_process_text_resp() 1539 pad_len = 4 - (pld_len % 4); in bnx2i_process_text_resp() 1541 if (pad_len) { in bnx2i_process_text_resp() 1543 for (i = 0; i < pad_len; i++) { in bnx2i_process_text_resp()
|
/linux-3.4.99/fs/logfs/ |
D | journal.c | 609 ssize_t compr_len, pad_len; in __logfs_write_je() local 622 pad_len = ALIGN(compr_len, 16); in __logfs_write_je() 623 memset(data + compr_len, 0, pad_len - compr_len); in __logfs_write_je()
|
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/ |
D | htc.c | 1927 int pad_len; in ath6kl_htc_rx_bundle() local 1932 pad_len = CALC_TXRX_PADDED_LEN(target, in ath6kl_htc_rx_bundle() 1935 if ((rem_space - pad_len) < 0) { in ath6kl_htc_rx_bundle() 1940 rem_space -= pad_len; in ath6kl_htc_rx_bundle() 1953 scat_req->scat_list[i].len = pad_len; in ath6kl_htc_rx_bundle()
|
/linux-3.4.99/drivers/scsi/ |
D | libiscsi.c | 194 unsigned rlen, pad_len; in iscsi_prep_ecdb_ahs() local 205 pad_len = iscsi_padding(rlen); in iscsi_prep_ecdb_ahs() 208 sizeof(ecdb_ahdr->ahstype) + ahslength + pad_len); in iscsi_prep_ecdb_ahs() 212 if (pad_len) in iscsi_prep_ecdb_ahs() 213 memset(&ecdb_ahdr->ecdb[rlen], 0, pad_len); in iscsi_prep_ecdb_ahs() 223 "%u\n", cmd->cmd_len, rlen, pad_len, ahslength, in iscsi_prep_ecdb_ahs()
|
/linux-3.4.99/arch/mips/include/asm/octeon/ |
D | cvmx-pip-defs.h | 614 uint64_t pad_len:1; member 684 uint64_t pad_len:1; member
|
D | cvmx-agl-defs.h | 415 uint64_t pad_len:1; member 428 uint64_t pad_len:1; member
|
D | cvmx-gmxx-defs.h | 659 uint64_t pad_len:1; member 671 uint64_t pad_len:1; member
|
/linux-3.4.99/drivers/net/ethernet/octeon/ |
D | octeon_mgmt.c | 854 rxx_frm_ctl.s.pad_len = 1; in octeon_mgmt_open()
|
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 1531 int pad_len = 60 - skb->len; in ixgbe_cleanup_headers() local 1533 if (skb_pad(skb, pad_len)) in ixgbe_cleanup_headers() 1535 __skb_put(skb, pad_len); in ixgbe_cleanup_headers()
|