Searched refs:landing_page (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/usb/gadget/ |
H A D | configfs.c | 58 char landing_page[WEBUSB_URL_RAW_MAX_LENGTH]; member 1058 return sysfs_emit(page, "%s\n", webusb_item_to_gadget_info(item)->landing_page); in webusb_landingPage_show() 1075 if (l > sizeof(gi->landing_page)) { in webusb_landingPage_store() 1096 memcpy_and_pad(gi->landing_page, sizeof(gi->landing_page), page, l, 0); in webusb_landingPage_store() 1746 memcpy(cdev->landing_page, gi->landing_page, WEBUSB_URL_RAW_MAX_LENGTH); in configfs_composite_bind()
|
H A D | composite.c | 900 if (strnlen(cdev->landing_page, sizeof(cdev->landing_page)) > 0) in bos_desc() 2160 if (strncasecmp(cdev->landing_page, "https://", 8) == 0) { in composite_setup() 2163 } else if (strncasecmp(cdev->landing_page, "http://", 7) == 0) { in composite_setup() 2171 landing_page_length = strnlen(cdev->landing_page, in composite_setup() 2180 cdev->landing_page + landing_page_offset, in composite_setup()
|