/drivers/staging/zcache/ |
D | debug.h | 37 static inline void inc_zcache_eph_zbytes(unsigned clen) in inc_zcache_eph_zbytes() argument 39 zcache_eph_zbytes = atomic_long_add_return(clen, &zcache_eph_zbytes_atomic); in inc_zcache_eph_zbytes() 50 static inline void inc_zcache_pers_zbytes(unsigned clen) in inc_zcache_pers_zbytes() argument 52 zcache_pers_zbytes = atomic_long_add_return(clen, &zcache_pers_zbytes_atomic); in inc_zcache_pers_zbytes() 261 static inline void inc_zcache_eph_zbytes(unsigned clen) { }; in inc_zcache_eph_zbytes() argument 263 static inline void inc_zcache_pers_zbytes(unsigned clen) { }; in inc_zcache_pers_zbytes() argument
|
D | zcache-main.c | 376 unsigned clen = size; in zcache_pampd_eph_create() local 381 clen = 0; in zcache_pampd_eph_create() 388 zcache_compress(page, &cdata, &clen); in zcache_pampd_eph_create() 389 if (clen > zbud_max_buddy_size()) { in zcache_pampd_eph_create() 394 BUG_ON(clen > zbud_max_buddy_size()); in zcache_pampd_eph_create() 398 pampd = (void *)zbud_match_prep(th, true, cdata, clen); in zcache_pampd_eph_create() 417 pampd = (void *)zbud_create_prep(th, true, cdata, clen, newpage); in zcache_pampd_eph_create() 422 inc_zcache_eph_zbytes(clen); in zcache_pampd_eph_create() 436 unsigned clen = size; in zcache_pampd_pers_create() local 448 clen = 0; in zcache_pampd_pers_create() [all …]
|
/drivers/net/ethernet/amd/ |
D | declance.c | 330 unsigned short clen; in cp_to_buf() local 337 clen = len >> 1; in cp_to_buf() 341 while (clen--) { in cp_to_buf() 346 clen = len & 1; in cp_to_buf() 349 while (clen--) { in cp_to_buf() 356 clen = len >> 4; in cp_to_buf() 359 while (clen--) { in cp_to_buf() 374 clen = len & 15; in cp_to_buf() 377 while (clen--) { in cp_to_buf() 389 unsigned short clen; in cp_from_buf() local [all …]
|
/drivers/infiniband/hw/ipath/ |
D | ipath_diag.c | 329 u32 plen, clen, pbufn; in ipath_diagpkt_write() local 382 clen = dp.len >> 2; in ipath_diagpkt_write() 476 __iowrite32_copy(piobuf + 2, tmpbuf, clen - 1); in ipath_diagpkt_write() 478 __raw_writel(tmpbuf[clen - 1], piobuf + clen + 1); in ipath_diagpkt_write() 480 __iowrite32_copy(piobuf + 2, tmpbuf, clen); in ipath_diagpkt_write()
|
/drivers/tty/ |
D | n_gsm.c | 1027 u32 modem, int clen) in gsm_process_modem() argument 1038 if (clen == 2) in gsm_process_modem() 1088 static void gsm_control_modem(struct gsm_mux *gsm, u8 *data, int clen) in gsm_control_modem() argument 1093 int len = clen; in gsm_control_modem() 1119 gsm_process_modem(tty, dlci, modem, clen); in gsm_control_modem() 1124 gsm_control_reply(gsm, CMD_MSC, data, clen); in gsm_control_modem() 1138 static void gsm_control_rls(struct gsm_mux *gsm, u8 *data, int clen) in gsm_control_rls() argument 1143 int len = clen; in gsm_control_rls() 1175 gsm_control_reply(gsm, CMD_RLS, data, clen); in gsm_control_rls() 1193 u8 *data, int clen) in gsm_control_message() argument [all …]
|
/drivers/block/zram/ |
D | zram_drv.c | 584 size_t clen; in zram_bvec_write() local 636 ret = zcomp_compress(zram->comp, zstrm, uncmem, &clen); in zram_bvec_write() 648 if (unlikely(clen > max_zpage_size)) { in zram_bvec_write() 649 clen = PAGE_SIZE; in zram_bvec_write() 654 handle = zs_malloc(meta->mem_pool, clen); in zram_bvec_write() 657 index, clen); in zram_bvec_write() 673 if ((clen == PAGE_SIZE) && !is_partial_io(bvec)) { in zram_bvec_write() 678 memcpy(cmem, src, clen); in zram_bvec_write() 693 zram_set_obj_size(meta, index, clen); in zram_bvec_write() 697 atomic64_add(clen, &zram->stats.compr_data_size); in zram_bvec_write()
|
/drivers/net/wireless/ath/carl9170/ |
D | rx.c | 880 unsigned int tlen, wlen = 0, clen = 0; in carl9170_rx_stream() local 889 clen = le16_to_cpu(rx_stream->length); in carl9170_rx_stream() 890 wlen = ALIGN(clen, 4); in carl9170_rx_stream() 966 ar->rx_failover_missing = clen - tlen; in carl9170_rx_stream() 969 __carl9170_rx(ar, rx_stream->payload, clen); in carl9170_rx_stream() 988 "data:%d, rx:%d, pending:%d ]\n", clen, wlen, tlen, in carl9170_rx_stream()
|
/drivers/infiniband/hw/qib/ |
D | qib_diag.c | 549 u32 plen, clen, pbufn; in qib_diagpkt_write() local 596 clen = dp.len >> 2; in qib_diagpkt_write() 641 qib_pio_copy(piobuf + 2, tmpbuf, clen - 1); in qib_diagpkt_write() 643 __raw_writel(tmpbuf[clen - 1], piobuf + clen + 1); in qib_diagpkt_write() 645 qib_pio_copy(piobuf + 2, tmpbuf, clen); in qib_diagpkt_write()
|
/drivers/isdn/hisax/ |
D | l3_1tr6.c | 522 u_char clen = 1; in l3_1tr6_disconnect_req() local 529 clen = 0; in l3_1tr6_disconnect_req() 541 *p++ = clen; /* Laenge */ in l3_1tr6_disconnect_req() 542 if (clen) in l3_1tr6_disconnect_req() 584 u_char clen = 1; in l3_1tr6_t305() local 592 clen = 0; in l3_1tr6_t305() 600 *p++ = clen; /* Laenge */ in l3_1tr6_t305() 601 if (clen) in l3_1tr6_t305()
|
/drivers/macintosh/ |
D | smu.c | 911 unsigned int clen = min(len, chunk); in smu_read_datablock() local 923 params[6] = clen; in smu_read_datablock() 931 if (cmd.reply_len != clen) { in smu_read_datablock() 934 cmd.reply_len, clen); in smu_read_datablock() 937 len -= clen; in smu_read_datablock() 938 addr += clen; in smu_read_datablock() 939 dest += clen; in smu_read_datablock()
|
/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 289 unsigned long off, len, clen; in fcoe_fc_crc() local 300 clen = min(len, PAGE_SIZE - (off & ~PAGE_MASK)); in fcoe_fc_crc() 303 crc = crc32(crc, data + (off & ~PAGE_MASK), clen); in fcoe_fc_crc() 305 off += clen; in fcoe_fc_crc() 306 len -= clen; in fcoe_fc_crc()
|
/drivers/scsi/ |
D | gdth_ioctl.h | 92 u32 clen; /* SCSI cmd. length(6,10,12) */ member 111 u32 clen; /* SCSI cmd. length(6,..,16) */ member
|
D | gdth.c | 2664 cmdp->u.raw64.clen = scp->cmd_len; in gdth_fill_raw_cmd() 2680 cmdp->u.raw.clen = scp->cmd_len; in gdth_fill_raw_cmd() 4234 gen.command.u.raw64.clen = gen.command.u.raw.clen; in ioc_general()
|
/drivers/staging/zcache/ramster/ |
D | ramster.c | 262 int clen = pampd_remote_size(pampd), c; in ramster_pampd_repatriate_preload() local 287 ret_pampd = zcache_pampd_create(NULL, clen, true, false, &th); in ramster_pampd_repatriate_preload()
|
/drivers/md/ |
D | raid5.c | 748 int clen; in async_copy_data() local 758 clen = STRIPE_SIZE - page_offset; in async_copy_data() 760 clen = len; in async_copy_data() 762 if (clen > 0) { in async_copy_data() 767 b_offset, clen, &submit); in async_copy_data() 770 page_offset, clen, &submit); in async_copy_data() 775 if (clen < len) /* hit end of page */ in async_copy_data()
|