Searched refs:new_res (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/arch/ia64/sn/io/sn2/pcibr/ |
D | pcibr_ate.c | 153 struct resource *new_res; in pcibr_ate_alloc() local 156 new_res = (struct resource *) kmalloc( sizeof(struct resource), GFP_ATOMIC); in pcibr_ate_alloc() 157 memset(new_res, 0, sizeof(*new_res)); in pcibr_ate_alloc() 158 status = allocate_resource( &pcibr_soft->bs_int_ate_resource, new_res, in pcibr_ate_alloc() 164 status = allocate_resource( &pcibr_soft->bs_ext_ate_resource, new_res, in pcibr_ate_alloc() 169 new_res->start = -1; in pcibr_ate_alloc() 175 kfree(new_res); in pcibr_ate_alloc() 180 …(struct resource **)(((unsigned long)pcibr_soft->bs_allocated_ate_res) + new_res->start * sizeof( … in pcibr_ate_alloc() 181 *allocated_res = new_res; in pcibr_ate_alloc() 183 return new_res->start; in pcibr_ate_alloc()
|
/linux-2.4.37.9/arch/ia64/sn/io/sn2/ |
D | pciio.c | 958 struct resource *new_res; in pciio_device_win_alloc() local 961 new_res = (struct resource *) kmalloc( sizeof(struct resource), GFP_KERNEL); in pciio_device_win_alloc() 964 status = allocate_resource( root_resource, new_res, in pciio_device_win_alloc() 971 status = allocate_resource( root_resource, new_res, in pciio_device_win_alloc() 978 kfree(new_res); in pciio_device_win_alloc() 987 win_alloc->wa_resource = new_res; in pciio_device_win_alloc() 988 win_alloc->wa_base = new_res->start; in pciio_device_win_alloc() 992 return new_res->start;; in pciio_device_win_alloc()
|