/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/ |
H A D | hvc_irq.c | 23 int notifier_add_irq(struct hvc_struct *hp, int irq) argument 28 hp->irq_requested = 0; 32 "hvc_console", hp); 34 hp->irq_requested = 1; 38 void notifier_del_irq(struct hvc_struct *hp, int irq) argument 40 if (!hp->irq_requested) 42 free_irq(irq, hp); 43 hp->irq_requested = 0; 46 void notifier_hangup_irq(struct hvc_struct *hp, int irq) argument 48 notifier_del_irq(hp, ir [all...] |
H A D | hvsi.c | 100 static int (*hvsi_wait)(struct hvsi_struct *hp, int state); 174 static inline int is_console(struct hvsi_struct *hp) argument 176 return hp->flags & HVSI_CONSOLE; 179 static inline int is_open(struct hvsi_struct *hp) argument 182 return (hp->state == HVSI_OPEN) 183 || (hp->state == HVSI_WAIT_FOR_MCTRL_RESPONSE); 186 static inline void print_state(struct hvsi_struct *hp) argument 197 const char *name = (hp->state < ARRAY_SIZE(state_names)) 198 ? state_names[hp->state] : "UNKNOWN"; 200 pr_debug("hvsi%i: state = %s\n", hp 204 __set_state(struct hvsi_struct *hp, int state) argument 211 set_state(struct hvsi_struct *hp, int state) argument 231 got_packet(const struct hvsi_struct *hp, uint8_t *packet) argument 243 compact_inbuf(struct hvsi_struct *hp, uint8_t *read_to) argument 291 hvsi_read(struct hvsi_struct *hp, char *buf, int count) argument 300 hvsi_recv_control(struct hvsi_struct *hp, uint8_t *packet, struct tty_struct **to_hangup, struct hvsi_struct **to_handshake) argument 330 hvsi_recv_response(struct hvsi_struct *hp, uint8_t *packet) argument 354 hvsi_version_respond(struct hvsi_struct *hp, uint16_t query_seqno) argument 379 hvsi_recv_query(struct hvsi_struct *hp, uint8_t *packet) argument 395 hvsi_insert_chars(struct hvsi_struct *hp, const char *buf, int len) argument 424 hvsi_recv_data(struct hvsi_struct *hp, const uint8_t *packet) argument 463 hvsi_load_chunk(struct hvsi_struct *hp, struct tty_struct **flip, struct tty_struct **hangup, struct hvsi_struct **handshake) argument 542 hvsi_send_overflow(struct hvsi_struct *hp) argument 557 struct hvsi_struct *hp = (struct hvsi_struct *)arg; local 611 poll_for_state(struct hvsi_struct *hp, int state) argument 628 wait_for_state(struct hvsi_struct *hp, int state) argument 638 hvsi_query(struct hvsi_struct *hp, uint16_t verb) argument 661 hvsi_get_mctrl(struct hvsi_struct *hp) argument 681 hvsi_set_mctrl(struct hvsi_struct *hp, uint16_t mctrl) argument 707 hvsi_drain_input(struct hvsi_struct *hp) argument 717 hvsi_handshake(struct hvsi_struct *hp) argument 746 struct hvsi_struct *hp = local 762 hvsi_put_chars(struct hvsi_struct *hp, const char *buf, int count) argument 782 hvsi_close_protocol(struct hvsi_struct *hp) argument 799 struct hvsi_struct *hp; local 848 hvsi_flush_output(struct hvsi_struct *hp) argument 865 struct hvsi_struct *hp = tty->driver_data; local 917 struct hvsi_struct *hp = tty->driver_data; local 932 hvsi_push(struct hvsi_struct *hp) argument 953 struct hvsi_struct *hp = local 997 struct hvsi_struct *hp = tty->driver_data; local 1004 struct hvsi_struct *hp = tty->driver_data; local 1012 struct hvsi_struct *hp = tty->driver_data; local 1070 struct hvsi_struct *hp = tty->driver_data; local 1079 struct hvsi_struct *hp = tty->driver_data; local 1100 struct hvsi_struct *hp = tty->driver_data; local 1109 struct hvsi_struct *hp = tty->driver_data; local 1166 struct hvsi_struct *hp = &hvsi_ports[i]; local 1190 struct hvsi_struct *hp = &hvsi_ports[console->index]; local 1231 struct hvsi_struct *hp; local 1277 struct hvsi_struct *hp; local [all...] |
H A D | hvc_console.c | 101 struct hvc_struct *hp; local 106 list_for_each_entry(hp, &hvc_structs, next) { 107 spin_lock_irqsave(&hp->lock, flags); 108 if (hp->index == index) { 109 kref_get(&hp->kref); 110 spin_unlock_irqrestore(&hp->lock, flags); 112 return hp; 114 spin_unlock_irqrestore(&hp->lock, flags); 116 hp = NULL; 119 return hp; 231 struct hvc_struct *hp = container_of(kref, struct hvc_struct, kref); local 253 struct hvc_struct *hp; local 305 struct hvc_struct *hp; local 354 struct hvc_struct *hp; local 402 struct hvc_struct *hp = tty->driver_data; local 445 hvc_push(struct hvc_struct *hp) argument 470 struct hvc_struct *hp = tty->driver_data; local 519 struct hvc_struct *hp; local 546 struct hvc_struct *hp = tty->driver_data; local 556 struct hvc_struct *hp = tty->driver_data; local 578 hvc_poll(struct hvc_struct *hp) argument 697 __hvc_resize(struct hvc_struct *hp, struct winsize ws) argument 712 struct hvc_struct *hp; local 762 struct hvc_struct *hp; local 811 hvc_remove(struct hvc_struct *hp) argument [all...] |
H A D | hvc_console.h | 73 int (*notifier_add)(struct hvc_struct *hp, int irq); 74 void (*notifier_del)(struct hvc_struct *hp, int irq); 75 void (*notifier_hangup)(struct hvc_struct *hp, int irq); 86 extern int hvc_remove(struct hvc_struct *hp); 89 int hvc_poll(struct hvc_struct *hp); 93 extern void __hvc_resize(struct hvc_struct *hp, struct winsize ws); 95 static inline void hvc_resize(struct hvc_struct *hp, struct winsize ws) argument 99 spin_lock_irqsave(&hp->lock, flags); 100 __hvc_resize(hp, ws); 101 spin_unlock_irqrestore(&hp [all...] |
H A D | hvc_udbg.c | 68 struct hvc_struct *hp; local 72 hp = hvc_alloc(0, NO_IRQ, &hvc_udbg_ops, 16); 73 if (IS_ERR(hp)) 74 return PTR_ERR(hp); 76 hvc_udbg_dev = hp;
|
H A D | hvc_vio.c | 87 struct hvc_struct *hp; local 93 hp = hvc_alloc(vdev->unit_address, vdev->irq, &hvc_get_put_ops, 95 if (IS_ERR(hp)) 96 return PTR_ERR(hp); 97 dev_set_drvdata(&vdev->dev, hp); 104 struct hvc_struct *hp = dev_get_drvdata(&vdev->dev); local 106 return hvc_remove(hp);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/tcpdump-4.4.0/ |
H A D | print-hsrp.c | 103 struct hsrp *hp = (struct hsrp *) bp; local 105 TCHECK(hp->hsrp_version); 106 printf("HSRPv%d", hp->hsrp_version); 107 if (hp->hsrp_version != 0) 109 TCHECK(hp->hsrp_op_code); 111 printf("%s ", tok2strary(op_code_str, "unknown (%d)", hp->hsrp_op_code)); 113 TCHECK(hp->hsrp_state); 114 printf("state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state)); 115 TCHECK(hp->hsrp_group); 116 printf("group=%d ", hp [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/agp/ |
H A D | hp-agp.c | 5 * Bjorn Helgaas <bjorn.helgaas@hp.com> 79 struct _hp_private *hp = &hp_private; local 89 hp->io_tlb_ps = readq(hp->ioc_regs+HP_ZX1_TCNFG); 90 switch (hp->io_tlb_ps) { 91 case 0: hp->io_tlb_shift = 12; break; 92 case 1: hp->io_tlb_shift = 13; break; 93 case 2: hp->io_tlb_shift = 14; break; 94 case 3: hp->io_tlb_shift = 16; break; 97 "configuration 0x%x\n", hp 129 struct _hp_private *hp = &hp_private; local 165 struct _hp_private *hp = &hp_private; local 209 struct _hp_private *hp = &hp_private; local 243 struct _hp_private *hp = &hp_private; local 268 struct _hp_private *hp = &hp_private; local 284 struct _hp_private *hp = &hp_private; local 293 struct _hp_private *hp = &hp_private; local 321 struct _hp_private *hp = &hp_private; local 334 struct _hp_private *hp = &hp_private; local 380 struct _hp_private *hp = &hp_private; local 406 struct _hp_private *hp = &hp_private; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | sunhme.c | 111 static __inline__ void tx_add_log(struct happy_meal *hp, unsigned int a, unsigned int s) argument 119 tlp->tx_new = hp->tx_new; 120 tlp->tx_old = hp->tx_old; 139 static __inline__ void tx_dump_ring(struct happy_meal *hp) argument 141 struct hmeal_init_block *hb = hp->happy_block; 155 #define tx_add_log(hp, a, s) do { } while(0) 157 #define tx_dump_ring(hp) do { } while(0) 305 static inline u32 hme_read_desc32(struct happy_meal *hp, hme32 *p) argument 322 static void BB_PUT_BIT(struct happy_meal *hp, void __iomem *tregs, int bit) argument 324 hme_write32(hp, treg 330 BB_GET_BIT2(struct happy_meal *hp, void __iomem *tregs, int internal) argument 348 happy_meal_bb_read(struct happy_meal *hp, void __iomem *tregs, int reg) argument 394 happy_meal_bb_write(struct happy_meal *hp, void __iomem *tregs, int reg, unsigned short value) argument 439 happy_meal_tcvr_read(struct happy_meal *hp, void __iomem *tregs, int reg) argument 471 happy_meal_tcvr_write(struct happy_meal *hp, void __iomem *tregs, int reg, unsigned short value) argument 531 try_next_permutation(struct happy_meal *hp, void __iomem *tregs) argument 555 display_link_mode(struct happy_meal *hp, void __iomem *tregs) argument 577 display_forced_link_mode(struct happy_meal *hp, void __iomem *tregs) argument 596 set_happy_link_modes(struct happy_meal *hp, void __iomem *tregs) argument 658 is_lucent_phy(struct happy_meal *hp) argument 675 struct happy_meal *hp = (struct happy_meal *) data; local 851 happy_meal_tx_reset(struct happy_meal *hp, void __iomem *bregs) argument 871 happy_meal_rx_reset(struct happy_meal *hp, void __iomem *bregs) argument 893 happy_meal_stop(struct happy_meal *hp, void __iomem *gregs) argument 913 happy_meal_get_counters(struct happy_meal *hp, void __iomem *bregs) argument 936 happy_meal_poll_stop(struct happy_meal *hp, void __iomem *tregs) argument 971 happy_meal_tcvr_reset(struct happy_meal *hp, void __iomem *tregs) argument 1069 happy_meal_transceiver_check(struct happy_meal *hp, void __iomem *tregs) argument 1176 happy_meal_clean_rings(struct happy_meal *hp) argument 1228 happy_meal_init_rings(struct happy_meal *hp) argument 1271 happy_meal_begin_auto_negotiation(struct happy_meal *hp, void __iomem *tregs, struct ethtool_cmd *ep) argument 1389 happy_meal_init(struct happy_meal *hp) argument 1684 happy_meal_set_initial_advertisement(struct happy_meal *hp) argument 1744 happy_meal_is_not_so_happy(struct happy_meal *hp, u32 status) argument 1858 happy_meal_mif_interrupt(struct happy_meal *hp) argument 1892 happy_meal_tx(struct happy_meal *hp) argument 1964 happy_meal_rx(struct happy_meal *hp, struct net_device *dev) argument 2066 struct happy_meal *hp = netdev_priv(dev); local 2109 struct happy_meal *hp = netdev_priv(dev); local 2154 struct happy_meal *hp = netdev_priv(dev); local 2186 struct happy_meal *hp = netdev_priv(dev); local 2215 struct happy_meal *hp = netdev_priv(dev); local 2234 struct happy_meal *hp = netdev_priv(dev); local 2321 struct happy_meal *hp = netdev_priv(dev); local 2332 struct happy_meal *hp = netdev_priv(dev); local 2374 struct happy_meal *hp = netdev_priv(dev); local 2418 struct happy_meal *hp = netdev_priv(dev); local 2442 struct happy_meal *hp = netdev_priv(dev); local 2464 struct happy_meal *hp = netdev_priv(dev); local 2616 struct happy_meal *hp; local 2926 struct happy_meal *hp; local 3157 struct happy_meal *hp = dev_get_drvdata(&pdev->dev); local 3222 struct happy_meal *hp = dev_get_drvdata(&op->dev); local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/plugins/radius/ |
H A D | ip_util.c | 31 struct hostent *hp; local 37 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL) 42 return ntohl((*(UINT4 *) hp->h_addr)); 105 struct hostent *hp; local 108 if ((hp = gethostbyaddr ((char *) &n_ipaddr, sizeof (struct in_addr), 113 return ((hp==NULL)?"unknown":hp->h_name);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/kernel/ |
H A D | mdesc.c | 76 static void mdesc_handle_init(struct mdesc_handle *hp, argument 80 BUG_ON(((unsigned long)&hp->mdesc) & (16UL - 1)); 82 memset(hp, 0, handle_size); 83 INIT_LIST_HEAD(&hp->list); 84 hp->self_base = base; 85 atomic_set(&hp->refcnt, 1); 86 hp->handle_size = handle_size; 92 struct mdesc_handle *hp; local 102 hp = NULL; 104 hp 110 mdesc_memblock_free(struct mdesc_handle *hp) argument 139 struct mdesc_handle *hp; local 153 mdesc_kfree(struct mdesc_handle *hp) argument 169 struct mdesc_handle *hp = mops->alloc(mdesc_size); local 177 mdesc_free(struct mdesc_handle *hp) argument 188 struct mdesc_handle *hp; local 201 mdesc_release(struct mdesc_handle *hp) argument 231 parent_cfg_handle(struct mdesc_handle *hp, u64 node) argument 328 struct mdesc_handle *hp, *orig_hp; local 383 mdesc_node_by_name(struct mdesc_handle *hp, u64 from_node, const char *name) argument 412 mdesc_get_property(struct mdesc_handle *hp, u64 node, const char *name, int *lenp) argument 458 mdesc_next_arc(struct mdesc_handle *hp, u64 from, const char *arc_type) argument 484 mdesc_arc_target(struct mdesc_handle *hp, u64 arc) argument 494 mdesc_node_name(struct mdesc_handle *hp, u64 node) argument 513 struct mdesc_handle *hp = mdesc_grab(); local 568 fill_in_one_cache(cpuinfo_sparc *c, struct mdesc_handle *hp, u64 mp) argument 613 mark_core_ids(struct mdesc_handle *hp, u64 mp, int core_id) argument 646 set_core_ids(struct mdesc_handle *hp) argument 671 mark_proc_ids(struct mdesc_handle *hp, u64 mp, int proc_id) argument 690 __set_proc_ids(struct mdesc_handle *hp, const char *exec_unit_name) argument 711 set_proc_ids(struct mdesc_handle *hp) argument 736 get_mondo_data(struct mdesc_handle *hp, u64 mp, struct trap_per_cpu *tb) argument 756 struct mdesc_handle *hp = mdesc_grab(); local 784 record_one_cpu(struct mdesc_handle *hp, u64 mp, int cpuid, void *arg) argument 802 fill_in_one_cpu(struct mdesc_handle *hp, u64 mp, int cpuid, void *arg) argument 853 struct mdesc_handle *hp; local 874 struct mdesc_handle *hp = mdesc_grab(); local 910 struct mdesc_handle *hp; local [all...] |
H A D | vio.c | 161 static void vio_fill_channel_info(struct mdesc_handle *hp, u64 mp, argument 166 mdesc_for_each_arc(a, hp, mp, MDESC_ARC_TYPE_FWD) { 171 target = mdesc_arc_target(hp, a); 173 irq = mdesc_get_property(hp, target, "tx-ino", NULL); 177 irq = mdesc_get_property(hp, target, "rx-ino", NULL); 181 chan_id = mdesc_get_property(hp, target, "id", NULL); 187 static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp, argument 197 type = mdesc_get_property(hp, mp, "device-type", &tlen); 199 type = mdesc_get_property(hp, mp, "name", &tlen); 201 type = mdesc_node_name(hp, m 315 vio_add(struct mdesc_handle *hp, u64 node) argument 330 vio_remove(struct mdesc_handle *hp, u64 node) argument 354 vio_add_ds(struct mdesc_handle *hp, u64 node) argument 386 struct mdesc_handle *hp; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/db/ |
H A D | db_dispatch.c | 461 #define FIND_GENERATION(hp, txnid, gen) do { \ 463 for (__i = 0; __i <= (hp)->generation; __i++) \ 465 if ((hp)->gen_array[__i].txn_min < \ 466 (hp)->gen_array[__i].txn_max ? \ 467 ((txnid) >= (hp)->gen_array[__i].txn_min && \ 468 (txnid) <= (hp)->gen_array[__i].txn_max) : \ 469 ((txnid) >= (hp)->gen_array[__i].txn_min || \ 470 (txnid) <= (hp)->gen_array[__i].txn_max)) \ 472 DB_ASSERT(env, __i <= (hp)->generation); \ 473 gen = (hp) [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/flex/MISC/Macintosh/ |
H A D | alloca.c | 156 register header *hp; /* traverses linked list */ local 158 for (hp = last_alloca_header; hp != NULL;) 159 if ((STACK_DIR > 0 && hp->h.deep > depth) 160 || (STACK_DIR < 0 && hp->h.deep < depth)) 162 register header *np = hp->h.next; 164 free ((pointer) hp); /* collect garbage */ 166 hp = np; /* -> next header */ 171 last_alloca_header = hp; /* -> last valid storage */
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/flex/MISC/Macintosh/ |
H A D | alloca.c | 156 register header *hp; /* traverses linked list */ local 158 for (hp = last_alloca_header; hp != NULL;) 159 if ((STACK_DIR > 0 && hp->h.deep > depth) 160 || (STACK_DIR < 0 && hp->h.deep < depth)) 162 register header *np = hp->h.next; 164 free ((pointer) hp); /* collect garbage */ 166 hp = np; /* -> next header */ 171 last_alloca_header = hp; /* -> last valid storage */
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/ |
H A D | hostname.c | 67 struct hostent *hp; local 70 hp = xgethostbyname(buf); 71 p = strchr(hp->h_name, '.'); 73 puts(hp->h_name); 78 puts(hp->h_name); 83 while (hp->h_addr_list[0]) { 84 printf("%s ", inet_ntoa(*(struct in_addr *) (*hp->h_addr_list++)));
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/mp/ |
H A D | mp_alloc.c | 36 DB_MPOOL_HASH *dbht, *hp, *hp_end, *hp_saved, *hp_tmp; local 151 hp = &dbht[c_mp->last_checked++]; 152 if (hp >= hp_end) { 154 hp = &dbht[c_mp->last_checked++]; 226 if (SH_TAILQ_FIRST(&hp->hash_bucket, __bh) == NULL) 231 MUTEX_LOCK(env, hp->mtx_hash); 252 SH_TAILQ_FOREACH(t1bhp, &hp->hash_bucket, hq, __bh) { 302 retry_obsolete: if (BH_OBSOLETE(t3bhp, hp->old_reader, vlsn)) { 308 env, &hp->old_reader)) != 0) 330 if (c_mp->lru_reset != 0 && c_mp->lru_reset <= hp [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/scsi/fc/ |
H A D | fc_fcoe.h | 57 #define FC_FCOE_DECAPS_VER(hp) ((hp)->fcoe_ver >> 4) 58 #define FC_FCOE_ENCAPS_VER(hp, ver) ((hp)->fcoe_ver = (ver) << 4)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/ |
H A D | exthdrs_core.c | 71 struct ipv6_opt_hdr _hdr, *hp; local 76 hp = skb_header_pointer(skb, start, sizeof(_hdr), &_hdr); 77 if (hp == NULL) 93 hdrlen = (hp->hdrlen+2)<<2; 95 hdrlen = ipv6_optlen(hp); 97 nexthdr = hp->nexthdr;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/rio/ |
H A D | rio_linux.c | 701 static struct vpd_prom *get_VPD_PROM(struct Host *hp) argument 708 rio_dprintk(RIO_DEBUG_PROBE, "Going to verify vpd prom at %p.\n", hp->Caddr + RIO_VPD_ROM); 712 *p++ = readb(hp->Caddr + RIO_VPD_ROM + i * 2); 713 /* read_rio_byte (hp, RIO_VPD_ROM + i*2); */ 925 struct Host *hp; local 977 hp = &p->RIOHosts[p->RIONumHosts]; 978 hp->PaddrP = pci_resource_start(pdev, 2); 979 hp->Ivec = pdev->irq; 980 if (((1 << hp->Ivec) & rio_irqmask) == 0) 981 hp 1161 struct Host *hp; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/bluetooth/ |
H A D | hci_core.h | 479 register struct hci_proto *hp; local 482 hp = hci_proto[HCI_PROTO_L2CAP]; 483 if (hp && hp->connect_ind) 484 mask |= hp->connect_ind(hdev, bdaddr, type); 486 hp = hci_proto[HCI_PROTO_SCO]; 487 if (hp && hp->connect_ind) 488 mask |= hp->connect_ind(hdev, bdaddr, type); 495 register struct hci_proto *hp; local 508 register struct hci_proto *hp; local 524 register struct hci_proto *hp; local 537 register struct hci_proto *hp; local 556 register struct hci_proto *hp; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/cpu/ |
H A D | hwblk.c | 29 struct hwblk *hp = info->hwblks + hwblk; local 31 hp->cnt[counter] += value; 32 if (hp->cnt[counter] == goal) 33 hwblk_area_mod_cnt(info, hp->area, counter, value, goal); 35 return hp->cnt[counter]; 60 struct hwblk *hp = info->hwblks + hwblk; local 69 tmp = __raw_readl(hp->mstp); 70 tmp &= ~(1 << hp->bit); 71 __raw_writel(tmp, hp->mstp); 79 struct hwblk *hp local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/sio/ |
H A D | DNSUtil.c | 27 GetHostByName(struct hostent *const hp, const char *const name, char *const hpbuf, size_t hpbufsize) argument 41 rc = val_gethostbyname2_r(NULL, name, AF_INET, hp, usehpbuf, 57 h = gethostbyname_r(name, hp, hpbuf, hpbufsize, &h_errno_unused); 71 rc = gethostbyname2_r(name, AF_INET, hp, usehpbuf, hpbufsize, &h, &my_h_errno); 98 rc = gethostbyname_r(name, hp, usehpbuf, hpbufsize, &h, &my_h_errno); 118 if (gethostbyname_r(name, hp, &hed) == 0) 125 memcpy(hp, h, sizeof(struct hostent)); 128 memset(hp, 0, sizeof(struct hostent)); 139 GetHostByAddr(struct hostent *const hp, void *addr, int asize, int atype, char *const hpbuf, size_t hpbufsize) argument 148 hp, hpbu 220 GetHostEntry(struct hostent *const hp, const char *const host, struct in_addr *const ip_address, char *const hpbuf, size_t hpbufsize) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/rpc_server/c/ |
H A D | db_server_util.c | 691 home_entry *hp, *homep; local 694 if ((ret = __os_malloc(NULL, sizeof(home_entry), &hp)) != 0) 696 if ((ret = __os_malloc(NULL, strlen(home)+1, &hp->home)) != 0) 698 memcpy(hp->home, home, strlen(home)+1); 699 hp->dir = home; 700 hp->passwd = NULL; 703 * to assure hp->name points to the last component. 705 hp->name = __db_rpath(home); 706 if (hp->name != NULL) { 707 *(hp 739 home_entry *hp; local 764 home_entry *hp; local 780 home_entry *hp; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/rpc_server/cxx/ |
H A D | db_server_cxxutil.cpp | 628 home_entry *hp, *homep; local 631 if ((ret = __os_malloc(NULL, sizeof(home_entry), &hp)) != 0) 633 if ((ret = __os_malloc(NULL, strlen(home)+1, &hp->home)) != 0) 635 memcpy(hp->home, home, strlen(home)+1); 636 hp->dir = home; 637 hp->passwd = NULL; 640 * to assure hp->name points to the last component. 642 hp->name = __db_rpath(home); 643 if (hp->name != NULL) { 644 *(hp 673 home_entry *hp; local 694 home_entry *hp; local 710 home_entry *hp; local [all...] |