Searched refs:blen (Results 1 - 63 of 63) sorted by relevance

/linux-4.1.27/crypto/
H A Dtcrypt.h31 unsigned int blen; /* buffer length */ member in struct:hash_speed
74 { .blen = 16, .plen = 16, },
75 { .blen = 64, .plen = 16, },
76 { .blen = 64, .plen = 64, },
77 { .blen = 256, .plen = 16, },
78 { .blen = 256, .plen = 64, },
79 { .blen = 256, .plen = 256, },
80 { .blen = 1024, .plen = 16, },
81 { .blen = 1024, .plen = 256, },
82 { .blen = 1024, .plen = 1024, },
83 { .blen = 2048, .plen = 16, },
84 { .blen = 2048, .plen = 256, },
85 { .blen = 2048, .plen = 1024, },
86 { .blen = 2048, .plen = 2048, },
87 { .blen = 4096, .plen = 16, },
88 { .blen = 4096, .plen = 256, },
89 { .blen = 4096, .plen = 1024, },
90 { .blen = 4096, .plen = 4096, },
91 { .blen = 8192, .plen = 16, },
92 { .blen = 8192, .plen = 256, },
93 { .blen = 8192, .plen = 1024, },
94 { .blen = 8192, .plen = 4096, },
95 { .blen = 8192, .plen = 8192, },
98 { .blen = 0, .plen = 0, }
102 { .blen = 16, .plen = 16, .klen = 16, },
103 { .blen = 64, .plen = 16, .klen = 16, },
104 { .blen = 64, .plen = 64, .klen = 16, },
105 { .blen = 256, .plen = 16, .klen = 16, },
106 { .blen = 256, .plen = 64, .klen = 16, },
107 { .blen = 256, .plen = 256, .klen = 16, },
108 { .blen = 1024, .plen = 16, .klen = 16, },
109 { .blen = 1024, .plen = 256, .klen = 16, },
110 { .blen = 1024, .plen = 1024, .klen = 16, },
111 { .blen = 2048, .plen = 16, .klen = 16, },
112 { .blen = 2048, .plen = 256, .klen = 16, },
113 { .blen = 2048, .plen = 1024, .klen = 16, },
114 { .blen = 2048, .plen = 2048, .klen = 16, },
115 { .blen = 4096, .plen = 16, .klen = 16, },
116 { .blen = 4096, .plen = 256, .klen = 16, },
117 { .blen = 4096, .plen = 1024, .klen = 16, },
118 { .blen = 4096, .plen = 4096, .klen = 16, },
119 { .blen = 8192, .plen = 16, .klen = 16, },
120 { .blen = 8192, .plen = 256, .klen = 16, },
121 { .blen = 8192, .plen = 1024, .klen = 16, },
122 { .blen = 8192, .plen = 4096, .klen = 16, },
123 { .blen = 8192, .plen = 8192, .klen = 16, },
126 { .blen = 0, .plen = 0, .klen = 0, }
H A Dtcrypt.c76 struct scatterlist *sg, int blen, int secs) test_cipher_jiffies()
85 ret = crypto_blkcipher_encrypt(desc, sg, sg, blen); test_cipher_jiffies()
87 ret = crypto_blkcipher_decrypt(desc, sg, sg, blen); test_cipher_jiffies()
94 bcount, secs, (long)bcount * blen); test_cipher_jiffies()
99 struct scatterlist *sg, int blen) test_cipher_cycles()
110 ret = crypto_blkcipher_encrypt(desc, sg, sg, blen); test_cipher_cycles()
112 ret = crypto_blkcipher_decrypt(desc, sg, sg, blen); test_cipher_cycles()
124 ret = crypto_blkcipher_encrypt(desc, sg, sg, blen); test_cipher_cycles()
126 ret = crypto_blkcipher_decrypt(desc, sg, sg, blen); test_cipher_cycles()
140 (cycles + 4) / 8, blen); test_cipher_cycles()
146 int blen, int secs) test_aead_jiffies()
164 bcount, secs, (long)bcount * blen); test_aead_jiffies()
168 static int test_aead_cycles(struct aead_request *req, int enc, int blen) test_aead_cycles() argument
209 (cycles + 4) / 8, blen); test_aead_cycles()
520 struct scatterlist *sg, int blen, test_hash_jiffies_digest()
529 ret = crypto_hash_digest(desc, sg, blen, out); test_hash_jiffies_digest()
535 bcount / secs, ((long)bcount * blen) / secs); test_hash_jiffies_digest()
541 int blen, int plen, char *out, int secs) test_hash_jiffies()
547 if (plen == blen) test_hash_jiffies()
548 return test_hash_jiffies_digest(desc, sg, blen, out, secs); test_hash_jiffies()
555 for (pcount = 0; pcount < blen; pcount += plen) { test_hash_jiffies()
567 bcount / secs, ((long)bcount * blen) / secs); test_hash_jiffies()
573 struct scatterlist *sg, int blen, char *out) test_hash_cycles_digest()
583 ret = crypto_hash_digest(desc, sg, blen, out); test_hash_cycles_digest()
594 ret = crypto_hash_digest(desc, sg, blen, out); test_hash_cycles_digest()
610 cycles / 8, cycles / (8 * blen)); test_hash_cycles_digest()
616 int blen, int plen, char *out) test_hash_cycles()
622 if (plen == blen) test_hash_cycles()
623 return test_hash_cycles_digest(desc, sg, blen, out); test_hash_cycles()
632 for (pcount = 0; pcount < blen; pcount += plen) { test_hash_cycles()
651 for (pcount = 0; pcount < blen; pcount += plen) { test_hash_cycles()
672 cycles / 8, cycles / (8 * blen)); test_hash_cycles()
719 for (i = 0; speed[i].blen != 0; i++) { test_hash_speed()
720 if (speed[i].blen > TVMEMSIZE * PAGE_SIZE) { test_hash_speed()
723 speed[i].blen, TVMEMSIZE * PAGE_SIZE); test_hash_speed()
732 i, speed[i].blen, speed[i].plen, speed[i].blen / speed[i].plen); test_hash_speed()
735 ret = test_hash_jiffies(&desc, sg, speed[i].blen, test_hash_speed()
738 ret = test_hash_cycles(&desc, sg, speed[i].blen, test_hash_speed()
779 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen, test_ahash_jiffies_digest() argument
794 bcount / secs, ((long)bcount * blen) / secs); test_ahash_jiffies_digest()
799 static int test_ahash_jiffies(struct ahash_request *req, int blen, test_ahash_jiffies() argument
806 if (plen == blen) test_ahash_jiffies()
807 return test_ahash_jiffies_digest(req, blen, out, secs); test_ahash_jiffies()
814 for (pcount = 0; pcount < blen; pcount += plen) { test_ahash_jiffies()
826 bcount / secs, ((long)bcount * blen) / secs); test_ahash_jiffies()
831 static int test_ahash_cycles_digest(struct ahash_request *req, int blen, test_ahash_cycles_digest() argument
864 cycles / 8, cycles / (8 * blen)); test_ahash_cycles_digest()
869 static int test_ahash_cycles(struct ahash_request *req, int blen, test_ahash_cycles() argument
875 if (plen == blen) test_ahash_cycles()
876 return test_ahash_cycles_digest(req, blen, out); test_ahash_cycles()
883 for (pcount = 0; pcount < blen; pcount += plen) { test_ahash_cycles()
902 for (pcount = 0; pcount < blen; pcount += plen) { test_ahash_cycles()
921 cycles / 8, cycles / (8 * blen)); test_ahash_cycles()
963 for (i = 0; speed[i].blen != 0; i++) { test_ahash_speed()
964 if (speed[i].blen > TVMEMSIZE * PAGE_SIZE) { test_ahash_speed()
966 speed[i].blen, TVMEMSIZE * PAGE_SIZE); test_ahash_speed()
972 i, speed[i].blen, speed[i].plen, speed[i].blen / speed[i].plen); test_ahash_speed()
977 ret = test_ahash_jiffies(req, speed[i].blen, test_ahash_speed()
980 ret = test_ahash_cycles(req, speed[i].blen, test_ahash_speed()
1009 int blen, int secs) test_acipher_jiffies()
1029 bcount, secs, (long)bcount * blen); test_acipher_jiffies()
1034 int blen) test_acipher_cycles()
1075 (cycles + 4) / 8, blen); test_acipher_cycles()
75 test_cipher_jiffies(struct blkcipher_desc *desc, int enc, struct scatterlist *sg, int blen, int secs) test_cipher_jiffies() argument
98 test_cipher_cycles(struct blkcipher_desc *desc, int enc, struct scatterlist *sg, int blen) test_cipher_cycles() argument
145 test_aead_jiffies(struct aead_request *req, int enc, int blen, int secs) test_aead_jiffies() argument
519 test_hash_jiffies_digest(struct hash_desc *desc, struct scatterlist *sg, int blen, char *out, int secs) test_hash_jiffies_digest() argument
540 test_hash_jiffies(struct hash_desc *desc, struct scatterlist *sg, int blen, int plen, char *out, int secs) test_hash_jiffies() argument
572 test_hash_cycles_digest(struct hash_desc *desc, struct scatterlist *sg, int blen, char *out) test_hash_cycles_digest() argument
615 test_hash_cycles(struct hash_desc *desc, struct scatterlist *sg, int blen, int plen, char *out) test_hash_cycles() argument
1008 test_acipher_jiffies(struct ablkcipher_request *req, int enc, int blen, int secs) test_acipher_jiffies() argument
1033 test_acipher_cycles(struct ablkcipher_request *req, int enc, int blen) test_acipher_cycles() argument
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Daz6027.c302 u16 value, u16 index, u8 *b, int blen) az6027_usb_in_op()
315 blen, az6027_usb_in_op()
325 debug_dump(b, blen, deb_xfer); az6027_usb_in_op()
336 int blen) az6027_usb_out_op()
341 debug_dump(b, blen, deb_xfer); az6027_usb_out_op()
353 blen, az6027_usb_out_op()
356 if (ret != blen) { az6027_usb_out_op()
372 int blen; az6027_streaming_ctrl() local
379 blen = 0; az6027_streaming_ctrl()
381 ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); az6027_streaming_ctrl()
419 int blen; az6027_ci_read_attribute_mem() local
434 blen = 1; az6027_ci_read_attribute_mem()
436 ret = az6027_usb_in_op(d, req, value, index, b, blen); az6027_ci_read_attribute_mem()
461 int blen; az6027_ci_write_attribute_mem() local
471 blen = 0; az6027_ci_write_attribute_mem()
473 ret = az6027_usb_out_op(d, req, value1, index, NULL, blen); az6027_ci_write_attribute_mem()
492 int blen; az6027_ci_read_cam_control() local
507 blen = 2; az6027_ci_read_cam_control()
509 ret = az6027_usb_in_op(d, req, value, index, b, blen); az6027_ci_read_cam_control()
538 int blen; az6027_ci_write_cam_control() local
547 blen = 0; az6027_ci_write_cam_control()
549 ret = az6027_usb_out_op(d, req, value1, index, NULL, blen); az6027_ci_write_cam_control()
568 int blen; CI_CamReady() local
578 blen = 1; CI_CamReady()
580 ret = az6027_usb_in_op(d, req, value, index, b, blen); CI_CamReady()
600 int blen; az6027_ci_slot_reset() local
607 blen = 0; az6027_ci_slot_reset()
609 ret = az6027_usb_out_op(d, req, value, index, NULL, blen); az6027_ci_slot_reset()
619 blen = 0; az6027_ci_slot_reset()
621 ret = az6027_usb_out_op(d, req, value, index, NULL, blen); az6027_ci_slot_reset()
656 int blen; az6027_ci_slot_ts_enable() local
663 blen = 0; az6027_ci_slot_ts_enable()
665 ret = az6027_usb_out_op(d, req, value, index, NULL, blen); az6027_ci_slot_ts_enable()
684 int blen; az6027_ci_poll_slot_status() local
695 blen = 1; az6027_ci_poll_slot_status()
697 ret = az6027_usb_in_op(d, req, value, index, b, blen); az6027_ci_poll_slot_status()
828 int blen; az6027_frontend_poweron() local
833 blen = 0; az6027_frontend_poweron()
835 ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); az6027_frontend_poweron()
847 int blen; az6027_frontend_reset() local
853 blen = 0; az6027_frontend_reset()
855 ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); az6027_frontend_reset()
862 blen = 0; az6027_frontend_reset()
865 ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); az6027_frontend_reset()
874 blen = 0; az6027_frontend_reset()
876 ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); az6027_frontend_reset()
890 int blen; az6027_frontend_tsbypass() local
896 blen = 0; az6027_frontend_tsbypass()
898 ret = az6027_usb_out_op(adap->dev, req, value, index, NULL, blen); az6027_frontend_tsbypass()
301 az6027_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) az6027_usb_in_op() argument
331 az6027_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) az6027_usb_out_op() argument
H A Dvp702x.c34 u16 value, u16 index, u8 *b, int blen) vp702x_usb_in_op_unlocked()
42 value, index, b, blen, vp702x_usb_in_op_unlocked()
53 debug_dump(b,blen,deb_xfer); vp702x_usb_in_op_unlocked()
59 u16 index, u8 *b, int blen) vp702x_usb_in_op()
64 ret = vp702x_usb_in_op_unlocked(d, req, value, index, b, blen); vp702x_usb_in_op()
71 u16 value, u16 index, u8 *b, int blen) vp702x_usb_out_op_unlocked()
75 debug_dump(b,blen,deb_xfer); vp702x_usb_out_op_unlocked()
81 value,index,b,blen, vp702x_usb_out_op_unlocked()
82 2000)) != blen) { vp702x_usb_out_op_unlocked()
90 u16 index, u8 *b, int blen) vp702x_usb_out_op()
95 ret = vp702x_usb_out_op_unlocked(d, req, value, index, b, blen); vp702x_usb_out_op()
33 vp702x_usb_in_op_unlocked(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) vp702x_usb_in_op_unlocked() argument
58 vp702x_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) vp702x_usb_in_op() argument
70 vp702x_usb_out_op_unlocked(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) vp702x_usb_out_op_unlocked() argument
89 vp702x_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) vp702x_usb_out_op() argument
H A Dgp8psk.c54 int gp8psk_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) gp8psk_usb_in_op() argument
61 while (ret >= 0 && ret != blen && try < 3) { gp8psk_usb_in_op()
66 value,index,b,blen, gp8psk_usb_in_op()
72 if (ret < 0 || ret != blen) { gp8psk_usb_in_op()
79 debug_dump(b,blen,deb_xfer); gp8psk_usb_in_op()
87 u16 index, u8 *b, int blen) gp8psk_usb_out_op()
92 debug_dump(b,blen,deb_xfer); gp8psk_usb_out_op()
101 value,index,b,blen, gp8psk_usb_out_op()
102 2000) != blen) { gp8psk_usb_out_op()
86 gp8psk_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) gp8psk_usb_out_op() argument
H A Dgp8psk.h95 extern int gp8psk_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen);
97 u16 index, u8 *b, int blen);
H A Dvp702x.h111 extern int vp702x_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen);
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Daz6007.c109 u16 index, u8 *b, int blen) __az6007_read()
117 value, index, b, blen, 5000); __az6007_read()
127 DUMP_PREFIX_NONE, b, blen); __az6007_read()
134 u16 index, u8 *b, int blen) az6007_read()
142 ret = __az6007_read(d->udev, req, value, index, b, blen); az6007_read()
150 u16 index, u8 *b, int blen) __az6007_write()
158 DUMP_PREFIX_NONE, b, blen); __az6007_write()
161 if (blen > 64) { __az6007_write()
163 blen); __az6007_write()
171 value, index, b, blen, 5000); __az6007_write()
172 if (ret != blen) { __az6007_write()
181 u16 index, u8 *b, int blen) az6007_write()
189 ret = __az6007_write(d->udev, req, value, index, b, blen); az6007_write()
260 int blen; az6007_ci_read_attribute_mem() local
275 blen = 1; az6007_ci_read_attribute_mem()
277 ret = az6007_read(d, req, value, index, b, blen); az6007_ci_read_attribute_mem()
302 int blen; az6007_ci_write_attribute_mem() local
312 blen = 0; az6007_ci_write_attribute_mem()
314 ret = az6007_write(d, req, value1, index, NULL, blen); az6007_ci_write_attribute_mem()
333 int blen; az6007_ci_read_cam_control() local
348 blen = 2; az6007_ci_read_cam_control()
350 ret = az6007_read(d, req, value, index, b, blen); az6007_ci_read_cam_control()
379 int blen; az6007_ci_write_cam_control() local
388 blen = 0; az6007_ci_write_cam_control()
390 ret = az6007_write(d, req, value1, index, NULL, blen); az6007_ci_write_cam_control()
409 int blen; CI_CamReady() local
419 blen = 1; CI_CamReady()
421 ret = az6007_read(d, req, value, index, b, blen); CI_CamReady()
441 int blen; az6007_ci_slot_reset() local
448 blen = 0; az6007_ci_slot_reset()
450 ret = az6007_write(d, req, value, index, NULL, blen); az6007_ci_slot_reset()
460 blen = 0; az6007_ci_slot_reset()
462 ret = az6007_write(d, req, value, index, NULL, blen); az6007_ci_slot_reset()
497 int blen; az6007_ci_slot_ts_enable() local
504 blen = 0; az6007_ci_slot_ts_enable()
506 ret = az6007_write(d, req, value, index, NULL, blen); az6007_ci_slot_ts_enable()
525 int blen; az6007_ci_poll_slot_status() local
536 blen = 1; az6007_ci_poll_slot_status()
538 ret = az6007_read(d, req, value, index, b, blen); az6007_ci_poll_slot_status()
108 __az6007_read(struct usb_device *udev, u8 req, u16 value, u16 index, u8 *b, int blen) __az6007_read() argument
133 az6007_read(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) az6007_read() argument
149 __az6007_write(struct usb_device *udev, u8 req, u16 value, u16 index, u8 *b, int blen) __az6007_write() argument
180 az6007_write(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen) az6007_write() argument
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_stats.c145 size_t blen = 0; ipath_qcheck() local
151 blen = snprintf(buf, sizeof buf, "port 0 hdrqfull %u", ipath_qcheck()
157 blen += snprintf(buf + blen, sizeof buf - blen, ipath_qcheck()
159 blen ? ", " : "", ipath_qcheck()
175 blen += snprintf(buf + blen, sizeof buf - blen, ipath_qcheck()
177 blen ? ", " : "", ipath_qcheck()
183 if (blen) ipath_qcheck()
H A Dipath_driver.c875 char *buf, size_t blen) decode_sdma_errs()
902 bidx += snprintf(buf + bidx, blen - bidx, decode_sdma_errs()
913 int ipath_decode_err(struct ipath_devdata *dd, char *buf, size_t blen, ipath_decode_err() argument
923 strlcat(buf, "EBP ", blen); ipath_decode_err()
925 strlcat(buf, "VCRC ", blen); ipath_decode_err()
927 strlcat(buf, "CRC ", blen); ipath_decode_err()
932 strlcat(buf, "rshortpktlen ", blen); ipath_decode_err()
934 strlcat(buf, "sdroppeddatapkt ", blen); ipath_decode_err()
936 strlcat(buf, "spktlen ", blen); ipath_decode_err()
940 strlcat(buf, "CRC ", blen); ipath_decode_err()
945 strlcat(buf, "rhdrlen ", blen); ipath_decode_err()
947 strlcat(buf, "rbadtid ", blen); ipath_decode_err()
949 strlcat(buf, "rbadversion ", blen); ipath_decode_err()
951 strlcat(buf, "rhdr ", blen); ipath_decode_err()
953 strlcat(buf, "sendspecialtrigger ", blen); ipath_decode_err()
955 strlcat(buf, "rlongpktlen ", blen); ipath_decode_err()
957 strlcat(buf, "rmaxpktlen ", blen); ipath_decode_err()
959 strlcat(buf, "rminpktlen ", blen); ipath_decode_err()
961 strlcat(buf, "sminpktlen ", blen); ipath_decode_err()
963 strlcat(buf, "rformaterr ", blen); ipath_decode_err()
965 strlcat(buf, "runsupvl ", blen); ipath_decode_err()
967 strlcat(buf, "runexpchar ", blen); ipath_decode_err()
969 strlcat(buf, "ribflow ", blen); ipath_decode_err()
971 strlcat(buf, "sunderrun ", blen); ipath_decode_err()
973 strlcat(buf, "spioarmlaunch ", blen); ipath_decode_err()
975 strlcat(buf, "sunexperrpktnum ", blen); ipath_decode_err()
977 strlcat(buf, "sdroppedsmppkt ", blen); ipath_decode_err()
979 strlcat(buf, "smaxpktlen ", blen); ipath_decode_err()
981 strlcat(buf, "sunsupVL ", blen); ipath_decode_err()
983 strlcat(buf, "invalidaddr ", blen); ipath_decode_err()
985 strlcat(buf, "rcvegrfull ", blen); ipath_decode_err()
987 strlcat(buf, "rcvhdrfull ", blen); ipath_decode_err()
989 strlcat(buf, "ibcstatuschg ", blen); ipath_decode_err()
991 strlcat(buf, "riblostlink ", blen); ipath_decode_err()
993 strlcat(buf, "hardware ", blen); ipath_decode_err()
995 strlcat(buf, "reset ", blen); ipath_decode_err()
997 decode_sdma_errs(dd, err, buf, blen); ipath_decode_err()
999 strlcat(buf, "invalideepromcmd ", blen); ipath_decode_err()
874 decode_sdma_errs(struct ipath_devdata *dd, ipath_err_t err, char *buf, size_t blen) decode_sdma_errs() argument
H A Dipath_kernel.h900 int ipath_decode_err(struct ipath_devdata *dd, char *buf, size_t blen,
/linux-4.1.27/drivers/s390/crypto/
H A Dzcrypt_cca_key.h30 unsigned short blen; member in struct:T6_keyBlock_hdr
166 key->t6_hdr.blen = cpu_to_be16(0x189); zcrypt_type6_mex_key_de()
169 key->t6_hdr.blen = cpu_to_le16(0x189); zcrypt_type6_mex_key_de()
256 key->t6_hdr.blen = cpu_to_be16(key->pubHdr.token_length + 6); zcrypt_type6_mex_key_en()
259 key->t6_hdr.blen = cpu_to_le16(key->pubHdr.token_length + 6); zcrypt_type6_mex_key_en()
302 key->t6_hdr.blen = cpu_to_be16(size); zcrypt_type6_crt_key()
305 key->t6_hdr.blen = cpu_to_le16(size); zcrypt_type6_crt_key()
/linux-4.1.27/include/linux/usb/
H A Dwusb.h315 const void *b, size_t blen, size_t len);
320 const void *b, size_t blen) wusb_prf_64()
322 return wusb_prf(out, out_size, key, n, a, b, blen, 64); wusb_prf_64()
328 const void *b, size_t blen) wusb_prf_128()
330 return wusb_prf(out, out_size, key, n, a, b, blen, 128); wusb_prf_128()
336 const void *b, size_t blen) wusb_prf_256()
338 return wusb_prf(out, out_size, key, n, a, b, blen, 256); wusb_prf_256()
317 wusb_prf_64(void *out, size_t out_size, const u8 key[16], const struct aes_ccm_nonce *n, const struct aes_ccm_label *a, const void *b, size_t blen) wusb_prf_64() argument
325 wusb_prf_128(void *out, size_t out_size, const u8 key[16], const struct aes_ccm_nonce *n, const struct aes_ccm_label *a, const void *b, size_t blen) wusb_prf_128() argument
333 wusb_prf_256(void *out, size_t out_size, const u8 key[16], const struct aes_ccm_nonce *n, const struct aes_ccm_label *a, const void *b, size_t blen) wusb_prf_256() argument
/linux-4.1.27/drivers/net/ethernet/amd/
H A Dni65.h107 volatile short blen; member in struct:rmd
119 volatile unsigned short blen; member in struct:tmd
H A Dni65.c739 short blen[TMDNUM]; ni65_stop_start() local
757 blen[i] = tmdp->blen; ni65_stop_start()
771 p->tmdhead[i].blen = blen[num]; ni65_stop_start()
832 tmdp->blen = tmdp->status2 = 0; ni65_lance_reinit()
843 rmdp->blen = -(R_BUF_SIZE-8); ni65_lance_reinit()
1028 dev->stats.tx_bytes -= (short)(tmdp->blen); ni65_xmit_intr()
1129 rmdp->blen = -(R_BUF_SIZE-8); ni65_recv_intr()
1202 tmdp->blen = -len; ni65_send_packet()
H A Datarilance.c752 DPRINTK( 2, ( "rx #%d: base=%04x blen=%04x mlen=%04x\n", lance_tx_timeout()
H A Dsun3lance.c547 printk( "rx #%d: base=%04x blen=%04x mlen=%04x\n", lance_start_xmit()
/linux-4.1.27/fs/gfs2/
H A Drgrp.h54 extern void __gfs2_free_blocks(struct gfs2_inode *ip, u64 bstart, u32 blen, int meta);
55 extern void gfs2_free_meta(struct gfs2_inode *ip, u64 bstart, u32 blen);
H A Dxattr.c237 unsigned int blen = 0; ea_dealloc_unstuffed() local
282 if (bstart + blen == bn) ea_dealloc_unstuffed()
283 blen++; ea_dealloc_unstuffed()
286 gfs2_free_meta(ip, bstart, blen); ea_dealloc_unstuffed()
288 blen = 1; ea_dealloc_unstuffed()
295 gfs2_free_meta(ip, bstart, blen); ea_dealloc_unstuffed()
1295 unsigned int blen = 0; ea_dealloc_indirect() local
1325 if (bstart + blen == bn) ea_dealloc_indirect()
1326 blen++; ea_dealloc_indirect()
1331 blen = 1; ea_dealloc_indirect()
1361 blen = 0; ea_dealloc_indirect()
1370 if (bstart + blen == bn) ea_dealloc_indirect()
1371 blen++; ea_dealloc_indirect()
1374 gfs2_free_meta(ip, bstart, blen); ea_dealloc_indirect()
1376 blen = 1; ea_dealloc_indirect()
1383 gfs2_free_meta(ip, bstart, blen); ea_dealloc_indirect()
H A Dmeta_io.c301 * @blen: the number of buffers in the run
305 void gfs2_meta_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen) gfs2_meta_wipe() argument
310 while (blen) { gfs2_meta_wipe()
322 blen--; gfs2_meta_wipe()
H A Dmeta_io.h62 extern void gfs2_meta_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen);
H A Dbmap.c723 u32 blen, btotal; do_strip() local
754 blen = 0; do_strip()
762 if (bstart + blen == bn) do_strip()
763 blen++; do_strip()
769 blen = 1; do_strip()
805 blen = 0; do_strip()
814 if (bstart + blen == bn) do_strip()
815 blen++; do_strip()
818 __gfs2_free_blocks(ip, bstart, blen, metadata); do_strip()
819 btotal += blen; do_strip()
823 blen = 1; do_strip()
830 __gfs2_free_blocks(ip, bstart, blen, metadata); do_strip()
831 btotal += blen; do_strip()
H A Drgrp.c2156 * @blen: the length of the block run (all must lie within ONE RG!)
2163 u32 blen, unsigned char new_state) rgblk_free()
2176 while (blen--) { rgblk_free()
2401 * @blen: the length of the block run
2406 void __gfs2_free_blocks(struct gfs2_inode *ip, u64 bstart, u32 blen, int meta) __gfs2_free_blocks() argument
2411 rgd = rgblk_free(sdp, bstart, blen, GFS2_BLKST_FREE); __gfs2_free_blocks()
2414 trace_gfs2_block_alloc(ip, rgd, bstart, blen, GFS2_BLKST_FREE); __gfs2_free_blocks()
2415 rgd->rd_free += blen; __gfs2_free_blocks()
2423 gfs2_meta_wipe(ip, bstart, blen); __gfs2_free_blocks()
2430 * @blen: the length of the block run
2434 void gfs2_free_meta(struct gfs2_inode *ip, u64 bstart, u32 blen) gfs2_free_meta() argument
2438 __gfs2_free_blocks(ip, bstart, blen, 1); gfs2_free_meta()
2439 gfs2_statfs_change(sdp, 0, +blen, 0); gfs2_free_meta()
2440 gfs2_quota_change(ip, -(s64)blen, ip->i_inode.i_uid, ip->i_inode.i_gid); gfs2_free_meta()
2162 rgblk_free(struct gfs2_sbd *sdp, u64 bstart, u32 blen, unsigned char new_state) rgblk_free() argument
/linux-4.1.27/drivers/usb/wusbcore/
H A Dcrypto.c162 * @blen: size of b...
195 * NOTE: blen is not aligned to a block size, we'll pad zeros, that's
202 size_t blen) wusb_ccm_mac()
225 zero_padding = blen % sizeof(struct aes_ccm_block); wusb_ccm_mac()
228 dst_size = blen + sizeof(b0) + sizeof(b1) + zero_padding; wusb_ccm_mac()
247 * says that to initialize B1 from A with 'l(a) = blen + wusb_ccm_mac()
251 b1.la = cpu_to_be16(blen + 14); wusb_ccm_mac()
257 sg_set_buf(&sg[2], b, blen); wusb_ccm_mac()
300 const void *b, size_t blen, size_t len) wusb_prf()
337 &n, a, b, blen); wusb_prf()
198 wusb_ccm_mac(struct crypto_blkcipher *tfm_cbc, struct crypto_cipher *tfm_aes, void *mic, const struct aes_ccm_nonce *n, const struct aes_ccm_label *a, const void *b, size_t blen) wusb_ccm_mac() argument
297 wusb_prf(void *out, size_t out_size, const u8 key[16], const struct aes_ccm_nonce *_n, const struct aes_ccm_label *a, const void *b, size_t blen, size_t len) wusb_prf() argument
/linux-4.1.27/fs/ubifs/
H A Dtnc_commit.c417 int wlen, blen, err; layout_in_empty_space() local
505 blen = buf_len; layout_in_empty_space()
507 blen = ALIGN(wlen, c->min_io_size); layout_in_empty_space()
510 buf_offs += blen; layout_in_empty_space()
514 c->leb_size - buf_offs, blen - used, layout_in_empty_space()
520 used -= blen; layout_in_empty_space()
527 blen - used, 0, 0); layout_in_empty_space()
811 int avail, wlen, err, lnum_pos = 0, blen, nxt_offs; write_index() local
944 blen = buf_len; write_index()
947 blen = ALIGN(wlen, c->min_io_size); write_index()
948 ubifs_pad(c, c->cbuf + wlen, blen - wlen); write_index()
952 err = ubifs_leb_write(c, lnum, c->cbuf, buf_offs, blen); write_index()
955 buf_offs += blen; write_index()
964 used -= blen; write_index()
968 memmove(c->cbuf, c->cbuf + blen, used); write_index()
H A Dfile.c899 int err = 0, i, blen; do_writepage() local
920 blen = min_t(int, len, UBIFS_BLOCK_SIZE); do_writepage()
922 err = ubifs_jnl_write_data(c, inode, &key, addr, blen); do_writepage()
928 addr += blen; do_writepage()
929 len -= blen; do_writepage()
/linux-4.1.27/net/ceph/
H A Dcrypto.c58 int blen = inlen * 3 / 4; ceph_crypto_key_unarmor() local
63 buf = kmalloc(blen, GFP_NOFS); ceph_crypto_key_unarmor()
66 blen = ceph_unarmor(buf, inkey, inkey+inlen); ceph_crypto_key_unarmor()
67 if (blen < 0) { ceph_crypto_key_unarmor()
69 return blen; ceph_crypto_key_unarmor()
73 ret = ceph_crypto_key_decode(key, &p, p + blen); ceph_crypto_key_unarmor()
/linux-4.1.27/sound/soc/codecs/
H A Dwm8804.c295 u16 blen; wm8804_hw_params() local
301 blen = 0x0; wm8804_hw_params()
304 blen = 0x1; wm8804_hw_params()
307 blen = 0x2; wm8804_hw_params()
316 snd_soc_update_bits(codec, WM8804_AIFTX, 0xc, blen << 2); wm8804_hw_params()
317 snd_soc_update_bits(codec, WM8804_AIFRX, 0xc, blen << 2); wm8804_hw_params()
H A Dwm8983.c709 u16 blen, srate_idx; wm8983_hw_params() local
724 blen = 0x0; wm8983_hw_params()
727 blen = 0x1; wm8983_hw_params()
730 blen = 0x2; wm8983_hw_params()
733 blen = 0x3; wm8983_hw_params()
742 WM8983_WL_MASK, blen << WM8983_WL_SHIFT); wm8983_hw_params()
H A Dwm8985.c690 u16 blen, srate_idx; wm8985_hw_params() local
703 blen = 0x0; wm8985_hw_params()
706 blen = 0x1; wm8985_hw_params()
709 blen = 0x2; wm8985_hw_params()
712 blen = 0x3; wm8985_hw_params()
721 WM8985_WL_MASK, blen << WM8985_WL_SHIFT); wm8985_hw_params()
/linux-4.1.27/fs/nfsd/
H A Dnfs4idmap.c129 int *blen) idtoname_request()
134 qword_add(bpp, blen, ent->authname); idtoname_request()
136 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); idtoname_request()
137 qword_add(bpp, blen, idstr); idtoname_request()
302 int *blen) nametoid_request()
306 qword_add(bpp, blen, ent->authname); nametoid_request()
307 qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); nametoid_request()
308 qword_add(bpp, blen, ent->name); nametoid_request()
128 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, int *blen) idtoname_request() argument
301 nametoid_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, int *blen) nametoid_request() argument
H A Dexport.c53 char **bpp, int *blen) expkey_request()
59 qword_add(bpp, blen, ek->ek_client->name); expkey_request()
61 qword_add(bpp, blen, type); expkey_request()
62 qword_addhex(bpp, blen, (char*)ek->ek_fsid, key_len(ek->ek_fsidtype)); expkey_request()
321 char **bpp, int *blen) svc_export_request()
327 qword_add(bpp, blen, exp->ex_client->name); svc_export_request()
328 pth = d_path(&exp->ex_path, *bpp, *blen); svc_export_request()
334 qword_add(bpp, blen, pth); svc_export_request()
51 expkey_request(struct cache_detail *cd, struct cache_head *h, char **bpp, int *blen) expkey_request() argument
319 svc_export_request(struct cache_detail *cd, struct cache_head *h, char **bpp, int *blen) svc_export_request() argument
/linux-4.1.27/drivers/usb/storage/
H A Dene_ub6250.c669 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); sd_scsi_read() local
671 u32 blenByte = blen * 0x200; sd_scsi_read()
709 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); sd_scsi_write() local
711 u32 blenByte = blen * 0x200; sd_scsi_write()
1536 u8 PageNum, u8 blen, void *buf) ms_lib_read_extrablock()
1542 PageNum = %x, blen = %x\n", PhyBlock, PageNum, blen); */ ms_lib_read_extrablock()
1547 bcb->DataTransferLength = 0x4 * blen; ms_lib_read_extrablock()
1555 bcb->CDB[6] = blen; ms_lib_read_extrablock()
1648 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); ms_scsi_read() local
1649 u32 blenByte = blen * 0x200; ms_scsi_read()
1697 if (blen > (info->MS_Lib.PagesPerBlock-PageNum)) ms_scsi_read()
1700 len = blen; ms_scsi_read()
1724 blen -= len; ms_scsi_read()
1725 if (blen <= 0) ms_scsi_read()
1749 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); ms_scsi_write() local
1750 u32 blenByte = blen * 0x200; ms_scsi_write()
1798 if (blen > (info->MS_Lib.PagesPerBlock-PageNum)) ms_scsi_write()
1801 len = blen; ms_scsi_write()
1817 blen -= len; ms_scsi_write()
1818 if (blen <= 0) ms_scsi_write()
1535 ms_lib_read_extrablock(struct us_data *us, u32 PhyBlock, u8 PageNum, u8 blen, void *buf) ms_lib_read_extrablock() argument
/linux-4.1.27/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ctrl.c199 unsigned int *blen) pvr2_ctrl_get_valname()
203 *blen = 0; pvr2_ctrl_get_valname()
210 *blen = scnprintf( pvr2_ctrl_get_valname()
214 *blen = 0; pvr2_ctrl_get_valname()
226 *blen = scnprintf(bptr,bmax,"%s", pvr2_ctrl_get_valname()
197 pvr2_ctrl_get_valname(struct pvr2_ctrl *cptr,int val, char *bptr,unsigned int bmax, unsigned int *blen) pvr2_ctrl_get_valname() argument
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dav7110_av.c241 u16 blen; av7110_pes_play() local
265 blen = DVB_RINGBUFFER_PEEK(buf, 4) << 8; av7110_pes_play()
266 blen |= DVB_RINGBUFFER_PEEK(buf, 5); av7110_pes_play()
267 blen += 6; av7110_pes_play()
268 if (len < blen || blen > dlen) { av7110_pes_play()
269 //printk("buffer empty - avail %d blen %u dlen %d\n", len, blen, dlen); av7110_pes_play()
274 dvb_ringbuffer_read(buf, dest, (size_t) blen); av7110_pes_play()
279 return blen; av7110_pes_play()
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dif_spi.c41 u16 blen; member in struct:if_spi_packet
826 err = spu_write(card, port_reg, packet->buffer, packet->blen); if_spi_h2c()
963 u16 blen; if_spi_host_to_card() local
973 blen = ALIGN(nb, 4); if_spi_host_to_card()
974 packet = kzalloc(sizeof(struct if_spi_packet) + blen, GFP_ATOMIC); if_spi_host_to_card()
979 packet->blen = blen; if_spi_host_to_card()
981 memset(packet->buffer + nb, 0, blen - nb); if_spi_host_to_card()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_iba7220.c811 u64 err, char *buf, size_t blen) qib_decode_7220_sdma_errs()
847 bidx += scnprintf(buf + bidx, blen - bidx, qib_decode_7220_sdma_errs()
969 static int qib_decode_7220_err(struct qib_devdata *dd, char *buf, size_t blen, qib_decode_7220_err() argument
980 strlcat(buf, "CRC ", blen); qib_decode_7220_err()
985 strlcat(buf, "rhdrlen ", blen); qib_decode_7220_err()
987 strlcat(buf, "rbadtid ", blen); qib_decode_7220_err()
989 strlcat(buf, "rbadversion ", blen); qib_decode_7220_err()
991 strlcat(buf, "rhdr ", blen); qib_decode_7220_err()
993 strlcat(buf, "sendspecialtrigger ", blen); qib_decode_7220_err()
995 strlcat(buf, "rlongpktlen ", blen); qib_decode_7220_err()
997 strlcat(buf, "rmaxpktlen ", blen); qib_decode_7220_err()
999 strlcat(buf, "rminpktlen ", blen); qib_decode_7220_err()
1001 strlcat(buf, "sminpktlen ", blen); qib_decode_7220_err()
1003 strlcat(buf, "rformaterr ", blen); qib_decode_7220_err()
1005 strlcat(buf, "runsupvl ", blen); qib_decode_7220_err()
1007 strlcat(buf, "runexpchar ", blen); qib_decode_7220_err()
1009 strlcat(buf, "ribflow ", blen); qib_decode_7220_err()
1011 strlcat(buf, "sunderrun ", blen); qib_decode_7220_err()
1013 strlcat(buf, "spioarmlaunch ", blen); qib_decode_7220_err()
1015 strlcat(buf, "sunexperrpktnum ", blen); qib_decode_7220_err()
1017 strlcat(buf, "sdroppedsmppkt ", blen); qib_decode_7220_err()
1019 strlcat(buf, "smaxpktlen ", blen); qib_decode_7220_err()
1021 strlcat(buf, "sunsupVL ", blen); qib_decode_7220_err()
1023 strlcat(buf, "invalidaddr ", blen); qib_decode_7220_err()
1025 strlcat(buf, "rcvegrfull ", blen); qib_decode_7220_err()
1027 strlcat(buf, "rcvhdrfull ", blen); qib_decode_7220_err()
1029 strlcat(buf, "ibcstatuschg ", blen); qib_decode_7220_err()
1031 strlcat(buf, "riblostlink ", blen); qib_decode_7220_err()
1033 strlcat(buf, "hardware ", blen); qib_decode_7220_err()
1035 strlcat(buf, "reset ", blen); qib_decode_7220_err()
1037 qib_decode_7220_sdma_errs(dd->pport, err, buf, blen); qib_decode_7220_err()
1039 strlcat(buf, "invalideepromcmd ", blen); qib_decode_7220_err()
810 qib_decode_7220_sdma_errs(struct qib_pportdata *ppd, u64 err, char *buf, size_t blen) qib_decode_7220_sdma_errs() argument
H A Dqib_iba6120.c895 static int qib_decode_6120_err(struct qib_devdata *dd, char *buf, size_t blen, qib_decode_6120_err() argument
906 strlcat(buf, "CRC ", blen); qib_decode_6120_err()
911 strlcat(buf, "rhdrlen ", blen); qib_decode_6120_err()
913 strlcat(buf, "rbadtid ", blen); qib_decode_6120_err()
915 strlcat(buf, "rbadversion ", blen); qib_decode_6120_err()
917 strlcat(buf, "rhdr ", blen); qib_decode_6120_err()
919 strlcat(buf, "rlongpktlen ", blen); qib_decode_6120_err()
921 strlcat(buf, "rmaxpktlen ", blen); qib_decode_6120_err()
923 strlcat(buf, "rminpktlen ", blen); qib_decode_6120_err()
925 strlcat(buf, "sminpktlen ", blen); qib_decode_6120_err()
927 strlcat(buf, "rformaterr ", blen); qib_decode_6120_err()
929 strlcat(buf, "runsupvl ", blen); qib_decode_6120_err()
931 strlcat(buf, "runexpchar ", blen); qib_decode_6120_err()
933 strlcat(buf, "ribflow ", blen); qib_decode_6120_err()
935 strlcat(buf, "sunderrun ", blen); qib_decode_6120_err()
937 strlcat(buf, "spioarmlaunch ", blen); qib_decode_6120_err()
939 strlcat(buf, "sunexperrpktnum ", blen); qib_decode_6120_err()
941 strlcat(buf, "sdroppedsmppkt ", blen); qib_decode_6120_err()
943 strlcat(buf, "smaxpktlen ", blen); qib_decode_6120_err()
945 strlcat(buf, "sunsupVL ", blen); qib_decode_6120_err()
947 strlcat(buf, "invalidaddr ", blen); qib_decode_6120_err()
949 strlcat(buf, "rcvegrfull ", blen); qib_decode_6120_err()
951 strlcat(buf, "rcvhdrfull ", blen); qib_decode_6120_err()
953 strlcat(buf, "ibcstatuschg ", blen); qib_decode_6120_err()
955 strlcat(buf, "riblostlink ", blen); qib_decode_6120_err()
957 strlcat(buf, "hardware ", blen); qib_decode_6120_err()
959 strlcat(buf, "reset ", blen); qib_decode_6120_err()
H A Dqib.h1159 int qib_decode_err(struct qib_devdata *dd, char *buf, size_t blen, u64 err);
/linux-4.1.27/include/linux/sunrpc/
H A Dcache.h89 char **bpp, int *blen);
228 extern void qword_addhex(char **bpp, int *lp, char *buf, int blen);
/linux-4.1.27/net/sunrpc/
H A Dsvcauth_unix.c145 char **bpp, int *blen) ip_map_request()
155 qword_add(bpp, blen, im->m_class); ip_map_request()
156 qword_add(bpp, blen, text_addr); ip_map_request()
463 char **bpp, int *blen) unix_gid_request()
469 qword_add(bpp, blen, tuid); unix_gid_request()
143 ip_map_request(struct cache_detail *cd, struct cache_head *h, char **bpp, int *blen) ip_map_request() argument
461 unix_gid_request(struct cache_detail *cd, struct cache_head *h, char **bpp, int *blen) unix_gid_request() argument
H A Dcache.c1090 void qword_addhex(char **bpp, int *lp, char *buf, int blen) qword_addhex() argument
1101 while (blen && len >= 2) { qword_addhex()
1104 blen--; qword_addhex()
1107 if (blen || len<1) len = -1; qword_addhex()
/linux-4.1.27/drivers/net/ethernet/sun/
H A Dsunvnet.c1005 int i, nc, err, blen; vnet_skb_map() local
1008 blen = skb_headlen(skb); vnet_skb_map()
1009 if (blen < ETH_ZLEN) vnet_skb_map()
1010 blen = ETH_ZLEN; vnet_skb_map()
1011 blen += VNET_PACKET_SKIP; vnet_skb_map()
1012 blen += 8 - (blen & 7); vnet_skb_map()
1014 err = ldc_map_single(lp, skb->data-VNET_PACKET_SKIP, blen, cookies, vnet_skb_map()
1026 blen = skb_frag_size(f); vnet_skb_map()
1027 blen += 8 - (blen & 7); vnet_skb_map()
1029 blen, cookies + nc, ncookies - nc, vnet_skb_map()
/linux-4.1.27/fs/nfs/
H A Ddns_resolve.c132 char **bpp, int *blen) nfs_dns_request()
136 qword_add(bpp, blen, key->hostname); nfs_dns_request()
130 nfs_dns_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, int *blen) nfs_dns_request() argument
/linux-4.1.27/fs/fat/
H A Dnamei_vfat.c145 unsigned int alen, blen; vfat_cmpi() local
149 blen = __vfat_striptail_len(len, str); vfat_cmpi()
150 if (alen == blen) { vfat_cmpi()
163 unsigned int alen, blen; vfat_cmp() local
167 blen = __vfat_striptail_len(len, str); vfat_cmp()
168 if (alen == blen) { vfat_cmp()
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_bmap.c3504 xfs_extlen_t *blen, xfs_bmap_longest_free_extent()
3525 if (*blen < longest) xfs_bmap_longest_free_extent()
3526 *blen = longest; xfs_bmap_longest_free_extent()
3537 xfs_extlen_t *blen, xfs_bmap_select_minlen()
3540 if (notinit || *blen < ap->minlen) { xfs_bmap_select_minlen()
3546 } else if (*blen < args->maxlen) { xfs_bmap_select_minlen()
3551 args->minlen = *blen; xfs_bmap_select_minlen()
3565 xfs_extlen_t *blen) xfs_bmap_btalloc_nullfb()
3579 while (*blen < args->maxlen) { xfs_bmap_btalloc_nullfb()
3580 error = xfs_bmap_longest_free_extent(args->tp, ag, blen, xfs_bmap_btalloc_nullfb()
3591 xfs_bmap_select_minlen(ap, args, blen, notinit); xfs_bmap_btalloc_nullfb()
3599 xfs_extlen_t *blen) xfs_bmap_btalloc_filestreams()
3613 error = xfs_bmap_longest_free_extent(args->tp, ag, blen, &notinit); xfs_bmap_btalloc_filestreams()
3617 if (*blen < args->maxlen) { xfs_bmap_btalloc_filestreams()
3622 error = xfs_bmap_longest_free_extent(args->tp, ag, blen, xfs_bmap_btalloc_filestreams()
3629 xfs_bmap_select_minlen(ap, args, blen, notinit); xfs_bmap_btalloc_filestreams()
3649 xfs_extlen_t blen; xfs_bmap_btalloc() local
3713 blen = 0; xfs_bmap_btalloc()
3721 error = xfs_bmap_btalloc_filestreams(ap, &args, &blen); xfs_bmap_btalloc()
3723 error = xfs_bmap_btalloc_nullfb(ap, &args, &blen); xfs_bmap_btalloc()
3767 if (blen > args.alignment && blen <= args.maxlen) xfs_bmap_btalloc()
3768 args.minlen = blen - args.alignment; xfs_bmap_btalloc()
3786 if (blen > stripe_align && blen <= args.maxlen) xfs_bmap_btalloc()
3787 nextminlen = blen - stripe_align; xfs_bmap_btalloc()
3501 xfs_bmap_longest_free_extent( struct xfs_trans *tp, xfs_agnumber_t ag, xfs_extlen_t *blen, int *notinit) xfs_bmap_longest_free_extent() argument
3534 xfs_bmap_select_minlen( struct xfs_bmalloca *ap, struct xfs_alloc_arg *args, xfs_extlen_t *blen, int notinit) xfs_bmap_select_minlen() argument
3562 xfs_bmap_btalloc_nullfb( struct xfs_bmalloca *ap, struct xfs_alloc_arg *args, xfs_extlen_t *blen) xfs_bmap_btalloc_nullfb() argument
3596 xfs_bmap_btalloc_filestreams( struct xfs_bmalloca *ap, struct xfs_alloc_arg *args, xfs_extlen_t *blen) xfs_bmap_btalloc_filestreams() argument
H A Dxfs_alloc.c935 xfs_extlen_t blen=0; xfs_alloc_ag_vextent_near() local
965 for (j = 1, blen = 0, bdiff = 0; xfs_alloc_ag_vextent_near()
966 !error && j && (blen < args->maxlen || bdiff > 0); xfs_alloc_ag_vextent_near()
982 if (args->len < blen) xfs_alloc_ag_vextent_near()
988 (args->len > blen || ltdiff < bdiff)) { xfs_alloc_ag_vextent_near()
991 blen = args->len; xfs_alloc_ag_vextent_near()
999 if (blen == 0) xfs_alloc_ag_vextent_near()
1009 args->len = blen; xfs_alloc_ag_vextent_near()
1015 blen = args->len; xfs_alloc_ag_vextent_near()
1017 * We are allocating starting at bnew for blen blocks. xfs_alloc_ag_vextent_near()
1021 ASSERT(bnew + blen <= ltbno + ltlen); xfs_alloc_ag_vextent_near()
1031 ltlen, bnew, blen, XFSA_FIXUP_CNT_OK))) xfs_alloc_ag_vextent_near()
/linux-4.1.27/drivers/ide/
H A Dide-cd.c627 int blen = min_t(int, thislen, cmd->nleft); cdrom_newpc_intr() local
632 ide_pio_bytes(drive, cmd, write, blen); cdrom_newpc_intr()
633 cmd->last_xfer_len += blen; cdrom_newpc_intr()
635 thislen -= blen; cdrom_newpc_intr()
636 len -= blen; cdrom_newpc_intr()
639 rq->sense_len += blen; cdrom_newpc_intr()
/linux-4.1.27/fs/isofs/
H A Dinode.c208 int alen, blen; isofs_dentry_cmp_common() local
212 blen = len; isofs_dentry_cmp_common()
216 while (blen && str[blen-1] == '.') isofs_dentry_cmp_common()
217 blen--; isofs_dentry_cmp_common()
219 if (alen == blen) { isofs_dentry_cmp_common()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dpack_generic.c733 int slen, blen; lustre_msg_string() local
738 blen = lustre_msg_buflen_v2(m, index); lustre_msg_string()
749 slen = strnlen(str, blen); lustre_msg_string()
751 if (slen == blen) { /* not NULL terminated */ lustre_msg_string()
753 m, index, blen); lustre_msg_string()
758 if (slen != blen - 1) { lustre_msg_string()
760 m, index, blen, slen); lustre_msg_string()
765 m, index, blen, slen, max_len); lustre_msg_string()
/linux-4.1.27/drivers/net/ethernet/tundra/
H A Dtsi108_eth.h348 u16 blen; /* Length of buffer in bytes */ member in struct:__anon7370
H A Dtsi108_eth.c813 /* Sometimes the hardware sets blen to zero after packet tsi108_refill_rx()
818 data->rxring[rx].blen = TSI108_RX_SKB_SIZE; tsi108_refill_rx()
1323 data->rxring[i].blen = TSI108_RXBUF_SIZE; tsi108_open()
/linux-4.1.27/sound/usb/usx2y/
H A Dusbusx2yaudio.c96 int blen = cnt * usX2Y->stride; usX2Y_urb_capt_retire() local
97 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, blen); usX2Y_urb_capt_retire()
98 memcpy(runtime->dma_area, cp + blen, len * usX2Y->stride - blen); usX2Y_urb_capt_retire()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c793 int blen; mlx5_alloc_cmd_msg() local
802 blen = size - min_t(int, sizeof(msg->first.data), size); mlx5_alloc_cmd_msg()
803 n = (blen + MLX5_CMD_DATA_BLOCK_SIZE - 1) / MLX5_CMD_DATA_BLOCK_SIZE; mlx5_alloc_cmd_msg()
/linux-4.1.27/fs/udf/
H A Dinode.c903 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + udf_split_extents() local
907 if (blen == 1) udf_split_extents()
909 else if (!offset || blen == offset + 1) { udf_split_extents()
944 if (blen != offset + 1) { udf_split_extents()
949 ((blen - (offset + 1)) << blocksize_bits); udf_split_extents()
/linux-4.1.27/net/iucv/
H A Daf_iucv.c460 int blen; iucv_send_ctrl() local
463 blen = sizeof(struct af_iucv_trans_hdr) + ETH_HLEN; iucv_send_ctrl()
464 skb = sock_alloc_send_skb(sk, blen, 1, &err); iucv_send_ctrl()
466 skb_reserve(skb, blen); iucv_send_ctrl()
/linux-4.1.27/drivers/ata/
H A Dlibata-sff.c2693 u32 sg_len, len, blen; ata_bmdma_fill_sg_dumb() local
2708 blen = len & 0xffff; ata_bmdma_fill_sg_dumb()
2710 if (blen == 0) { ata_bmdma_fill_sg_dumb()
2715 blen = 0x8000; ata_bmdma_fill_sg_dumb()
2718 prd[pi].flags_len = cpu_to_le32(blen); ata_bmdma_fill_sg_dumb()
/linux-4.1.27/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c176 char **bpp, int *blen) rsi_request()
180 qword_addhex(bpp, blen, rsii->in_handle.data, rsii->in_handle.len); rsi_request()
181 qword_addhex(bpp, blen, rsii->in_token.data, rsii->in_token.len); rsi_request()
174 rsi_request(struct cache_detail *cd, struct cache_head *h, char **bpp, int *blen) rsi_request() argument
/linux-4.1.27/drivers/scsi/
H A Dsg.c2591 int k, m, new_interface, blen, usg; sg_proc_debug_helper() local
2629 blen = srp->data.bufflen; sg_proc_debug_helper()
2634 seq_printf(s, " id=%d blen=%d", sg_proc_debug_helper()
2635 srp->header.pack_id, blen); sg_proc_debug_helper()
/linux-4.1.27/fs/
H A Ddcache.c2899 int blen; prepend_path() local
2908 blen = *buflen; prepend_path()
2922 blen = *buflen; prepend_path()
2939 error = prepend_name(&bptr, &blen, &dentry->d_name); prepend_path()
2962 if (--blen < 0) prepend_path()
2968 *buflen = blen; prepend_path()
/linux-4.1.27/drivers/staging/dgap/
H A Ddgap.h1099 unsigned short blen; /* W Break length */ member in struct:bs_t
/linux-4.1.27/drivers/usb/musb/
H A Dcppi_dma.c432 "nxt %08x buf %08x off.blen %08x opt.plen %08x\n", cppi_dump_rxbd()
/linux-4.1.27/drivers/scsi/libfc/
H A Dfc_fcp.c601 FC_FCP_DBG(fsp, "fsp=%p:lso:blen=%zx lso_max=0x%x t_blen=%zx\n", fc_fcp_send_data()

Completed in 1480 milliseconds