Searched refs:pent (Results 1 – 11 of 11) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | dosio.c | 183 PTABLE_ENTRY *pent; in dos_open() local 309 pent = (PTABLE_ENTRY*)&sec[0x1BE]; in dos_open() 310 pent = scan_partition_table(pent, part->phys, &part->pno); in dos_open() 312 if(!pent) in dos_open() 327 fsec = (unsigned long)(pent->start_sec & 0x3F); in dos_open() 328 fhead = (unsigned long)pent->start_head; in dos_open() 329 fcyl = ((pent->start_sec >> 6) << 8) + pent->start_cyl; in dos_open() 332 part->len = pent->size; in dos_open()
|
/external/tcpdump/ |
D | print-cnfp.c | 86 struct protoent *pent; in cnfp_print() local 155 pent = getprotobynumber((EXTRACT_32BITS(&nr->proto_tos) >> 8) & 0xff); in cnfp_print() 156 if (!pent || nflag) in cnfp_print() 160 printf("%s ", pent->p_name); in cnfp_print() 163 if (pent && pent->p_proto == IPPROTO_TCP) { in cnfp_print()
|
/external/ltrace/ |
D | execute_program.c | 46 struct passwd *pent; in change_uid() local 53 if ((pent = getpwnam(options.user)) == NULL) { in change_uid() 57 run_uid = pent->pw_uid; in change_uid() 58 run_gid = pent->pw_gid; in change_uid()
|
/external/iptables/extensions/ |
D | libip6t_ipv6header.c | 70 const struct protoent *pent = getprotobynumber(proto); in proto_to_name() local 71 if (pent) in proto_to_name() 72 return pent->p_name; in proto_to_name() 86 const struct protoent *pent; in name_to_proto() local 88 if ((pent = getprotobyname(s))) in name_to_proto() 89 proto = pent->p_proto; in name_to_proto()
|
/external/f2fs-tools/tools/ |
D | f2fs_io_parse.c | 164 struct pid_ent *pent; in handle_tp_pid() local 166 pent = calloc(1, sizeof(struct pid_ent)); in handle_tp_pid() 167 assert(pent); in handle_tp_pid() 170 pent->pid = atoh(ptr); in handle_tp_pid() 173 strcpy(pent->name, ptr); in handle_tp_pid() 175 LIST_INSERT_HEAD(&pid_info, pent, ptr); in handle_tp_pid()
|
/external/iptables/iptables/ |
D | xshared.c | 52 struct protoent *pent = getprotobynumber(proto); in proto_to_name() local 53 if (pent) in proto_to_name() 54 return pent->p_name; in proto_to_name()
|
D | iptables.c | 938 const struct protoent *pent = getprotobynumber(proto); in print_proto() local 939 if (pent) { in print_proto() 940 printf("%s -p %s", invertstr, pent->p_name); in print_proto()
|
D | ip6tables.c | 980 const struct protoent *pent = getprotobynumber(proto); in print_proto() local 981 if (pent) { in print_proto() 983 invertstr, pent->p_name); in print_proto()
|
/external/strace/ |
D | strace.c | 1648 struct passwd *pent; in init() local 1653 pent = getpwnam(username); in init() 1654 if (pent == NULL) { in init() 1657 run_uid = pent->pw_uid; in init() 1658 run_gid = pent->pw_gid; in init()
|
/external/iptables/libxtables/ |
D | xtables.c | 1891 const struct protoent *pent; in xtables_parse_protocol() local 1904 pent = getprotobyname(s); in xtables_parse_protocol() 1905 if (pent != NULL) in xtables_parse_protocol() 1906 return pent->p_proto; in xtables_parse_protocol()
|
/external/openssh/ |
D | monitor.c | 556 struct mon_table **pent) in monitor_read() argument 613 if (pent != NULL) in monitor_read() 614 *pent = ent; in monitor_read()
|