/freebsd-11-stable/sys/dev/cxgbe/cxgbei/ |
H A D | cxgbei_ulp2_ddp.c | 98 u_int count, u_int *idx, struct cxgbei_ulp2_gather_list *gl) 115 ci->gl_map[k] = gl; 137 ddp_gl_unmap(struct cxgbei_data *ci, struct cxgbei_ulp2_gather_list *gl) argument 141 if (!gl->pages[0]) 144 for (i = 0; i < gl->nelem; i++) { 145 bus_dmamap_unload(ci->ulp_ddp_tag, gl->dma_sg[i].bus_map); 146 bus_dmamap_destroy(ci->ulp_ddp_tag, gl->dma_sg[i].bus_map); 151 ddp_gl_map(struct cxgbei_data *ci, struct cxgbei_ulp2_gather_list *gl) argument 159 for (i = 0; i < gl->nelem; i++) { 161 &gl 97 ddp_find_unused_entries(struct cxgbei_data *ci, u_int start, u_int max, u_int count, u_int *idx, struct cxgbei_ulp2_gather_list *gl) argument 204 struct cxgbei_ulp2_gather_list *gl; local 278 cxgbei_ulp2_ddp_release_gl(struct cxgbei_data *ci, struct cxgbei_ulp2_gather_list *gl) argument 299 cxgbei_ulp2_ddp_tag_reserve(struct cxgbei_data *ci, void *icc, u_int tid, struct cxgbei_ulp2_tag_format *tformat, u32 *tagp, struct cxgbei_ulp2_gather_list *gl, int gfp, int reply) argument 376 struct cxgbei_ulp2_gather_list *gl = ci->gl_map[idx]; local 405 struct cxgbei_ulp2_gather_list *gl = ci->gl_map[i]; local [all...] |
H A D | cxgbei.c | 121 struct cxgbei_ulp2_gather_list *gl, 129 ppod->addr[i] = pidx < gl->nelem ? 130 cpu_to_be64(gl->dma_sg[pidx].phys_addr) : 0ULL; 167 struct cxgbei_ulp2_gather_list *gl, 197 ppod_set(ppod, hdr, gl, gl_pidx); 207 struct cxgbei_ulp2_gather_list *gl, int reply) 218 gl->tid = toep->tid; 219 gl->port_id = toep->vi->pi->port_id; 220 gl->egress_dev = (void *)toep->vi->ifp; 228 err = ppod_write_idata(ci, hdr, idx, cnt, gl, pid 119 ppod_set(struct pagepod *ppod, struct cxgbei_ulp2_pagepod_hdr *hdr, struct cxgbei_ulp2_gather_list *gl, unsigned int pidx) argument 164 ppod_write_idata(struct cxgbei_data *ci, struct cxgbei_ulp2_pagepod_hdr *hdr, unsigned int idx, unsigned int npods, struct cxgbei_ulp2_gather_list *gl, unsigned int gl_pidx, struct toepcb *toep) argument 205 t4_ddp_set_map(struct cxgbei_data *ci, void *iccp, struct cxgbei_ulp2_pagepod_hdr *hdr, u_int idx, u_int npods, struct cxgbei_ulp2_gather_list *gl, int reply) argument 238 t4_ddp_clear_map(struct cxgbei_data *ci, struct cxgbei_ulp2_gather_list *gl, u_int tag, u_int idx, u_int npods, struct icl_cxgbei_conn *icc) argument 353 struct cxgbei_ulp2_gather_list *gl; local [all...] |
/freebsd-11-stable/sys/geom/bde/ |
H A D | g_bde_lock.c | 147 g_bde_encode_lock(u_char *sha2, struct g_bde_key *gl, u_char *ptr) argument 160 le64enc(p, gl->sector0); 164 le64enc(p, gl->sectorN); 168 le64enc(p, gl->keyoffset); 172 le32enc(p, gl->sectorsize); 176 le32enc(p, gl->flags); 183 le64enc(p, gl->lsector[shuffle[i] - 5]); 187 bcopy(gl->spare, p, sizeof gl->spare); 188 p += sizeof gl 217 g_bde_decode_lock(struct g_bde_softc *sc, struct g_bde_key *gl, u_char *ptr) argument 357 struct g_bde_key *gl; local [all...] |
H A D | g_bde.h | 155 int g_bde_encode_lock(u_char *sha2, struct g_bde_key *gl, u_char *ptr); 156 int g_bde_decode_lock(struct g_bde_softc *sc, struct g_bde_key *gl, u_char *ptr);
|
/freebsd-11-stable/sbin/gbde/ |
H A D | gbde.c | 380 cmd_nuke(struct g_bde_key *gl, int dfd , int key) argument 386 sbuf = malloc(gl->sectorsize); 387 memset(sbuf, 0, gl->sectorsize); 388 offset = (gl->lsector[key] & ~(gl->sectorsize - 1)); 392 i = write(dfd, sbuf, gl->sectorsize); 394 if (i != (int)gl->sectorsize) 400 cmd_write(struct g_bde_key *gl, struct g_bde_softc *sc, int dfd , int key, const char *l_opt) argument 408 sbuf = malloc(gl->sectorsize); 416 off[0] &= (gl 490 cmd_destroy(struct g_bde_key *gl, int nkey) argument 519 cmd_init(struct g_bde_key *gl, int dfd, const char *f_opt, int i_opt, const char *l_opt) argument 748 struct g_bde_key *gl; local [all...] |
/freebsd-11-stable/usr.bin/login/ |
H A D | login_fbtab.c | 125 glob_t gl; local 129 if (glob(pattern, GLOB_NOSORT, NULL, &gl) != 0) 131 for (i = 0; i < gl.gl_pathc; i++) { 132 path = gl.gl_pathv[i]; 141 globfree(&gl);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_glob.c | 199 glob_t gl; local 202 memset(&gl, 0, sizeof(gl)); 203 gl.gl_opendir = gl_opendir; 204 gl.gl_readdir = gl_readdir; 205 gl.gl_closedir = gl_closedir; 206 gl.gl_stat = gl_stat; 207 gl.gl_lstat = gl_lstat; 209 RZ(glob(p, GLOB_ALTDIRFUNC | flags, NULL, &gl)); 211 for (i = 0; i < gl [all...] |
/freebsd-11-stable/libexec/ftpd/ |
H A D | popen.c | 100 glob_t gl; local 103 memset(&gl, 0, sizeof(gl)); 104 gl.gl_matchc = MAXGLOBARGS; 106 if (glob(argv[argc], flags, NULL, &gl)) 108 else if (gl.gl_pathc > 0) { 109 for (pop = gl.gl_pathv; *pop && gargc < (MAXGLOBARGS-1); 113 globfree(&gl);
|
H A D | ftpcmd.y | 1731 glob_t gl; 1733 memset(&gl, 0, sizeof(gl)); 1735 gl.gl_matchc = MAXGLOBARGS; 1736 if (glob(s, flags, NULL, &gl) == 0 && gl.gl_pathc != 0) { 1737 for (pp = gl.gl_pathv, p = NULL, n = 0; *pp; pp++) 1754 globfree(&gl);
|
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/ |
H A D | popen.c | 138 glob_t gl; local 148 memset(&gl, 0, sizeof(gl)); 150 glob(argv[argc], flags, NULL, &gl) || 151 gl.gl_pathc == 0) 154 for (pop = gl.gl_pathv; 158 globfree(&gl);
|
H A D | ftpcmd.y | 841 glob_t gl; 845 memset(&gl, 0, sizeof(gl)); 846 if (glob($1, flags, NULL, &gl) || 847 gl.gl_pathc == 0) { 851 $$ = strdup(gl.gl_pathv[0]); 853 globfree(&gl);
|
H A D | ftpcmd.c | 2682 glob_t gl; 2686 memset(&gl, 0, sizeof(gl)); 2687 if (glob((yyvsp[(1) - (1)].s), flags, NULL, &gl) || 2688 gl.gl_pathc == 0) { 2692 (yyval.s) = strdup(gl.gl_pathv[0]); 2694 globfree(&gl); 2679 glob_t gl; local
|
H A D | ftpd.c | 2218 glob_t gl; local 2230 memset(&gl, 0, sizeof(gl)); 2232 if (glob(whichf, flags, 0, &gl)) { 2235 } else if (gl.gl_pathc == 0) { 2240 dirlist = gl.gl_pathv; 2338 globfree(&gl);
|
/freebsd-11-stable/usr.bin/vtfontcvt/ |
H A D | vtfontcvt.c | 112 add_mapping(struct glyph *gl, unsigned int c, unsigned int map_idx) argument 121 mp->m_glyph = gl; 173 struct glyph *gl; local 181 SLIST_FOREACH(gl, &glyph_hash[hash], g_hash) { 182 if (memcmp(gl->g_data, bytes, wbytes * height) == 0) { 184 return (gl); 189 gl = xmalloc(sizeof *gl); 190 gl->g_data = xmalloc(wbytes * height); 191 memcpy(gl 207 struct glyph *gl; local 524 struct glyph *gl; local 535 struct glyph *gl; local [all...] |
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_rfgain.c | 190 const GAIN_OPTIMIZATION_LADDER *gl; local 193 gl = &gainLadder5112; 195 gl = &gainLadder; 196 gv->currStep = &gl->optStep[gv->currStepNum]; 208 gv->targetGain -= 2 * (gl->optStep[--(gv->currStepNum)].stepGain - 210 gv->currStep = &gl->optStep[gv->currStepNum]; 217 if (gv->currStepNum == gl->numStepsInLadder-1) { 227 gv->currStepNum < (gl->numStepsInLadder - 1)) { 229 (gl->optStep[++(gv->currStepNum)].stepGain - gv->currStep->stepGain); 230 gv->currStep = &gl [all...] |
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/ |
H A D | cmds.c | 514 glob_t gl; local 537 memset(&gl, 0, sizeof(gl)); 539 if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) { 541 globfree(&gl); 544 for (cpp = gl.gl_pathv; cpp && *cpp != NULL; cpp++) { 562 globfree(&gl); 1564 glob_t gl; local 1571 memset(&gl, [all...] |
/freebsd-11-stable/lib/libiconv_modules/ISO2022/ |
H A D | citrus_iso2022.c | 93 int gl:3, member in struct:__anon4705 434 s->gl = 0; 587 psenc->gl = 0; 593 psenc->gl = 1; 659 psenc->gl = string[1] - 'n' + 2; 729 cur = (psenc->singlegl == -1) ? psenc->gl : psenc->singlegl; 1075 if (psenc->gl == target) 1082 psenc->gl = 0; 1085 psenc->gl = 1; 1089 psenc->gl [all...] |
/freebsd-11-stable/contrib/tnftp/src/ |
H A D | util.c | 634 glob_t gl; local 642 memset(&gl, 0, sizeof(gl)); 643 if (glob(pattern, flags, NULL, &gl) || gl.gl_pathc == 0) { 645 globfree(&gl); 648 p = ftp_strdup(gl.gl_pathv[0]); 649 globfree(&gl);
|
H A D | cmds.c | 507 glob_t gl; local 529 memset(&gl, 0, sizeof(gl)); 531 if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) { 533 globfree(&gl); 536 for (cpp = gl.gl_pathv; cpp && *cpp != NULL && connected; 555 globfree(&gl);
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | lparser.c | 342 Labellist *gl = &ls->dyd->gt; local 343 Labeldesc *gt = &gl->arr[g]; 354 for (i = g; i < gl->n - 1; i++) 355 gl->arr[i] = gl->arr[i + 1]; 356 gl->n--; 402 Labellist *gl = &ls->dyd->gt; local 404 while (i < gl->n) { 405 if (luaS_eqstr(gl->arr[i].name, lb->name)) 421 Labellist *gl local [all...] |
/freebsd-11-stable/contrib/lua/src/ |
H A D | lparser.c | 344 Labellist *gl = &ls->dyd->gt; local 345 Labeldesc *gt = &gl->arr[g]; 356 for (i = g; i < gl->n - 1; i++) 357 gl->arr[i] = gl->arr[i + 1]; 358 gl->n--; 404 Labellist *gl = &ls->dyd->gt; local 406 while (i < gl->n) { 407 if (eqstr(gl->arr[i].name, lb->name)) 423 Labellist *gl local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | regengine.inc | 141 const sopno gl = g->laststate; 185 endp = fast(m, start, stop, gf, gl); 199 endp = slow(m, m->coldp, stop, gf, gl); 220 dp = dissect(m, m->coldp, endp, gf, gl); 231 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0); 243 endp = slow(m, m->coldp, endp-1, gf, gl); 254 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0);
|
/freebsd-11-stable/contrib/nvi/regex/ |
H A D | engine.c | 141 const sopno gl = g->laststate; local 185 endp = fast(m, start, stop, gf, gl); 197 endp = slow(m, m->coldp, stop, gf, gl); 218 dp = dissect(m, m->coldp, endp, gf, gl); 229 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0); 241 endp = slow(m, m->coldp, endp-1, gf, gl); 252 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0);
|
/freebsd-11-stable/lib/libc/regex/ |
H A D | engine.c | 160 const sopno gl = g->laststate; local 252 endp = walk(m, start, stop, gf, gl, true); 268 endp = walk(m, m->coldp, stop, gf, gl, false); 290 dp = dissect(m, m->coldp, endp, gf, gl); 301 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0); 313 endp = walk(m, m->coldp, endp-1, gf, gl, false); 324 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0);
|
/freebsd-11-stable/crypto/openssh/ |
H A D | readconf.c | 849 glob_t gl; local 1509 memset(&gl, 0, sizeof(gl)); 1510 r = glob(arg2, GLOB_TILDE, NULL, &gl); 1516 } else if (r != 0 || gl.gl_pathc < 0) 1521 for (i = 0; i < (u_int)gl.gl_pathc; i++) { 1524 gl.gl_pathv[i], depth, 1526 r = read_config_file_depth(gl.gl_pathv[i], 1533 "%.100s: %.100s", gl.gl_pathv[i], 1544 globfree(&gl); [all...] |