Home
last modified time | relevance | path

Searched refs:msgnum (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/srchtxt/
H A Dsrchtxt.c84 static int msgnum; /* message number */ variable
227 (void) fprintf(stdout, "<%s:%d>%s\n", fname, msgnum, outstring);
269 for (msgnum = 1; msgnum <= num_msgs; msgnum++) {
270 msg = (char *)(*(int *)(addr + sizeof (int) * msgnum) + addr);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgettxt.c84 int msgnum; /* message number */ in gettxt() local
122 msgnum = atoi(msg_id + name_len + 1); in gettxt()
205 if (msgnum <= 0 || msgnum > *(int *)dbl->addr) in gettxt()
209 *(int *)(dbl->addr + msgnum * sizeof (int)))); in gettxt()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_emul.h115 #define PBA_SIZE(msgnum) (roundup2((msgnum), 64) / 8) argument
238 int pci_emul_add_msicap(struct pci_devinst *pi, int msgnum);
243 void pci_generate_msi(struct pci_devinst *pi, int msgnum);
244 void pci_generate_msix(struct pci_devinst *pi, int msgnum);
257 int pci_emul_add_msixcap(struct pci_devinst *pi, int msgnum, int barnum);
H A Dpci_emul.c1141 pci_populate_msicap(struct msicap *msicap, int msgnum, int nextptr) in pci_populate_msicap() argument
1146 assert((msgnum & (msgnum - 1)) == 0 && msgnum >= 1 && msgnum <= 32); in pci_populate_msicap()
1147 mmc = ffs(msgnum) - 1; in pci_populate_msicap()
1156 pci_emul_add_msicap(struct pci_devinst *pi, int msgnum) in pci_emul_add_msicap() argument
1160 pci_populate_msicap(&msicap, msgnum, 0); in pci_emul_add_msicap()
1166 pci_populate_msixcap(struct msixcap *msixcap, int msgnum, int barnum, in pci_populate_msixcap() argument
1180 msixcap->msgctrl = msgnum - 1; in pci_populate_msixcap()
1208 pci_emul_add_msixcap(struct pci_devinst *pi, int msgnum, int barnum) in pci_emul_add_msixcap() argument
1213 assert(msgnum >= 1 && msgnum <= MAX_MSIX_TABLE_ENTRIES); in pci_emul_add_msixcap()
1216 tab_size = msgnum * MSIX_TABLE_ENTRY_SIZE; in pci_emul_add_msixcap()
[all …]
H A Dpci_passthru.c184 passthru_add_msicap(struct pci_devinst *pi, int msgnum, int nextptr) in passthru_add_msicap() argument
190 pci_populate_msicap(&msicap, msgnum, nextptr); in passthru_add_msicap()