Home
last modified time | relevance | path

Searched refs:GFP_KERNEL (Results 1 – 25 of 30) sorted by relevance

12

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvConfig.c194 endpoint->extra = (unsigned char *) kmalloc(len, GFP_KERNEL); in usb_parse_endpoint()
251 GFP_KERNEL); in usb_parse_interface()
291 … ptr = (struct usb_host_interface *) kmalloc(sizeof(*ptr) * interface->max_altsetting, GFP_KERNEL); in usb_parse_interface()
342 ifp->extra = (unsigned char*) kmalloc(len, GFP_KERNEL); in usb_parse_interface()
370 sizeof(struct usb_host_endpoint), GFP_KERNEL); in usb_parse_interface()
434 … config->interface[i] = (struct usb_interface *) kmalloc(sizeof(struct usb_interface), GFP_KERNEL); in usb_parse_configuration()
492 config->extra = (unsigned char*) kmalloc(len, GFP_KERNEL); in usb_parse_configuration()
569 sizeof(struct usb_host_config), GFP_KERNEL); in usb_get_configuration()
578 dev->descriptor.bNumConfigurations, GFP_KERNEL); in usb_get_configuration()
584 buffer = (unsigned char*) kmalloc(8, GFP_KERNEL); in usb_get_configuration()
[all …]
H A DdrvMassStor.c507 …us->cr = (struct usb_ctrlrequest*) usb_buffer_alloc(us->pusb_dev, sizeof(*us->cr), GFP_KERNEL, &us… in associate_dev()
521 …us->iobuf = (unsigned char*) usb_buffer_alloc(us->pusb_dev, US_IOBUF_SIZE, GFP_KERNEL, &us->iobuf_… in associate_dev()
889 us->current_urb = usb_alloc_urb(0, GFP_KERNEL); in usb_stor_acquire_resources()
894 us->data_urb = usb_alloc_urb(0, GFP_KERNEL); in usb_stor_acquire_resources()
899 us->status_urb = usb_alloc_urb(0, GFP_KERNEL); in usb_stor_acquire_resources()
913 …ass_stor_device=(struct LUN_Device*)kmalloc(sizeof(struct LUN_Device)*(us->max_lun+1), GFP_KERNEL); in usb_stor_acquire_resources()
1081 us = (struct us_data *) kmalloc(sizeof(*us), GFP_KERNEL); in storage_probe()
H A DdrvHub.c1692 hub->buffer = (char (*)[3]) usb_buffer_alloc(dev, sizeof(*hub->buffer), GFP_KERNEL, in hub_configure()
1765 hub->status = kmalloc(sizeof(*hub->status), GFP_KERNEL); in hub_configure()
1772 hub->descriptor = kmalloc(sizeof(*hub->descriptor), GFP_KERNEL); in hub_configure()
2591 hub->urb = usb_alloc_urb(0, GFP_KERNEL); in hub_configure()
2674 ret = usb_submit_urb(hub->urb, GFP_KERNEL); in hub_configure()
3251 hub = (struct usb_hub*) kmalloc(sizeof(*hub), GFP_KERNEL); in hub_probe()
3614 if (usb_submit_urb(hub->urb, GFP_KERNEL)) in hub_reset()
H A DdrvSCSI.c958 lpu8TempBuf = kmalloc(u32BlockSize, GFP_KERNEL);
1003 lpu8TempBuf = kmalloc(u32BlockSize, GFP_KERNEL);
1213 lpu8TempBuf = kmalloc(u32BlockSize, GFP_KERNEL);
1261 lpu8TempBuf = kmalloc(u32BlockSize, GFP_KERNEL);
H A DdrvMsg.c280 urb=usb_alloc_urb(0, GFP_KERNEL); in usb_bulk_msg()
547 tbuf = (unsigned char*) kmalloc(256, GFP_KERNEL); in usb_string()
H A DdrvHCD.c1053 bus = (struct usb_bus*) kmalloc (sizeof *bus, GFP_KERNEL); in usb_alloc_bus()
1538 dev = (struct hcd_dev *) kmalloc (sizeof *dev, GFP_KERNEL); in hcd_alloc_dev()
H A DdrvUSBDebug.c245 if (!(buf = (char*) kmalloc(256, GFP_KERNEL))) in usb_show_string()
H A DdrvEHCI_MEM.cxx97 kmalloc (sizeof (struct ehci_hcd), GFP_KERNEL); in ehci_hcd_alloc()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvConfig.c222 kmalloc(sizeof(*pIntf->altsetting) * pIntf->max_altsetting, GFP_KERNEL); in ms_usb_parse_interface()
246 kmalloc(sizeof(*pInft_tmp) * pIntf->max_altsetting, GFP_KERNEL); in ms_usb_parse_interface()
293 pIf->desc.bNumEndpoints, GFP_KERNEL); in ms_usb_parse_interface()
359 …pConfig->interface[i] = (struct usb_interface *) kmalloc(sizeof(struct usb_interface), GFP_KERNEL); in ms_usb_parse_config()
464 sizeof(struct usb_host_config), GFP_KERNEL); in ms_usb_get_config()
476 dev->descriptor.bNumConfigurations, GFP_KERNEL); in ms_usb_get_config()
484 pBuf = (unsigned char*) kmalloc(8, GFP_KERNEL); in ms_usb_get_config()
504 pBuf_tmp = (unsigned char*) kmalloc(len, GFP_KERNEL); in ms_usb_get_config()
H A DdrvMassStor.c261 …ctrlrequest*) ms_usb_buffer_alloc(ms_us->pusb_dev, sizeof(*ms_us->cr), GFP_KERNEL, &ms_us->cr_dma); in ms_usb_associate_dev()
262 …ms_us->iobuf = (unsigned char*) ms_usb_buffer_alloc(ms_us->pusb_dev, MS_IOBUF_SIZE, GFP_KERNEL, &m… in ms_usb_associate_dev()
443 ms_us->current_urb = ms_usb_alloc_urb(GFP_KERNEL); in ms_usb_acquire_resources()
467 …->msc_device=(struct LUN_Device*)kmalloc(sizeof(struct LUN_Device)*(ms_us->max_lun+1), GFP_KERNEL); in ms_usb_acquire_resources()
538 ms_us = (struct ms_usdata *) kmalloc(sizeof(*ms_us), GFP_KERNEL); in ms_usb_msc_probe()
H A DdrvHub.c267 hub->buffer = (char (*)[3]) ms_usb_buffer_alloc(ms_dev, sizeof(*hub->buffer), GFP_KERNEL, in ms_hub_configure()
405 hub->urb = ms_usb_alloc_urb(GFP_KERNEL); in ms_hub_configure()
421 s32Ret = ms_usb_submit_urb(hub->urb, GFP_KERNEL); in ms_hub_configure()
538 pHub = (struct usb_hub*) kmalloc(sizeof(*pHub), GFP_KERNEL); in ms_hub_probe()
595 if (ms_usb_submit_urb(hub->urb, GFP_KERNEL)) in ms_hub_reset()
H A DdrvMSC.c916 lpu8TempBuf = kmalloc(u32BlockSize, GFP_KERNEL);
961 lpu8TempBuf = kmalloc(u32BlockSize, GFP_KERNEL);
1174 lpu8TempBuf = kmalloc(u32BlockSize, GFP_KERNEL);
1220 lpu8TempBuf = kmalloc(u32BlockSize, GFP_KERNEL);
H A DdrvMsg.c338 urb=ms_usb_alloc_urb(GFP_KERNEL);
708 pTmp_buf = (unsigned char*) kmalloc(256, GFP_KERNEL); in ms_usb_string()
H A DdrvUSB.c138 if (!(pCbuf = (char*) kmalloc(256, GFP_KERNEL)))
401 pUdev = (struct usb_device*) kmalloc(sizeof(*pUdev), GFP_KERNEL); in ms_usb_alloc_dev()
H A DdrvUsbd.c687 pEhci = (struct ehci_hcd *)kmalloc (sizeof (struct ehci_hcd), GFP_KERNEL); in ms_new_usb_hcd()
942 pDev = (struct s_hcd_dev *) kmalloc (sizeof *pDev, GFP_KERNEL); in ms_hcd_alloc_dev()
/utopia/UTPA2-700.0.x/projects/build/scripts/coccinelle/locks/
H A Dcall_kern.cocci1 /// Find functions that refer to GFP_KERNEL but are called with locks held.
2 /// The proposed change of converting the GFP_KERNEL is not necessarily the
31 GFP_KERNEL@p
73 - GFP_KERNEL@p
/utopia/UTPA2-700.0.x/modules/hwi2c/utopia_adaption/hwi2c/
H A DHWI2C_adp.c179 tmp.pRegAddr = kmalloc(sizeof(MS_U8)*tmp_compat.uAddrCnt,GFP_KERNEL); in HWI2C_adp_Ioctl()
180 tmp.pData = kmalloc(sizeof(MS_U8)*tmp_compat.uSize,GFP_KERNEL); in HWI2C_adp_Ioctl()
222 tmpr.pRegAddr = kmalloc(sizeof(MS_U8)*tmpr_compat.uAddrCnt,GFP_KERNEL); in HWI2C_adp_Ioctl()
223 tmpr.pData = kmalloc(sizeof(MS_U8)*tmpr_compat.uSize,GFP_KERNEL); in HWI2C_adp_Ioctl()
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/
H A Dutopia.h106 #define malloc(size) kmalloc((size), GFP_KERNEL)
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/include/
H A DdrvPorts.h169 #define GFP_KERNEL 2 //unmeaning macro
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/include/
H A DdrvPorts.h212 #define GFP_KERNEL 2 //unmeaning macro
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/linux_kernel/
H A Dutopia_adp.c82 pKQueueNode= kmalloc(sizeof(*pKQueueNode), GFP_KERNEL); in UADPKQueuePush()
H A Dutopia_adp_bypass.c24 #define MALLOC(size) kmalloc(size,GFP_KERNEL)
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel/
H A Dmem_priv.c166 var->pThis = kmalloc(sizeof(Cyg_Mempool), GFP_KERNEL); in cyg_mempool_var_create()
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/
H A Dmem_priv.c166 var->pThis = kmalloc(sizeof(Cyg_Mempool), GFP_KERNEL); in cyg_mempool_var_create()
/utopia/UTPA2-700.0.x/modules/msos/utopia_adaption/utopia/
H A Dutopia_dev.c389 Tmp = kzalloc(sizeof(UTOPIA2K_ADP), GFP_KERNEL); in utopia_proc_open()

12