Lines Matching refs:size
156 unsigned long size, unsigned long id_size, in device_id_check() argument
161 if (size % id_size || size < id_size) { in device_id_check()
167 modname, device_id, id_size, device_id, size, device_id); in device_id_check()
171 if (*(uint8_t*)(symval+size-id_size+i)) { in device_id_check()
174 modname, device_id, id_size, size / id_size); in device_id_check()
177 *(uint8_t*)(symval+size-id_size+i) ); in device_id_check()
359 static void do_usb_table(void *symval, unsigned long size, in do_usb_table() argument
365 device_id_check(mod->name, "usb", size, id_size, symval); in do_usb_table()
368 size -= id_size; in do_usb_table()
370 for (i = 0; i < size; i += id_size) in do_usb_table()
402 static void do_of_table(void *symval, unsigned long size, in do_of_table() argument
408 device_id_check(mod->name, "of", size, id_size, symval); in do_of_table()
411 size -= id_size; in do_of_table()
413 for (i = 0; i < size; i += id_size) in do_of_table()
610 static void do_pnp_device_entry(void *symval, unsigned long size, in do_pnp_device_entry() argument
614 const unsigned int count = (size / id_size)-1; in do_pnp_device_entry()
617 device_id_check(mod->name, "pnp", size, id_size, symval); in do_pnp_device_entry()
636 static void do_pnp_card_entries(void *symval, unsigned long size, in do_pnp_card_entries() argument
640 const unsigned int count = (size / id_size)-1; in do_pnp_card_entries()
643 device_id_check(mod->name, "pnp", size, id_size, symval); in do_pnp_card_entries()
1313 static void do_table(void *symval, unsigned long size, in do_table() argument
1323 device_id_check(mod->name, device_id, size, id_size, symval); in do_table()
1325 size -= id_size; in do_table()
1327 for (i = 0; i < size; i += id_size) { in do_table()