Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh129 local pool=$1; shift
131 devlink sb port pool show $port pool $pool -j \
138 local pool=$1; shift
139 local key="port_pool($port,$pool).threshold"
141 DEVLINK_ORIG[$key]=$(devlink_port_pool_threshold $port $pool)
147 local pool=$1; shift
150 devlink sb port pool set $port pool $pool th $th
156 local pool=$1; shift
157 local key="port_pool($port,$pool).threshold"
163 devlink sb port pool set $port pool $pool th $orig
[all …]
/tools/testing/selftests/drivers/net/mlxsw/
Dsharedbuffer_configuration.py30 for pool in pools:
31 self._pools.append(pool)
47 def _get_th(self, pool): argument
50 if pool["thtype"] == "dynamic":
58 for pool in self._pools:
59 if pool["type"] == "ingress":
60 ing_pools.append(pool)
62 egr_pools.append(pool)
81 pool = self._get_pool(objid["type"])
82 th = self._get_th(pool)
[all …]
Dsharedbuffer.sh45 local pool=$1; shift
51 | jq -e ".[][][\"pool\"][\"$pool\"][\"max\"]")
/tools/hv/
Dhv_kvp_daemon.c121 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/
Dnames.c142 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/
Dlibtraceevent-strerror.txt46 char *pool = calloc(1, 128);
49 printf ("The pool is not initialized, %s", buf);