Searched refs:hosts (Results 1 - 19 of 19) sorted by relevance

/linux-master/net/netfilter/ipset/
H A Dip_set_bitmap_ip.c44 u32 hosts; /* number of hosts in a subnet */ member in struct:bitmap_ip
61 return ((ip & ip_set_hostmask(m->netmask)) - m->first_ip) / m->hosts;
97 htonl(map->first_ip + id * map->hosts));
184 for (; !before(ip_to, ip); ip += map->hosts) {
221 u32 elements, u32 hosts, u8 netmask)
229 map->hosts = hosts;
257 u32 first_ip = 0, last_ip = 0, hosts; local
298 hosts
219 init_map_ip(struct ip_set *set, struct bitmap_ip *map, u32 first_ip, u32 last_ip, u32 elements, u32 hosts, u8 netmask) argument
[all...]
H A Dip_set_hash_ip.c107 u32 ip = 0, ip_to = 0, hosts, i = 0; local
150 hosts = h->netmask == 32 ? 1 : 2 << (32 - h->netmask - 1);
164 ip += hosts;
/linux-master/drivers/memstick/host/
H A Djmb38x_ms.c69 struct memstick_host *hosts[] __counted_by(host_cnt);
803 if (!jm->hosts[cnt])
805 memstick_suspend_host(jm->hosts[cnt]);
821 if (!jm->hosts[rc])
823 memstick_resume_host(jm->hosts[rc]);
824 memstick_detect_change(jm->hosts[rc]);
930 jm = kzalloc(struct_size(jm, hosts, cnt), GFP_KERNEL);
941 jm->hosts[cnt] = jmb38x_ms_alloc_host(jm, cnt);
942 if (!jm->hosts[cnt])
945 rc = memstick_add_host(jm->hosts[cn
[all...]
/linux-master/fs/nfsd/
H A Dexport.h24 char *hosts; /* colon separated list of hosts */ member in struct:nfsd4_fs_location
H A Dexport.c327 kfree(locations[i].hosts);
481 fsloc->locations[i].hosts = kstrdup(buf, GFP_KERNEL);
482 if (!fsloc->locations[i].hosts)
1342 seq_escape(m, fsloc->locations[0].hosts, ",;@ \t\n\\");
1347 seq_escape(m, fsloc->locations[i].hosts, ",;@ \t\n\\");
H A Dnfs4xdr.c2666 status = nfsd4_encode_components_esc(xdr, ':', location->hosts,
/linux-master/drivers/soc/qcom/
H A Dsmsm.c29 * in updates of the entry for each of the N hosts. Upon updating a state bit
73 * @hosts: context for each of the hosts
90 struct smsm_host *hosts; member in struct:qcom_smsm
170 /* Iterate over all hosts to check whom wants a kick */
172 hostp = &smsm->hosts[host];
367 struct smsm_host *host = &smsm->hosts[host_id];
437 * Attempt to acquire the number of hosts and entries from the optional shared
469 "found custom size of smsm: %d entries %d hosts\n",
504 smsm->hosts
[all...]
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_chan.c260 const struct nvif_mclass hosts[] = { local
291 cid = nvif_mclass(&device->object, hosts);
295 if (hosts[cid].oclass < NV50_CHANNEL_GPFIFO)
313 if (hosts[cid].oclass < NV50_CHANNEL_GPFIFO) {
320 if (hosts[cid].oclass < FERMI_CHANNEL_GPFIFO)
331 if (hosts[cid].oclass >= VOLTA_CHANNEL_GPFIFO_A) {
349 ret = nvif_object_ctor(&device->object, "abi16ChanUser", 0, hosts[cid].oclass,
/linux-master/net/sched/
H A Dsch_cake.c155 struct cake_host hosts[CAKE_QUEUES]; /* for triple isolation */ member in struct:cake_tin_data
790 q->hosts[q->flows[reduced_hash].srchost].srchost_bulk_flow_count--;
791 q->hosts[q->flows[reduced_hash].dsthost].dsthost_bulk_flow_count--;
806 if (q->hosts[outer_hash + k].srchost_tag ==
812 if (!q->hosts[outer_hash + k].srchost_bulk_flow_count)
815 q->hosts[outer_hash + k].srchost_tag = srchost_hash;
819 q->hosts[srchost_idx].srchost_bulk_flow_count++;
829 if (q->hosts[outer_hash + k].dsthost_tag ==
835 if (!q->hosts[outer_hash + k].dsthost_bulk_flow_count)
838 q->hosts[outer_has
[all...]
/linux-master/drivers/scsi/isci/
H A Dhost.h298 struct isci_host *hosts[SCI_MAX_CONTROLLERS]; member in struct:isci_pci_info
314 (ihost = to_pci_info(pdev)->hosts[id]); id++)
H A Dinit.c351 ihost = pci_info->hosts[id];
366 ihost = pci_info->hosts[id];
675 pci_info->hosts[i] = h;
/linux-master/drivers/scsi/cxlflash/
H A Dsislite.h476 } hosts[CXLFLASH_MAX_CONTEXT]; member in struct:cxlflash_afu_map
H A Dsuperpipe.c1475 attach->mmio_size = sizeof(afu->afu_map->hosts[0].harea);
1732 recover->mmio_size = sizeof(afu->afu_map->hosts[0].harea);
H A Dmain.c1735 hwq->host_map = &afu->afu_map->hosts[hwq->ctx_hndl].host;
/linux-master/drivers/scsi/
H A DMakefile159 scsi_mod-y += scsi.o hosts.o scsi_ioctl.o \
/linux-master/drivers/nvme/target/
H A Dconfigfs.c1072 pr_err("can only link hosts into the allowed_hosts directory!\n");
1085 pr_err("can't add hosts when allow_any_host is set!\n");
1090 list_for_each_entry(p, &subsys->hosts, entry) {
1094 list_add_tail(&link->entry, &subsys->hosts);
1113 list_for_each_entry(p, &subsys->hosts, entry) {
1156 if (allow_any_host && !list_empty(&subsys->hosts)) {
1157 pr_err("Can't set allow_any_host when explicit hosts are set!\n");
2253 "hosts", &nvmet_hosts_type);
H A Dnvmet.h263 struct list_head hosts; member in struct:nvmet_subsys
H A Dauth.c141 list_for_each_entry(p, &ctrl->subsys->hosts, entry) {
H A Dcore.c36 * - per-subsystem allowed hosts list
1325 list_for_each_entry(p, &subsys->hosts, entry) {
1624 INIT_LIST_HEAD(&subsys->hosts);

Completed in 386 milliseconds