/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_iso9660.c | 4461 np = np->parent; in write_directory_descriptors() 4464 np = np->drnext; in write_directory_descriptors() 6026 for (np = isoent->children.first; np != NULL; np = np->chnext) { in isoent_gen_iso9660_identifier() 6190 for (np = isoent->children.first; np != NULL; np = np->chnext) { in isoent_gen_iso9660_identifier() 6201 np->id_len = np->ext_off + np->ext_len; in isoent_gen_iso9660_identifier() 6209 np->id_len = np->ext_off + np->ext_len; in isoent_gen_iso9660_identifier() 6246 for (np = isoent; np->parent != np; np = np->parent) in isoent_gen_joliet_identifier() 6249 for (np = isoent->children.first; np != NULL; np = np->chnext) { in isoent_gen_joliet_identifier() 6700 for (np = mvent->children.first; np != NULL; np = np->chnext) in isoent_rr_move_dir() 6772 for (; np != NULL; np = np->ptnext) { in isoent_rr_move() [all …]
|
H A D | archive_write_set_format_mtree.c | 1148 np = np->dir_info->children.first; in write_mtree_entry_tree() 1164 while (np != np->parent) { in write_mtree_entry_tree() 1177 np = np->parent; in write_mtree_entry_tree() 1182 np = np->dir_info->chnext; in write_mtree_entry_tree() 1186 } while (np != np->parent); in write_mtree_entry_tree() 1959 return (np); in mtree_entry_find_child() 2049 np = NULL; in mtree_entry_tree_add() 2082 dent = np; in mtree_entry_tree_add() 2113 np = vp; in mtree_entry_tree_add() 2126 dent = np; in mtree_entry_tree_add() [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | unsetenv.c | 52 const char *np; in unsetenv() local 58 for (np = name; *np && *np != '='; np++) in unsetenv() 60 len = np - name; in unsetenv()
|
/freebsd/contrib/tcpdump/ |
H A D | print-lwres.c | 278 const struct lwres_lwpacket *np; in lwres_print() local 286 np = (const struct lwres_lwpacket *)bp; in lwres_print() 287 ND_TCHECK_2(np->authlength); in lwres_print() 290 v = GET_BE_U_2(np->version); in lwres_print() 294 s = bp + GET_BE_U_4(np->length); in lwres_print() 301 v = GET_BE_U_4(np->opcode); in lwres_print() 305 v = GET_BE_U_2(np->pktflags); in lwres_print() 337 p = (const u_char *)(np + 1); in lwres_print() 338 switch (GET_BE_U_4(np->opcode)) { in lwres_print() 430 p = (const u_char *)(np + 1); in lwres_print() [all …]
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_subr.h | 127 int smbfs_smb_lock(struct smbnode *np, int op, caddr_t id, 131 int smbfs_smb_setfsize(struct smbnode *np, int64_t newsize, 134 int smbfs_smb_query_info(struct smbnode *np, const char *name, int len, 136 int smbfs_smb_setpattr(struct smbnode *np, u_int16_t attr, 138 int smbfs_smb_setptime2(struct smbnode *np, struct timespec *mtime, 140 int smbfs_smb_setpattrNT(struct smbnode *np, u_int16_t attr, 143 int smbfs_smb_setftime(struct smbnode *np, struct timespec *mtime, 145 int smbfs_smb_setfattrNT(struct smbnode *np, u_int16_t attr, 153 int smbfs_smb_delete(struct smbnode *np, struct smb_cred *scred); 154 int smbfs_smb_flush(struct smbnode *np, struct smb_cred *scred); [all …]
|
H A D | smbfs_smb.c | 89 struct smb_share *ssp = np->n_mount->sm_share; in smbfs_smb_lockandx() 127 struct smb_share *ssp = np->n_mount->sm_share; in smbfs_smb_lock() 307 if ((np->n_flag & NOPEN) == 0 || !SMBTOV(np) || in smb_smb_flush() 308 SMBTOV(np)->v_type != VREG) in smb_smb_flush() 322 np->n_flag &= ~NFLUSHWIRE; in smb_smb_flush() 329 if (np->n_flag & NFLUSHWIRE) in smbfs_smb_flush() 330 return (smb_smb_flush(np, scred)); in smbfs_smb_flush() 342 if (!smbfs_smb_seteof(np, newsize, scred)) { in smbfs_smb_setfsize() 343 np->n_flag |= NFLUSHWIRE; in smbfs_smb_setfsize() 715 np->n_fid = fid; in smbfs_smb_open() [all …]
|
/freebsd/contrib/tcsh/ |
H A D | sh.dol.c | 374 Char *np; in Dgetdol() local 495 if (np) { in Dgetdol() 555 if (np) { in Dgetdol() 584 if (np) { in Dgetdol() 607 np = name->s; in Dgetdol() 617 np = name->s; in Dgetdol() 620 if (!*np) in Dgetdol() 625 for (i = 0; Isdigit(*np); i = i * 10 + *np++ - '0') in Dgetdol() 637 np++; in Dgetdol() 643 np++; in Dgetdol() [all …]
|
H A D | sh.proc.c | 683 np->p_index = np->p_procid = 0; in pflush() 685 } while ((np = np->p_friends) != pp); in pflush() 687 for (np = proclist.p_next, idx = 0; np; np = np->p_next) in pflush() 810 for (np = proclist.p_next; np; np = np->p_next) in palloc() 1519 while ((np = np->p_friends) != pp); in pkill() 1615 } while ((np = np->p_friends) != pp); in pstart() 1705 if (np) in pfind() 1707 np = pp; in pfind() 1727 for (np = proclist.p_next; np; np = np->p_next) in pgetcurr() 1728 if (np != pcurrent && np != pp && np->p_procid && in pgetcurr() [all …]
|
/freebsd/usr.bin/mail/ |
H A D | send.c | 422 struct name *np; in fixhead() local 427 for (np = tolist; np != NULL; np = np->n_flink) { in fixhead() 429 if (np->n_type & GDEL) in fixhead() 431 if ((np->n_type & GMASK) == GTO) in fixhead() 433 cat(hp->h_to, nalloc(np->n_name, np->n_type)); in fixhead() 436 cat(hp->h_cc, nalloc(np->n_name, np->n_type)); in fixhead() 439 cat(hp->h_bcc, nalloc(np->n_name, np->n_type)); in fixhead() 533 for (; np != NULL; np = np->n_flink) { in fmt() 534 if (np->n_flink == NULL) in fmt() 536 len = strlen(np->n_name); in fmt() [all …]
|
H A D | cmd3.c | 200 struct name *np; in dorespond() local 217 np = NULL; in dorespond() 218 np = elide(np); in dorespond() 223 np = delname(np, myname); in dorespond() 226 np = delname(np, *ap); in dorespond() 228 np = cat(np, extract(rcv, GTO)); in dorespond() 229 else if (np == NULL) { in dorespond() 234 head.h_to = np; in dorespond() 240 np = delname(np, myname); in dorespond() 243 np = delname(np, *ap); in dorespond() [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_pptpgre.c | 739 if (np != st) in ng_pptpgre_sendq() 940 prev = np; in ng_pptpgre_rcvdata_lower() 967 if (prev == np) in ng_pptpgre_rcvdata_lower() 972 last = np; in ng_pptpgre_rcvdata_lower() 976 np = malloc(sizeof(*np), M_NETGRAPH_PPTP, M_NOWAIT | M_ZERO); in ng_pptpgre_rcvdata_lower() 977 if (np == NULL) { in ng_pptpgre_rcvdata_lower() 994 last = np; in ng_pptpgre_rcvdata_lower() 1009 np->item = item; in ng_pptpgre_rcvdata_lower() 1010 np->seq = seq; in ng_pptpgre_rcvdata_lower() 1033 last = np; in ng_pptpgre_rcvdata_lower() [all …]
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | sparcv9-mont.pl | 117 ld [$np],$car1 ! np[0] 119 ld [$np+4],$npj ! np[1] 147 ld [$np+$j],$npj ! np[j] 188 ld [$np],$car1 ! np[0] 189 ld [$np+4],$npj ! np[1] 218 ld [$np+$j],$npj ! np[j] 268 add $np,$num,$np 276 ld [$np+%o7],%o1 388 ld [$np],$car1 ! np[0] 486 ld [$np+$j],$npj [all …]
|
H A D | armv8-mont.pl | 166 sub $np,$np,$num // rewind $np 233 sub $np,$np,$num // rewind $np 1125 add $np,$np,#8*8 1193 add $np,$np,#8*8 1259 add $np,$np,#8*8 1321 add $np,$np,#8*8 1548 add $np,$np,#8*4 1604 add $np,$np,#8*4 1689 add $np,$np,#8*4 1754 add $np,$np,#8*4 [all …]
|
H A D | alpha-mont.pl | 31 $np="a3"; # const BN_ULONG *np, 97 ldq $hi1,0($np) # np[0] 99 ldq $nj,8($np) 118 s8addq $j,$np,$nj 145 s8addq $j,$np,$nj 178 ldq $hi1,0($np) 179 ldq $nj,8($np) 212 s8addq $j,$np,$nj #U0 282 ldq $lo1,0($np) 284 lda $np,8($np)
|
/freebsd/sys/dev/nvmf/controller/ |
H A D | nvmft_controller.c | 58 nvmft_port_ref(np); in nvmft_controller_alloc() 60 ctrlr->np = np; in nvmft_controller_alloc() 126 sx_xlock(&np->lock); in nvmft_handoff_admin_queue() 167 sx_xunlock(&np->lock); in nvmft_handoff_admin_queue() 191 sx_slock(&np->lock); in nvmft_handoff_io_queue() 377 np = ctrlr->np; in nvmft_controller_terminate() 378 sx_xlock(&np->lock); in nvmft_controller_terminate() 381 wakeup_np = (!np->online && TAILQ_EMPTY(&np->controllers)); in nvmft_controller_terminate() 384 wakeup(np); in nvmft_controller_terminate() 390 nvmft_port_rele(np); in nvmft_controller_terminate() [all …]
|
H A D | nvmft_var.h | 62 struct nvmft_port *np; member 107 void nvmft_port_free(struct nvmft_port *np); 108 void nvmft_populate_active_nslist(struct nvmft_port *np, uint32_t nsid, 123 int nvmft_handoff_admin_queue(struct nvmft_port *np, 127 int nvmft_handoff_io_queue(struct nvmft_port *np, 162 nvmft_port_ref(struct nvmft_port *np) in nvmft_port_ref() argument 164 refcount_acquire(&np->refs); in nvmft_port_ref() 168 nvmft_port_rele(struct nvmft_port *np) in nvmft_port_rele() argument 170 if (refcount_release(&np->refs)) in nvmft_port_rele() 171 nvmft_port_free(np); in nvmft_port_rele()
|
/freebsd/libexec/getty/ |
H A D | subr.c | 59 struct gettynums *np; in gettable() local 134 for (np = gettynums; np->field; np++) { in gettable() 136 np->set = 0; in gettable() 138 np->set = 1; in gettable() 139 np->value = n; in gettable() 164 for (np = gettynums; np->field; np++) in gendefaults() 165 if (np->set) in gendefaults() 166 np->defalt = np->value; in gendefaults() 185 for (np = gettynums; np->field; np++) in setdefaults() 186 if (!np->set) in setdefaults() [all …]
|
/freebsd/contrib/libxo/encoder/csv/ |
H A D | enc_csv.c | 308 np = strchr(cp, '"'); in csv_escape() 309 if (np) { in csv_escape() 310 np += 1; in csv_escape() 585 if (np) in csv_record_leafs() 586 *np++ = '\0'; in csv_record_leafs() 620 if (np) { in csv_record_path() 621 np += 1; in csv_record_path() 638 if (np) in csv_record_path() 639 *np++ = '\0'; in csv_record_path() 675 if (np) in csv_options() [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | hostname.c | 18 struct netent *np; in hostname() local 38 np = getnetbyaddr(ipa.s_addr, AF_INET); in hostname() 39 if (np != NULL && np->n_name != NULL && in hostname() 40 *np->n_name != '\0') { in hostname() 41 strncpy(hostbuf, np->n_name, sizeof(hostbuf)); in hostname()
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_exp.c | 843 BN_ULONG *np = mont->N.d, *n0 = mont->n0; in BN_mod_exp_mont_consttime() local 858 if (!(*mul_worker) (tmp.d, am.d, am.d, np, n0) && in BN_mod_exp_mont_consttime() 859 !(*mul_worker) (tmp.d, am.d, am.d, np, n0)) in BN_mod_exp_mont_consttime() 872 np = alloca(top * sizeof(BN_ULONG)); in BN_mod_exp_mont_consttime() 874 bn_flip_t4(np, mont->N.d, top); in BN_mod_exp_mont_consttime() 921 OPENSSL_cleanse(np, top * sizeof(BN_ULONG)); in BN_mod_exp_mont_consttime() 954 BN_ULONG *n0 = mont->n0, *np; in BN_mod_exp_mont_consttime() local 968 for (np = am.d + top, i = 0; i < top; i++) in BN_mod_exp_mont_consttime() 969 np[i] = mont->N.d[i]; in BN_mod_exp_mont_consttime() 973 bn_mul_mont(tmp.d, am.d, am.d, np, n0, top); in BN_mod_exp_mont_consttime() [all …]
|
H A D | bn_ppc.c | 16 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() argument 19 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 21 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 27 return bn_mul4x_mont_int(rp, ap, bp, np, n0, num); in bn_mul_mont() 37 return bn_mul_mont_int(rp, ap, bp, np, n0, num); in bn_mul_mont()
|
/freebsd/contrib/unbound/daemon/ |
H A D | acl_list.c | 441 np = p->next; in read_acl_view() 445 p = np; in read_acl_view() 463 np = p->next; in read_acl_tags() 467 p = np; in read_acl_tags() 488 np = p->next; in read_acl_tag_actions() 493 p = np; in read_acl_tag_actions() 519 p = np; in read_acl_tag_datas() 631 p = np; in read_acl_interface_view() 666 p = np; in read_acl_interface_tags() 704 p = np; in read_acl_interface_tag_actions() [all …]
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_cscope.c | 113 char *np; in ex_cscope() local 201 char *np = NULL; in cscope_add() local 254 dbname = np; in cscope_add() 255 np = "."; in cscope_add() 498 np = strdup(np); in cscope_find() 501 free(np); in cscope_find() 502 np = NULL; in cscope_find() 592 free(np); in cscope_find() 845 char *np; in cscope_help() local 887 char *np; in cscope_kill() local [all …]
|
/freebsd/usr.bin/tsort/ |
H A D | tsort.c | 354 NODE **np; in remove_node() local 358 for (np = n->n_arcs, i = n->n_narcs; --i >= 0; np++) in remove_node() 359 --(*np)->n_refcnt; in remove_node() 371 NODE **np; in find_cycle() local 382 for (np = from->n_arcs, i = from->n_narcs; --i >= 0; np++) { in find_cycle() 383 cycle_buf[depth] = *np; in find_cycle() 384 if (*np == to) { in find_cycle() 392 if ((*np)->n_flags & (NF_MARK|NF_ACYCLIC|NF_NODEST)) in find_cycle() 394 len = find_cycle(*np, to, longest_len, depth + 1); in find_cycle() 401 (*np)->n_flags |= NF_NODEST; in find_cycle()
|
/freebsd/sbin/restore/ |
H A D | utilities.c | 101 struct entry *np; in gentempname() local 104 for (np = lookupino(ep->e_ino); in gentempname() 105 np != NULL && np != ep; np = np->e_links) in gentempname() 107 if (np == NULL) in gentempname() 131 newnode(struct entry *np) in newnode() argument 135 if (np->e_type != NODE) in newnode() 136 badentry(np, "newnode: not a node"); in newnode() 137 cp = myname(np); in newnode() 139 np->e_flags |= EXISTED; in newnode()
|