Home
last modified time | relevance | path

Searched refs:inum (Results 1 – 25 of 88) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/pcmcia/pcs/
H A Dpcs.c107 int inum; in pcs_getinfo() local
115 inum = getminor((dev_t)arg); in pcs_getinfo()
117 inum); in pcs_getinfo()
124 inum = getminor((dev_t)arg); in pcs_getinfo()
126 inum); in pcs_getinfo()
130 *result = (void *)(uintptr_t)inum; in pcs_getinfo()
142 int inum; in pcs_attach() local
154 inum = ddi_get_instance(dip); in pcs_attach()
156 if (ddi_soft_state_zalloc(pcs_instances, inum) == DDI_SUCCESS) { in pcs_attach()
158 inum); in pcs_attach()
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_utils.c654 int i, inum; in apix_dup_vectors() local
1247 int inum = -1; in apix_get_min_dev_inum() local
1256 if (inum == -1) in apix_get_min_dev_inum()
1259 inum = (dvp->dv_inum < inum) ? in apix_get_min_dev_inum()
1265 return (inum); in apix_get_min_dev_inum()
1274 int inum = -1; in apix_get_max_dev_inum() local
1283 if (inum == -1) in apix_get_max_dev_inum()
1286 inum = (dvp->dv_inum > inum) ? in apix_get_max_dev_inum()
1292 return (inum); in apix_get_max_dev_inum()
1506 int inum; in apix_rebind() local
[all …]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dsymtab.c46 lookupino(ino_t inum) in lookupino() argument
50 if (inum < ROOTINO || inum >= maxino) in lookupino()
78 if (inum < ROOTINO || inum >= maxino) { in addino()
87 np->e_ino = inum; in addino()
101 deleteino(ino_t inum) in deleteino() argument
106 if (inum < ROOTINO || inum >= maxino) { in deleteino()
332 np->e_ino = inum; in addentry()
340 addino(inum, np); in addentry()
352 ino_t inum; in freeentry() local
367 inum = ep->e_ino; in freeentry()
[all …]
/illumos-gate/usr/src/stand/sys/
H A Dsacache.h43 extern void *get_icache(int dev, int inum);
44 extern void set_icache(int dev, int inum, void *buf, int len);
45 extern int set_ricache(int dev, int inum, void *buf, int len);
47 extern void set_dcache(int dev, char *name, int pnum, int inum);
48 extern int set_rdcache(int dev, char *name, int pnum, int inum);
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_msi.c138 ddi_get_instance(rdip), type, inum, msi_count); in px_msi_alloc()
184 for (i = first; i < (first + count); i++, inum++) { in px_msi_alloc()
187 msi_state_p->msi_p[i].msi_inum = inum; in px_msi_alloc()
225 msi_state_p->msi_p[i].msi_inum = inum; in px_msi_alloc()
226 inum++; in px_msi_alloc()
251 "inum 0x%x msi_count 0x%x\n", rdip, inum, msi_count); in px_msi_free()
265 (msi_state_p->msi_p[i].msi_inum >= inum) && in px_msi_free()
294 "rdip 0x%p inum 0x%x\n", rdip, inum); in px_msi_get_msinum()
299 if ((msi_state_p->msi_p[i].msi_inum == inum) && in px_msi_get_msinum()
305 "inum 0x%x msi 0x%x\n", inum, *msi_num_p); in px_msi_get_msinum()
[all …]
H A Dpx_msi.h94 extern int px_msi_alloc(px_t *px_p, dev_info_t *rdip, int type, int inum,
96 extern int px_msi_free(px_t *px_p, dev_info_t *rdip, int inum,
100 int inum, msinum_t *msi_num_p);
/illumos-gate/usr/src/uts/sun4/os/
H A Dintr.c205 setsoftint(uint64_t inum) in setsoftint() argument
207 kdi_setsoftint(inum); in setsoftint()
217 uint64_t inum; in siron() local
227 inum = siron1_inum; in siron()
229 setsoftint(inum); in siron()
340 inum, pil); in no_ivintr()
361 iv = (intr_vec_t *)inum; in intr_dequeue_req()
848 uint64_t inum; in create_softint() local
857 uint64_t inum = hdl; in invoke_softint() local
860 setsoftint(inum); in invoke_softint()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dpci_intr_lib.h41 int inum, uint64_t addr, uint64_t data);
42 extern int pci_msi_unconfigure(dev_info_t *rdip, int type, int inum);
46 extern int pci_msi_set_mask(dev_info_t *rdip, int type, int inum);
47 extern int pci_msi_clr_mask(dev_info_t *rdip, int type, int inum);
48 extern int pci_msi_get_pending(dev_info_t *rdip, int type, int inum,
63 int inum);
/illumos-gate/usr/src/uts/sun4/io/
H A Divintr.c184 add_ivintr(uint_t inum, uint_t pil, intrfunc intr_handler, in add_ivintr() argument
189 if (inum >= MAXIVNUM || pil > PIL_MAX) in add_ivintr()
200 for (iv_p = (intr_vec_t *)intr_vec_table[inum]; in add_ivintr()
216 new_iv_p->iv_inum = inum; in add_ivintr()
218 new_iv_p->iv_vec_next = (intr_vec_t *)intr_vec_table[inum]; in add_ivintr()
219 intr_vec_table[inum] = (uint64_t)new_iv_p; in add_ivintr()
229 rem_ivintr(uint_t inum, uint_t pil) in rem_ivintr() argument
233 if (inum >= MAXIVNUM || pil > PIL_MAX) in rem_ivintr()
238 for (iv_p = prev_iv_p = (intr_vec_t *)intr_vec_table[inum]; in rem_ivintr()
251 intr_vec_table[inum] = (uint64_t)iv_p->iv_vec_next; in rem_ivintr()
/illumos-gate/usr/src/cmd/intrd/
H A Dintrd.pl476 if (VERIFY(exists $cpst->{ivecs}{$inum} &&
477 $cpst->{ivecs}{$inum}{crtime} ==
484 my $ivec = $cpst->{ivecs}{$inum};
489 $delta{$cpu}{ivecs}{$inum} = \%dltivec;
497 delete($delta{$cpu}{ivecs}{$inum});
583 $newivecs->{$inum}{pil} = $ivec->{pil};
584 $newivecs->{$inum}{ino} = $ivec->{ino};
587 $newivecs->{$inum}{ihs} = $ivec->{ihs};
796 delete($oldcpu->{ivecs}{$inum});
818 $newcpu->{ivecs}{$inum} = $ivec;
[all …]
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dcache.c282 get_icache(int dev, int inum) in get_icache() argument
295 x_inode = inum; in get_icache()
296 icp = get_cache(ic_hash[IC_HASH(dev, inum)], &ic_head); in get_icache()
302 set_icache(int dev, int inum, void *ip, int size) in set_icache() argument
313 icp->ic_num = inum; in set_icache()
320 set_ricache(int dev, int inum, void *ip, int size) in set_ricache() argument
335 icp->ic_num = inum; in set_ricache()
400 set_dcache(int dev, char *name, int pnum, int inum) in set_dcache() argument
424 dcp->dc_inum = inum; in set_dcache()
439 set_rdcache(int dev, char *name, int pnum, int inum) in set_rdcache() argument
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dinode.c675 ginode(fsck_ino_t inum) in ginode() argument
680 if (inum < UFSROOTINO || inum > maxino) { in ginode()
685 inum < startinum || in ginode()
730 if (inum != nextino++ || inum > maxino) in getnextinode()
737 if (inum >= lastinum) { in getnextinode()
844 inp->i_number = inum; in cacheino()
859 getinoinfo(fsck_ino_t inum) in getinoinfo() argument
863 inp = search_cache(inphead[inum % numdirs], inum); in getinoinfo()
871 inocached(fsck_ino_t inum) in inocached() argument
873 return (search_cache(inphead[inum % numdirs], inum) != NULL); in inocached()
[all …]
H A Dpass3b.c282 bufchk(char *buf, int64_t len, fsck_ino_t inum) in bufchk() argument
317 pwarn("ACL I=%d HAS ZERO LENGTH\n", inum); in bufchk()
333 recsz, inum); in bufchk()
335 freeino(inum, TI_PARENT); in bufchk()
422 bad, fsdp->fsd_type, inum); in bufchk()
432 freeino(inum, TI_PARENT); in bufchk()
461 inum); in bufchk()
477 inum); in bufchk()
545 if (sci->shadow == inum) in bufchk()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/alloc_class/
H A Dalloc_class_012_pos.ksh36 typeset inum="$2"
38 zdb -dddddd $dataset $inum | nawk '{
93 inum="$(stat -c '%i' /$TESTPOOL/$TESTFS/testfile.$i)"
94 log_must file_in_special_vdev $dataset $inum
/illumos-gate/usr/src/uts/common/io/
H A Dpci_intr_lib.c208 (void *)rdip, type, count, inum, addr, data)); in pci_msi_configure()
254 (inum * PCI_MSIX_VECTOR_SIZE); in pci_msi_configure()
300 "inum 0x%x\n", (void *)rdip, type, inum)); in pci_msi_unconfigure()
329 (inum * PCI_MSIX_VECTOR_SIZE); in pci_msi_unconfigure()
509 mask_bits |= (1 << inum); in pci_msi_set_mask()
526 off = (uintptr_t)msix_p->msix_tbl_addr + (inum * in pci_msi_set_mask()
572 mask_bits &= ~(1 << inum); in pci_msi_clr_mask()
639 *pendingp = pending_bits & ~(1 >> inum); in pci_msi_get_pending()
652 *pendingp = pending_bits & ~(1 >> inum); in pci_msi_get_pending()
1186 if (inum < num_intpriorities) in pci_intx_get_ispec()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_jfs.c106 di_read (u32 inum, dinode_t *di) in di_read() argument
114 key = (((inum >> L2INOSPERIAG) << L2INOSPERIAG) + 4096) >> jfs.l2bsize; in di_read()
115 xd = (inum & (INOSPERIAG - 1)) >> L2INOSPEREXT; in di_read()
116 ioffset = ((inum & (INOSPERIAG - 1)) & (INOSPEREXT - 1)) << L2DISIZE; in di_read()
278 u32 inum, parent_inum; in jfs_dir() local
284 parent_inum = inum = ROOT_I; in jfs_dir()
287 di_read (inum, inode); in jfs_dir()
308 inum = (linkbuf[0] == '/') ? ROOT_I : parent_inum; in jfs_dir()
368 parent_inum = inum; in jfs_dir()
369 inum = de->inumber; in jfs_dir()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsirand/
H A Dfsirand.c67 int inum, imax; in main() local
135 inum = 0; in main()
137 while (inum < imax) { in main()
138 bno = itod(fs, inum); in main()
156 (void) printf("ino %d gen %x\n", inum, in main()
161 inum++; in main()
/illumos-gate/usr/src/tools/protolist/
H A Dprotolist.c55 int inum; in visit_dir() local
140 inum = 0; in visit_dir()
142 inum = st->st_ino; in visit_dir()
146 inum, st->st_nlink, maj, min); in visit_dir()
/illumos-gate/usr/src/uts/common/os/
H A Dddi_intr_impl.c327 i_ddi_get_intr_handle(dev_info_t *dip, int inum) in i_ddi_get_intr_handle() argument
338 if ((inum < 0) || (inum >= intr_p->devi_intr_sup_nintrs)) in i_ddi_get_intr_handle()
342 intr_p->devi_intr_handle_p[inum] : NULL); in i_ddi_get_intr_handle()
346 i_ddi_set_intr_handle(dev_info_t *dip, int inum, ddi_intr_handle_t intr_hdl) in i_ddi_set_intr_handle() argument
357 if ((inum < 0) || (inum >= intr_p->devi_intr_sup_nintrs)) in i_ddi_set_intr_handle()
369 intr_p->devi_intr_handle_p[inum] = intr_hdl; in i_ddi_set_intr_handle()
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dapix.h312 extern apix_vector_t *apix_alloc_intx(dev_info_t *dip, int inum, int irqno);
313 extern int apix_alloc_msi(dev_info_t *dip, int inum, int count, int behavior);
314 extern int apix_alloc_msix(dev_info_t *dip, int inum, int count, int behavior);
315 extern void apix_free_vectors(dev_info_t *dip, int inum, int count, int type);
321 extern void apix_set_dev_map(apix_vector_t *vecp, dev_info_t *dip, int inum);
322 extern apix_vector_t *apix_get_dev_map(dev_info_t *dip, int inum, int type);
/illumos-gate/usr/src/uts/i86xpv/io/psm/
H A Dxpv_intr.c238 apic_pci_msi_enable_vector(apic_irq_t *irq_ptr, int type, int inum, int vector, in apic_pci_msi_enable_vector() argument
249 ddi_driver_name(dip), inum, vector, target_apic_id)); in apic_pci_msi_enable_vector()
310 apic_pci_msi_enable_mode(dev_info_t *rdip, int type, int inum) in apic_pci_msi_enable_mode() argument
336 off = (uintptr_t)msix_p->msix_tbl_addr + (inum * in apic_pci_msi_enable_mode()
361 apic_pci_msi_unconfigure(dev_info_t *rdip, int type, int inum) in apic_pci_msi_unconfigure() argument
H A Dxpv_psm.c115 apic_alloc_msi_vectors(dev_info_t *dip, int inum, int count, int pri,
118 apic_alloc_msix_vectors(dev_info_t *dip, int inum, int count, int pri,
1177 apic_alloc_msi_vectors(dev_info_t *dip, int inum, int count, int pri, in apic_alloc_msi_vectors() argument
1189 (void *)dip, inum, pri, count, behavior)); in apic_alloc_msi_vectors()
1272 irqptr->airq_ioapicindex = (uchar_t)inum; /* start */ in apic_alloc_msi_vectors()
1275 irqptr->airq_origirq = (uchar_t)(inum + i); in apic_alloc_msi_vectors()
1393 irqptr->airq_origirq = (uchar_t)(inum + i); in apic_alloc_msix_vectors()
1440 (void *)dip, inum, count, pri, type)); in apic_free_vectors()
1448 "pri=0x%x count=0x%x\n", inum, pri, count)); in apic_free_vectors()
1449 ispec.intrspec_vec = inum + i; in apic_free_vectors()
[all …]
/illumos-gate/usr/src/uts/common/xen/sys/
H A Devtchn.h41 #define _IOC(flag, letter, inum, size) ((letter) << 8 | (inum)) argument
/illumos-gate/usr/src/cmd/filesync/
H A Drename.c145 ino_t inum; in find_oldname() local
150 inum = new->f_info[side].f_ino; in find_oldname()
171 if (((side == OPT_SRC) ? fp->f_s_inum : fp->f_d_inum) != inum) in find_oldname()
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_introp.c61 apic_pci_msi_enable_vector(apic_irq_t *irq_ptr, int type, int inum, int vector, in apic_pci_msi_enable_vector() argument
75 ddi_driver_name(dip), inum, vector, target_apic_id)); in apic_pci_msi_enable_vector()
139 (inum * PCI_MSIX_VECTOR_SIZE); in apic_pci_msi_enable_vector()
381 apic_free_vectors(dev_info_t *dip, int inum, int count, int pri, int type) in apic_free_vectors() argument
389 (void *)dip, inum, count, pri, type)); in apic_free_vectors()
397 "pri=0x%x count=0x%x\n", inum, pri, count)); in apic_free_vectors()
398 ispec.intrspec_vec = inum + i; in apic_free_vectors()
403 "failed\n", (void *)dip, inum, pri)); in apic_free_vectors()
415 apic_pci_msi_enable_mode(dev_info_t *rdip, int type, int inum) in apic_pci_msi_enable_mode() argument
441 off = (uintptr_t)msix_p->msix_tbl_addr + (inum * in apic_pci_msi_enable_mode()

1234