/linux-2.4.37.9/ipc/ |
D | util.c | 52 void __init ipc_init_ids(struct ipc_ids* ids, int size) in ipc_init_ids() argument 55 sema_init(&ids->sem,1); in ipc_init_ids() 59 ids->size = size; in ipc_init_ids() 60 ids->in_use = 0; in ipc_init_ids() 61 ids->max_id = -1; in ipc_init_ids() 62 ids->seq = 0; in ipc_init_ids() 66 ids->seq_max = USHRT_MAX; in ipc_init_ids() 68 ids->seq_max = seq_limit; in ipc_init_ids() 71 ids->entries = ipc_alloc(sizeof(struct ipc_id)*size); in ipc_init_ids() 73 if(ids->entries == NULL) { in ipc_init_ids() [all …]
|
D | util.h | 31 void __init ipc_init_ids(struct ipc_ids* ids, int size); 34 int ipc_findkey(struct ipc_ids* ids, key_t key); 35 int ipc_addid(struct ipc_ids* ids, struct kern_ipc_perm* new, int size); 38 struct kern_ipc_perm* ipc_rmid(struct ipc_ids* ids, int id); 48 extern inline void ipc_lockall(struct ipc_ids* ids) in ipc_lockall() argument 50 spin_lock(&ids->ary); in ipc_lockall() 53 extern inline struct kern_ipc_perm* ipc_get(struct ipc_ids* ids, int id) in ipc_get() argument 57 if(lid >= ids->size) in ipc_get() 60 out = ids->entries[lid].p; in ipc_get() 64 extern inline void ipc_unlockall(struct ipc_ids* ids) in ipc_unlockall() argument [all …]
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | ocp.c | 72 const struct ocp_device_id *ids = drv->id_table; in ocp_driver_match() local 74 if (!ids) in ocp_driver_match() 77 while (ids->vendor || ids->function) { in ocp_driver_match() 78 if ((ids->vendor == OCP_ANY_ID in ocp_driver_match() 79 || ids->vendor == dev->def->vendor) in ocp_driver_match() 80 && (ids->function == OCP_ANY_ID in ocp_driver_match() 81 || ids->function == dev->def->function)) in ocp_driver_match() 83 ids++; in ocp_driver_match()
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | drivers.c | 80 const struct parisc_device_id *ids; in match_device() local 82 for (ids = driver->id_table; ids->sversion; ids++) { in match_device() 83 if ((ids->sversion != SVERSION_ANY_ID) && in match_device() 84 (ids->sversion != dev->id.sversion)) in match_device() 87 if ((ids->hw_type != HWTYPE_ANY_ID) && in match_device() 88 (ids->hw_type != dev->id.hw_type)) in match_device() 91 if ((ids->hversion != HVERSION_ANY_ID) && in match_device() 92 (ids->hversion != dev->id.hversion)) in match_device()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | vio.c | 111 vio_match_device(const struct vio_device_id *ids, const struct vio_dev *dev) in vio_match_device() argument 113 while (ids->type) { in vio_match_device() 114 if ((strncmp(dev->archdata->type, ids->type, strlen(ids->type)) == 0) && in vio_match_device() 115 device_is_compatible((struct device_node*)dev->archdata, ids->compat)) in vio_match_device() 116 return ids; in vio_match_device() 117 ids++; in vio_match_device()
|
/linux-2.4.37.9/drivers/pnp/ |
D | isapnp.c | 1246 isapnp_match_card(const struct isapnp_card_id *ids, struct pci_bus *card) in isapnp_match_card() argument 1250 while (ids->card_vendor || ids->card_device) { in isapnp_match_card() 1251 if ((ids->card_vendor == ISAPNP_ANY_ID || ids->card_vendor == card->vendor) && in isapnp_match_card() 1252 (ids->card_device == ISAPNP_ANY_ID || ids->card_device == card->device)) { in isapnp_match_card() 1254 if (ids->devs[idx].vendor == 0 && in isapnp_match_card() 1255 ids->devs[idx].function == 0) in isapnp_match_card() 1256 return ids; in isapnp_match_card() 1258 ids->devs[idx].vendor, in isapnp_match_card() 1259 ids->devs[idx].function, in isapnp_match_card() 1263 return ids; in isapnp_match_card() [all …]
|
/linux-2.4.37.9/net/ipv6/netfilter/ |
D | ip6t_frag.c | 138 (id_match(fraginfo->ids[0], fraginfo->ids[1], in match() 164 (id_match(fraginfo->ids[0], fraginfo->ids[1], in match()
|
/linux-2.4.37.9/drivers/zorro/ |
D | Makefile | 23 devlist.h: zorro.ids gen-devlist 24 ./gen-devlist <zorro.ids
|
/linux-2.4.37.9/include/linux/ |
D | isapnp.h | 203 int isapnp_probe_cards(const struct isapnp_card_id *ids, 206 int isapnp_probe_devs(const struct isapnp_device_id *ids, 252 static inline int isapnp_probe_cards(const struct isapnp_card_id *ids, in isapnp_probe_cards() argument 255 static inline int isapnp_probe_devs(const struct isapnp_device_id *ids, in isapnp_probe_devs() argument
|
D | adb.h | 92 int adb_register(int default_id,int handler_id,struct adb_ids *ids,
|
/linux-2.4.37.9/drivers/pci/ |
D | Makefile | 41 devlist.h classlist.h: pci.ids gen-devlist 42 ./gen-devlist <pci.ids
|
D | pci.c | 614 pci_match_device(const struct pci_device_id *ids, const struct pci_dev *dev) in pci_match_device() argument 616 while (ids->vendor || ids->subvendor || ids->class_mask) { in pci_match_device() 617 if ((ids->vendor == PCI_ANY_ID || ids->vendor == dev->vendor) && in pci_match_device() 618 (ids->device == PCI_ANY_ID || ids->device == dev->device) && in pci_match_device() 619 (ids->subvendor == PCI_ANY_ID || ids->subvendor == dev->subsystem_vendor) && in pci_match_device() 620 (ids->subdevice == PCI_ANY_ID || ids->subdevice == dev->subsystem_device) && in pci_match_device() 621 !((ids->class ^ dev->class) & ids->class_mask)) in pci_match_device() 622 return ids; in pci_match_device() 623 ids++; in pci_match_device()
|
/linux-2.4.37.9/drivers/acpi/ |
D | motherboard.c | 105 .ids = ACPI_MB_HID1, 114 .ids = ACPI_MB_HID2,
|
D | fan.c | 52 .ids = ACPI_FAN_HID,
|
D | ac.c | 52 .ids = ACPI_AC_HID,
|
/linux-2.4.37.9/include/linux/netfilter_ipv6/ |
D | ip6t_frag.h | 6 u_int32_t ids[2]; /* Security Parameter Index */ member
|
/linux-2.4.37.9/Documentation/ |
D | isapnp.txt | 86 extern int isapnp_probe_cards(const struct isapnp_card_id *ids, 95 Example for ids parameter initialization: 112 extern int isapnp_probe_devs(const struct isapnp_device_id *ids, 121 Example for ids parameter initialization:
|
/linux-2.4.37.9/drivers/macintosh/ |
D | adb.c | 513 adb_register(int default_id, int handler_id, struct adb_ids *ids, in adb_register() argument 518 ids->nids = 0; in adb_register() 530 ids->id[ids->nids++] = i; in adb_register() 533 return ids->nids; in adb_register()
|
/linux-2.4.37.9/arch/arm/kernel/ |
D | ecard.c | 1095 ecard_match_device(const struct ecard_id *ids, struct expansion_card *ec) in ecard_match_device() argument 1099 for (i = 0; ids[i].manufacturer != 65535; i++) in ecard_match_device() 1100 if (ec->cid.manufacturer == ids[i].manufacturer && in ecard_match_device() 1101 ec->cid.product == ids[i].product) in ecard_match_device() 1102 return ids + i; in ecard_match_device()
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | vio.h | 43 const struct vio_device_id * vio_match_device(const struct vio_device_id *ids,
|
/linux-2.4.37.9/drivers/isdn/hisax/ |
D | config.c | 1238 char ids[20]; in HiSax_inithardware() local 1251 strcpy(ids, id); in HiSax_inithardware() 1256 strcpy(ids, id); in HiSax_inithardware() 1258 sprintf(ids, "%s%d", id, i); in HiSax_inithardware() 1260 if (checkcard(i, ids, busy_flag)) { in HiSax_inithardware() 1738 u_char ids[16]; in hisax_init_pcmcia() local 1743 sprintf(ids, "HiSax%d", nrcards); in hisax_init_pcmcia() 1745 sprintf(ids, "HiSax"); in hisax_init_pcmcia() 1746 if (!checkcard(nrcards, ids, busy_flag)) { in hisax_init_pcmcia()
|
/linux-2.4.37.9/drivers/scsi/ |
D | changelog.megaraid2 | 18 1. Added vendor ids and device ids for PCI-Express controllers, 116 command ids were being returned.
|
/linux-2.4.37.9/include/asm-arm/ |
D | ecard.h | 210 extern struct expansion_card *ecard_find (int cid, const card_ids *ids);
|
/linux-2.4.37.9/drivers/scsi/aacraid/ |
D | README | 40 Mark Salyzyn <Mark_Salyzyn@adaptec.com> Fixed panic issues and added some new product ids for upcom…
|
/linux-2.4.37.9/include/acpi/ |
D | acpi_bus.h | 128 char *ids; /* Supported Hardware IDs */ member
|