/external/syslinux/gpxe/src/core/ |
D | refcnt.c | 38 struct refcnt * ref_get ( struct refcnt *refcnt ) { in ref_get() argument 40 if ( refcnt ) { in ref_get() 41 refcnt->refcnt++; in ref_get() 42 DBGC2 ( refcnt, "REFCNT %p incremented to %d\n", in ref_get() 43 refcnt, refcnt->refcnt ); in ref_get() 45 return refcnt; in ref_get() 58 void ref_put ( struct refcnt *refcnt ) { in ref_put() argument 60 if ( ! refcnt ) in ref_put() 63 refcnt->refcnt--; in ref_put() 64 DBGC2 ( refcnt, "REFCNT %p decremented to %d\n", in ref_put() [all …]
|
D | resolv.c | 81 .refcnt = NULL, 96 struct refcnt refcnt; member 124 resolv_init ( &numeric->resolv, &null_resolv_ops, &numeric->refcnt ); in numeric_resolv() 125 process_init ( &numeric->process, numeric_step, &numeric->refcnt ); in numeric_resolv() 139 ref_put ( &numeric->refcnt ); in numeric_resolv() 158 struct refcnt refcnt; member 259 resolv_init ( &mux->parent, &null_resolv_ops, &mux->refcnt ); in resolv() 260 resolv_init ( &mux->child, &resolv_mux_child_ops, &mux->refcnt ); in resolv() 276 ref_put ( &mux->refcnt ); in resolv() 280 ref_put ( &mux->refcnt ); in resolv() [all …]
|
D | downloader.c | 41 struct refcnt refcnt; member 61 static void downloader_free ( struct refcnt *refcnt ) { in downloader_free() argument 63 container_of ( refcnt, struct downloader, refcnt ); in downloader_free() 267 downloader->refcnt.free = downloader_free; in create_downloader() 269 &downloader->refcnt ); in create_downloader() 271 &downloader->refcnt ); in create_downloader() 282 ref_put ( &downloader->refcnt ); in create_downloader() 288 ref_put ( &downloader->refcnt ); in create_downloader()
|
D | posix_io.c | 42 struct refcnt refcnt; member 70 static void posix_file_free ( struct refcnt *refcnt ) { in posix_file_free() argument 72 container_of ( refcnt, struct posix_file, refcnt ); in posix_file_free() 201 file->refcnt.free = posix_file_free; in open() 205 &file->refcnt ); in open() 230 ref_put ( &file->refcnt ); in open() 353 ref_put ( &file->refcnt ); in close()
|
D | hw.c | 17 struct refcnt refcnt; member 62 xfer_init ( &hw->xfer, &hw_xfer_operations, &hw->refcnt ); in hw_open() 63 process_init ( &hw->process, hw_step, &hw->refcnt ); in hw_open() 67 ref_put ( &hw->refcnt ); in hw_open()
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | refcnt.h | 23 struct refcnt { struct 29 int refcnt; argument 40 void ( * free ) ( struct refcnt *refcnt ); argument 43 extern struct refcnt * ref_get ( struct refcnt *refcnt ); 44 extern void ref_put ( struct refcnt *refcnt );
|
D | process.h | 33 struct refcnt *refcnt; member 49 struct refcnt *refcnt ) { in process_init_stopped() argument 52 process->refcnt = refcnt; in process_init_stopped() 64 struct refcnt *refcnt ) { in process_init() argument 65 process_init_stopped ( process, step, refcnt ); in process_init()
|
D | settings.h | 81 struct refcnt *refcnt; member 259 struct refcnt *refcnt, in settings_init() argument 265 settings->refcnt = refcnt; in settings_init() 278 struct refcnt *refcnt, in generic_settings_init() argument 281 refcnt, name, 0 ); in generic_settings_init()
|
D | interface.h | 30 struct refcnt *refcnt; member 41 ref_get ( intf->refcnt ); in intf_get() 52 ref_put ( intf->refcnt ); in intf_put()
|
D | dhcppkt.h | 22 struct refcnt refcnt; member 43 ref_get ( &dhcppkt->refcnt ); in dhcppkt_get() 54 ref_put ( &dhcppkt->refcnt ); in dhcppkt_put()
|
D | filter.h | 68 struct refcnt *refcnt ) { in filter_init() argument 69 xfer_init ( &left->xfer, left_op, refcnt ); in filter_init() 70 xfer_init ( &right->xfer, right_op, refcnt ); in filter_init()
|
D | image.h | 24 struct refcnt refcnt; member 169 ref_get ( &image->refcnt ); in image_get() 179 ref_put ( &image->refcnt ); in image_put()
|
D | job.h | 88 struct refcnt *refcnt ) { in job_init() argument 90 job->intf.refcnt = refcnt; in job_init()
|
D | nvo.h | 17 struct refcnt; 51 struct nvo_fragment *fragments, struct refcnt *refcnt );
|
D | resolv.h | 51 struct refcnt *refcnt ) { in resolv_init() argument 53 resolv->intf.refcnt = refcnt; in resolv_init()
|
D | uri.h | 49 struct refcnt refcnt; member 152 ref_get ( &uri->refcnt ); in uri_get() 163 ref_put ( &uri->refcnt ); in uri_put()
|
D | xfer.h | 182 struct refcnt *refcnt ) { in xfer_init() argument 184 xfer->intf.refcnt = refcnt; in xfer_init() 196 .refcnt = NULL, \
|
/external/syslinux/gpxe/src/net/tcp/ |
D | ftp.c | 49 struct refcnt refcnt; member 77 static void ftp_free ( struct refcnt *refcnt ) { in ftp_free() argument 79 container_of ( refcnt, struct ftp_request, refcnt ); in ftp_free() 494 ftp->refcnt.free = ftp_free; in ftp_open() 495 xfer_init ( &ftp->xfer, &ftp_xfer_operations, &ftp->refcnt ); in ftp_open() 497 xfer_init ( &ftp->control, &ftp_control_operations, &ftp->refcnt ); in ftp_open() 498 xfer_init ( &ftp->data, &ftp_data_operations, &ftp->refcnt ); in ftp_open() 514 ref_put ( &ftp->refcnt ); in ftp_open() 521 ref_put ( &ftp->refcnt ); in ftp_open()
|
D | http.c | 65 struct refcnt refcnt; member 94 static void http_free ( struct refcnt *refcnt ) { in http_free() argument 96 container_of ( refcnt, struct http_request, refcnt ); in http_free() 550 http->refcnt.free = http_free; in http_open_filter() 551 xfer_init ( &http->xfer, &http_xfer_operations, &http->refcnt ); in http_open_filter() 553 xfer_init ( &http->socket, &http_socket_operations, &http->refcnt ); in http_open_filter() 554 process_init ( &http->process, http_step, &http->refcnt ); in http_open_filter() 571 ref_put ( &http->refcnt ); in http_open_filter() 578 ref_put ( &http->refcnt ); in http_open_filter()
|
/external/valgrind/drd/ |
D | drd_segment.c | 81 sg->refcnt = 1; in sg_init() 110 tl_assert(sg->refcnt == 0); in DRD_() 166 sg->refcnt++; in DRD_() 186 sg->refcnt, sg->refcnt - 1, vc); in DRD_() 190 tl_assert(sg->refcnt >= 1); in DRD_() 192 if (--sg->refcnt == 0) in DRD_() 202 tl_assert(sg1->refcnt == 1); in DRD_() 204 tl_assert(sg2->refcnt == 1); in DRD_()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xstutil/include/ |
D | d3d1xstutil.h | 255 uint32_t refcnt; 258 : refcnt(v) 263 p_atomic_inc((int32_t*)&refcnt); 264 return refcnt; 269 if(p_atomic_dec_zero((int32_t*)&refcnt)) 271 return refcnt; 276 p_atomic_inc((int32_t*)&refcnt); 281 if(p_atomic_dec_zero((int32_t*)&refcnt)) 303 uint64_t refcnt; 320 return *(volatile uint64_t*)&refcnt == 0ULL; [all …]
|
/external/syslinux/gpxe/src/net/ |
D | aoe.c | 52 static void aoe_free ( struct refcnt *refcnt ) { in aoe_free() argument 54 container_of ( refcnt, struct aoe_session, refcnt ); in aoe_free() 359 container_of ( ata->backend, struct aoe_session, refcnt ); in aoe_command() 401 container_of ( ata->backend, struct aoe_session, refcnt ); in aoe_detach() 441 aoe->refcnt.free = aoe_free; in aoe_attach() 454 ata->backend = ref_get ( &aoe->refcnt ); in aoe_attach() 469 ref_put ( &aoe->refcnt ); in aoe_attach()
|
/external/syslinux/gpxe/src/net/udp/ |
D | slam.c | 119 struct refcnt refcnt; member 154 static void slam_free ( struct refcnt *refcnt ) { in slam_free() argument 156 container_of ( refcnt, struct slam_request, refcnt ); in slam_free() 751 slam->refcnt.free = slam_free; in slam_open() 752 xfer_init ( &slam->xfer, &slam_xfer_operations, &slam->refcnt ); in slam_open() 753 xfer_init ( &slam->socket, &slam_socket_operations, &slam->refcnt ); in slam_open() 755 &slam->refcnt ); in slam_open() 799 ref_put ( &slam->refcnt ); in slam_open() 804 ref_put ( &slam->refcnt ); in slam_open()
|
/external/libnl/lib/route/ |
D | pktloc.c | 68 loc->refcnt++; in __pktloc_lookup() 191 loc->refcnt = 1; in rtnl_pktloc_alloc() 206 loc->refcnt--; in rtnl_pktloc_put() 207 if (loc->refcnt <= 0) in rtnl_pktloc_put() 229 loc->mask, loc->shift, loc->refcnt); in rtnl_pktloc_add()
|
/external/libnl/src/ |
D | nl-list-sockets.c | 32 int ret, proto, pid, rmem, wmem, refcnt; in main() local 37 &cb, &refcnt); in main() 43 groups, rmem, wmem, cb, refcnt); in main()
|