• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/tidspbridge/dynload/

Lines Matching refs:siz

428 	s16 siz;
433 siz = nsecs * sizeof(struct doff_scnhdr_t);
436 siz);
438 DL_ERROR(err_alloc, siz);
444 if (dlthis->strm->read_buffer(dlthis->strm, shp, siz) != siz) {
451 dload_reorder(shp, siz, dlthis->reorder_map);
454 if (~dload_checksum(dlthis->sect_hdrs, siz) !=
473 u16 curr_sect, nsecs, siz;
490 siz = (dlthis->dfile_hdr.df_target_scns + 1) *
495 siz);
497 DL_ERROR(err_alloc, siz);
704 u32 sym_count, siz, dsiz, symbols_left;
724 siz = sym_count * sizeof(struct local_symbol);
728 if (dsiz > siz)
729 siz = dsiz; /* larger of symbols and .dllview temp */
731 siz);
733 DL_ERROR(err_alloc, siz);
752 siz = syms_in_buf * sizeof(struct doff_syment_t);
753 if (dlthis->strm->read_buffer(dlthis->strm, input_sym, siz) !=
754 siz) {
759 dload_reorder(input_sym, siz, dlthis->reorder_map);
761 checks += dload_checksum(input_sym, siz);
1079 int siz;
1083 siz = rinbuf * sizeof(struct reloc_record_t);
1084 if (dlthis->strm->read_buffer(dlthis->strm, rp, siz) != siz) {
1090 dload_reorder(rp, siz, dlthis->reorder_map);
1092 *checks += dload_checksum(rp, siz);
1398 * siz size of the data to be checksummed in sizeof() units.
1404 u32 dload_checksum(void *data, unsigned siz)
1412 for (left = siz; left > 0; left -= sizeof(u32))
1423 * siz size of the data to be checksummed in sizeof() units.
1435 u32 dload_reverse_checksum(void *data, unsigned siz)
1444 for (left = siz; left > 0; left -= sizeof(u32)) {
1456 u32 dload_reverse_checksum16(void *data, unsigned siz)
1465 for (left = siz; left > 0; left -= sizeof(u32)) {
1481 * siz size of the data to be swapped.
1489 static void swap_words(void *data, unsigned siz, unsigned bitmap)
1497 siz /= sizeof(u16);
1501 i = siz;
1512 i = siz >> 1;