Lines Matching refs:size
106 unsigned long size, unsigned long id_size, in device_id_check() argument
111 if (size % id_size || size < id_size) { in device_id_check()
117 modname, device_id, id_size, device_id, size, device_id); in device_id_check()
121 if (*(uint8_t*)(symval+size-id_size+i)) { in device_id_check()
124 modname, device_id, id_size, size / id_size); in device_id_check()
127 *(uint8_t*)(symval+size-id_size+i) ); in device_id_check()
309 static void do_usb_table(void *symval, unsigned long size, in do_usb_table() argument
315 device_id_check(mod->name, "usb", size, id_size, symval); in do_usb_table()
318 size -= id_size; in do_usb_table()
320 for (i = 0; i < size; i += id_size) in do_usb_table()
352 static void do_of_table(void *symval, unsigned long size, in do_of_table() argument
358 device_id_check(mod->name, "of", size, id_size, symval); in do_of_table()
361 size -= id_size; in do_of_table()
363 for (i = 0; i < size; i += id_size) in do_of_table()
552 static void do_pnp_device_entry(void *symval, unsigned long size, in do_pnp_device_entry() argument
556 const unsigned int count = (size / id_size)-1; in do_pnp_device_entry()
559 device_id_check(mod->name, "pnp", size, id_size, symval); in do_pnp_device_entry()
578 static void do_pnp_card_entries(void *symval, unsigned long size, in do_pnp_card_entries() argument
582 const unsigned int count = (size / id_size)-1; in do_pnp_card_entries()
585 device_id_check(mod->name, "pnp", size, id_size, symval); in do_pnp_card_entries()
1228 static void do_table(void *symval, unsigned long size, in do_table() argument
1237 device_id_check(mod->name, device_id, size, id_size, symval); in do_table()
1239 size -= id_size; in do_table()
1241 for (i = 0; i < size; i += id_size) { in do_table()