Home
last modified time | relevance | path

Searched refs:nsid (Results 1 – 15 of 15) sorted by relevance

/external/iproute2/ip/
Dipnetns.c139 int nsid; member
144 #define NSID_HASH_NSID(nsid) (nsid & (NSIDMAP_SIZE - 1)) argument
150 static struct nsid_cache *netns_map_get_by_nsid(int nsid) in netns_map_get_by_nsid() argument
152 uint32_t h = NSID_HASH_NSID(nsid); in netns_map_get_by_nsid()
158 if (c->nsid == nsid) in netns_map_get_by_nsid()
165 static int netns_map_add(int nsid, const char *name) in netns_map_add() argument
170 if (netns_map_get_by_nsid(nsid) != NULL) in netns_map_add()
178 c->nsid = nsid; in netns_map_add()
181 h = NSID_HASH_NSID(nsid); in netns_map_add()
214 int nsid; in netns_map_init() local
[all …]
Dipmonitor.c46 if (ctrl == NULL || ctrl->nsid < 0) in print_headers()
49 fprintf(fp, "[nsid %d]", ctrl->nsid); in print_headers()
Dxfrm_monitor.c294 if (ctrl == NULL || ctrl->nsid < 0) in xfrm_accept_msg()
297 fprintf(fp, "[nsid %d]", ctrl->nsid); in xfrm_accept_msg()
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux.c204 uint32_t nsid = 0; /* invalid NSID */ in check_file_type() local
226 nsid = ioctl(dev_fd, NVME_IOCTL_ID, NULL); in check_file_type()
227 if (SG_NVME_BROADCAST_NSID == nsid) { /* means ioctl error */ in check_file_type()
249 else if (is_nvme && (0 == nsid)) in check_file_type()
253 ((uint32_t)-1 == nsid) ? -1LL : (long long)nsid); in check_file_type()
264 *nsid_p = nsid; in check_file_type()
292 uint32_t nsid; in check_pt_file_handle() local
295 is_sg = check_file_type(dev_fd, &a_stat, &is_bsg, &is_nvme, &nsid, in check_pt_file_handle()
303 else if (is_nvme && (0 == nsid)) in check_pt_file_handle()
Dsg_pt_linux_nvme.c472 cmd.nsid = ptp->nvme_nsid; in sntl_inq()
627 cmd.nsid = SG_NVME_BROADCAST_NSID; in sntl_tur()
676 cmd.nsid = SG_NVME_BROADCAST_NSID; in sntl_req_sense()
/external/kernel-headers/original/uapi/linux/
Dnvme_ioctl.h40 __u32 nsid; member
Dlightnvm.h150 __u32 nsid; member
/external/f2fs-tools/tools/sg_write_buffer/include/
Dfreebsd_nvme_ioctl.h45 uint32_t nsid; /* namespace identifier */ member
Dsg_pt_nvme.h92 uint32_t nsid; member
/external/wpa_supplicant_8/src/wps/
Dwps_common.c505 u8 nsid[16] = { in uuid_gen_mac_addr() local
513 addr[0] = nsid; in uuid_gen_mac_addr()
514 len[0] = sizeof(nsid); in uuid_gen_mac_addr()
/external/iproute2/include/
Dlibnetlink.h69 int nsid; member
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga_reg.h1521 uint32 nsid; member
/external/iproute2/lib/
Dlibnetlink.c735 ctrl.nsid = -1; in rtnl_listen()
743 ctrl.nsid = *data; in rtnl_listen()
/external/strace/
DNEWS127 mdb, neigh, neightbl, netconf, nsid, route, rule, tc, and tca messages
DChangeLog5164 tests: check decoding of rtnetlink nsid messages.
5168 netlink: add a basic rtnetlink parser of nsid messages.