Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 3 of 3) sorted by relevance

/lib/
Dchecksum.c46 static unsigned int do_csum(const unsigned char *buff, int len) in do_csum() argument
53 odd = 1 & (unsigned long) buff; in do_csum()
56 result += (*buff << 8); in do_csum()
58 result = *buff; in do_csum()
61 buff++; in do_csum()
64 if (2 & (unsigned long) buff) { in do_csum()
65 result += *(unsigned short *) buff; in do_csum()
67 buff += 2; in do_csum()
70 const unsigned char *end = buff + ((unsigned)len & ~3); in do_csum()
73 unsigned int w = *(unsigned int *) buff; in do_csum()
[all …]
Dtest_rhashtable.c489 char buff[512] = ""; in print_ht() local
504 sprintf(buff, "%s\nbucket[%d] -> ", buff, i); in print_ht()
509 sprintf(buff, "%s[[", buff); in print_ht()
515 sprintf(buff, "%s val %d (tid=%d)%s", buff, p->value.id, p->value.tid, in print_ht()
524 sprintf(buff, "%s]]%s", buff, !rht_is_a_nulls(pos) ? " -> " : ""); in print_ht()
527 printk(KERN_ERR "\n---- ht: ----%s\n-------------\n", buff); in print_ht()
/lib/mpi/
Dmpicoder.c336 const u8 *buff; in mpi_read_raw_from_sgl() local
349 while (len && !*buff) { in mpi_read_raw_from_sgl()
352 buff++; in mpi_read_raw_from_sgl()
355 if (len && *buff) in mpi_read_raw_from_sgl()
359 buff = miter.addr; in mpi_read_raw_from_sgl()
377 nbits -= count_leading_zeros(*buff) - (BITS_PER_LONG - 8); in mpi_read_raw_from_sgl()
399 buff = miter.addr; in mpi_read_raw_from_sgl()
404 a |= *buff++; in mpi_read_raw_from_sgl()