buffhds           280 drivers/usb/gadget/function/f_mass_storage.c 	struct fsg_buffhd	*buffhds;
buffhds          2210 drivers/usb/gadget/function/f_mass_storage.c 			struct fsg_buffhd *bh = &common->buffhds[i];
buffhds          2267 drivers/usb/gadget/function/f_mass_storage.c 		struct fsg_buffhd	*bh = &common->buffhds[i];
buffhds          2339 drivers/usb/gadget/function/f_mass_storage.c 			bh = &common->buffhds[i];
buffhds          2365 drivers/usb/gadget/function/f_mass_storage.c 		bh = &common->buffhds[i];
buffhds          2368 drivers/usb/gadget/function/f_mass_storage.c 	common->next_buffhd_to_fill = &common->buffhds[0];
buffhds          2369 drivers/usb/gadget/function/f_mass_storage.c 	common->next_buffhd_to_drain = &common->buffhds[0];
buffhds          2594 drivers/usb/gadget/function/f_mass_storage.c static void _fsg_common_free_buffers(struct fsg_buffhd *buffhds, unsigned n)
buffhds          2596 drivers/usb/gadget/function/f_mass_storage.c 	if (buffhds) {
buffhds          2597 drivers/usb/gadget/function/f_mass_storage.c 		struct fsg_buffhd *bh = buffhds;
buffhds          2602 drivers/usb/gadget/function/f_mass_storage.c 		kfree(buffhds);
buffhds          2608 drivers/usb/gadget/function/f_mass_storage.c 	struct fsg_buffhd *bh, *buffhds;
buffhds          2611 drivers/usb/gadget/function/f_mass_storage.c 	buffhds = kcalloc(n, sizeof(*buffhds), GFP_KERNEL);
buffhds          2612 drivers/usb/gadget/function/f_mass_storage.c 	if (!buffhds)
buffhds          2616 drivers/usb/gadget/function/f_mass_storage.c 	bh = buffhds;
buffhds          2627 drivers/usb/gadget/function/f_mass_storage.c 	bh->next = buffhds;
buffhds          2629 drivers/usb/gadget/function/f_mass_storage.c 	_fsg_common_free_buffers(common->buffhds, common->fsg_num_buffers);
buffhds          2631 drivers/usb/gadget/function/f_mass_storage.c 	common->buffhds = buffhds;
buffhds          2640 drivers/usb/gadget/function/f_mass_storage.c 	_fsg_common_free_buffers(buffhds, n);
buffhds          2674 drivers/usb/gadget/function/f_mass_storage.c 	_fsg_common_free_buffers(common->buffhds, common->fsg_num_buffers);
buffhds          2675 drivers/usb/gadget/function/f_mass_storage.c 	common->buffhds = NULL;
buffhds          2886 drivers/usb/gadget/function/f_mass_storage.c 	_fsg_common_free_buffers(common->buffhds, common->fsg_num_buffers);