Searched refs:pool (Results 1 – 4 of 4) sorted by relevance
/tools/testing/selftests/net/forwarding/ |
D | devlink_lib.sh | 112 local pool=$1; shift 114 devlink sb port pool show $port pool $pool -j \ 121 local pool=$1; shift 123 local key="port_pool($port,$pool).threshold" 125 DEVLINK_ORIG[$key]=$(devlink_port_pool_threshold $port $pool) 126 devlink sb port pool set $port pool $pool th $th 132 local pool=$1; shift 133 local key="port_pool($port,$pool).threshold" 135 devlink sb port pool set $port pool $pool th ${DEVLINK_ORIG[$key]} 140 local pool=$1; shift [all …]
|
/tools/hv/ |
D | hv_kvp_daemon.c | 121 static void kvp_acquire_lock(int pool) in kvp_acquire_lock() argument 126 if (fcntl(kvp_file_info[pool].fd, F_SETLKW, &fl) == -1) { in kvp_acquire_lock() 127 syslog(LOG_ERR, "Failed to acquire the lock pool: %d; error: %d %s", pool, in kvp_acquire_lock() 133 static void kvp_release_lock(int pool) in kvp_release_lock() argument 138 if (fcntl(kvp_file_info[pool].fd, F_SETLK, &fl) == -1) { in kvp_release_lock() 139 syslog(LOG_ERR, "Failed to release the lock pool: %d; error: %d %s", pool, in kvp_release_lock() 145 static void kvp_update_file(int pool) in kvp_update_file() argument 153 kvp_acquire_lock(pool); in kvp_update_file() 155 filep = fopen(kvp_file_info[pool].fname, "we"); in kvp_update_file() 157 syslog(LOG_ERR, "Failed to open file, pool: %d; error: %d %s", pool, in kvp_update_file() [all …]
|
/tools/usb/usbip/libsrc/ |
D | names.c | 142 struct pool { struct 143 struct pool *next; argument 147 static struct pool *pool_head; argument 151 struct pool *p; in my_malloc() 153 p = calloc(1, sizeof(struct pool)); in my_malloc() 171 struct pool *pool; in names_free() local 176 for (pool = pool_head; pool != NULL; ) { in names_free() 177 struct pool *tmp; in names_free() 179 if (pool->mem) in names_free() 180 free(pool->mem); in names_free() [all …]
|
/tools/lib/traceevent/Documentation/ |
D | libtraceevent-strerror.txt | 46 char *pool = calloc(1, 128); 49 printf ("The pool is not initialized, %s", buf);
|