Searched refs:sinfo (Results 1 - 69 of 69) sorted by relevance

/linux-4.1.27/net/netfilter/
H A Dxt_connbytes.c23 const struct xt_connbytes_info *sinfo = par->matchinfo; connbytes_mt() local
41 switch (sinfo->what) { connbytes_mt()
43 switch (sinfo->direction) { connbytes_mt()
57 switch (sinfo->direction) { connbytes_mt()
71 switch (sinfo->direction) { connbytes_mt()
92 if (sinfo->count.to >= sinfo->count.from) connbytes_mt()
93 return what <= sinfo->count.to && what >= sinfo->count.from; connbytes_mt()
95 return what < sinfo->count.to || what > sinfo->count.from; connbytes_mt()
100 const struct xt_connbytes_info *sinfo = par->matchinfo; connbytes_mt_check() local
103 if (sinfo->what != XT_CONNBYTES_PKTS && connbytes_mt_check()
104 sinfo->what != XT_CONNBYTES_BYTES && connbytes_mt_check()
105 sinfo->what != XT_CONNBYTES_AVGPKT) connbytes_mt_check()
108 if (sinfo->direction != XT_CONNBYTES_DIR_ORIGINAL && connbytes_mt_check()
109 sinfo->direction != XT_CONNBYTES_DIR_REPLY && connbytes_mt_check()
110 sinfo->direction != XT_CONNBYTES_DIR_BOTH) connbytes_mt_check()
H A Dxt_state.c26 const struct xt_state_info *sinfo = par->matchinfo; state_mt() local
39 return (sinfo->statemask & statebit); state_mt()
/linux-4.1.27/crypto/asymmetric_keys/
H A Dpkcs7_verify.c26 struct pkcs7_signed_info *sinfo) pkcs7_digest()
34 kenter(",%u,%u", sinfo->index, sinfo->sig.pkey_hash_algo); pkcs7_digest()
36 if (sinfo->sig.pkey_hash_algo >= PKEY_HASH__LAST || pkcs7_digest()
37 !hash_algo_name[sinfo->sig.pkey_hash_algo]) pkcs7_digest()
43 tfm = crypto_alloc_shash(hash_algo_name[sinfo->sig.pkey_hash_algo], pkcs7_digest()
49 sinfo->sig.digest_size = digest_size = crypto_shash_digestsize(tfm); pkcs7_digest()
73 if (sinfo->msgdigest) { pkcs7_digest()
76 if (sinfo->msgdigest_len != sinfo->sig.digest_size) { pkcs7_digest()
78 sinfo->index, sinfo->msgdigest_len); pkcs7_digest()
83 if (memcmp(digest, sinfo->msgdigest, sinfo->msgdigest_len) != 0) { pkcs7_digest()
85 sinfo->index); pkcs7_digest()
95 memset(digest, 0, sinfo->sig.digest_size); pkcs7_digest()
104 ret = crypto_shash_finup(desc, sinfo->authattrs, pkcs7_digest()
105 sinfo->authattrs_len, digest); pkcs7_digest()
111 sinfo->sig.digest = digest; pkcs7_digest()
129 struct pkcs7_signed_info *sinfo) pkcs7_find_key()
134 kenter("%u", sinfo->index); pkcs7_find_key()
142 if (!asymmetric_key_id_same(x509->id, sinfo->signing_cert_id)) pkcs7_find_key()
145 sinfo->index, certix); pkcs7_find_key()
147 if (x509->pub->pkey_algo != sinfo->sig.pkey_algo) { pkcs7_find_key()
149 sinfo->index); pkcs7_find_key()
153 sinfo->signer = x509; pkcs7_find_key()
161 sinfo->index, pkcs7_find_key()
162 sinfo->signing_cert_id->len, sinfo->signing_cert_id->data); pkcs7_find_key()
170 struct pkcs7_signed_info *sinfo) pkcs7_verify_sig_chain()
172 struct x509_certificate *x509 = sinfo->signer, *p; pkcs7_verify_sig_chain()
237 sinfo->index); pkcs7_verify_sig_chain()
255 * sinfo->missing_crypto as the signed info block may still be pkcs7_verify_sig_chain()
268 struct pkcs7_signed_info *sinfo) pkcs7_verify_one()
272 kenter(",%u", sinfo->index); pkcs7_verify_one()
277 ret = pkcs7_digest(pkcs7, sinfo); pkcs7_verify_one()
282 ret = pkcs7_find_key(pkcs7, sinfo); pkcs7_verify_one()
286 if (!sinfo->signer) pkcs7_verify_one()
290 sinfo->signer->index, sinfo->index); pkcs7_verify_one()
293 ret = public_key_verify_signature(sinfo->signer->pub, &sinfo->sig); pkcs7_verify_one()
297 pr_devel("Verified signature %u\n", sinfo->index); pkcs7_verify_one()
300 return pkcs7_verify_sig_chain(pkcs7, sinfo); pkcs7_verify_one()
330 struct pkcs7_signed_info *sinfo; pkcs7_verify() local
343 for (sinfo = pkcs7->signed_infos; sinfo; sinfo = sinfo->next) { pkcs7_verify()
344 ret = pkcs7_verify_one(pkcs7, sinfo); pkcs7_verify()
347 sinfo->unsupported_crypto = true; pkcs7_verify()
25 pkcs7_digest(struct pkcs7_message *pkcs7, struct pkcs7_signed_info *sinfo) pkcs7_digest() argument
128 pkcs7_find_key(struct pkcs7_message *pkcs7, struct pkcs7_signed_info *sinfo) pkcs7_find_key() argument
169 pkcs7_verify_sig_chain(struct pkcs7_message *pkcs7, struct pkcs7_signed_info *sinfo) pkcs7_verify_sig_chain() argument
267 pkcs7_verify_one(struct pkcs7_message *pkcs7, struct pkcs7_signed_info *sinfo) pkcs7_verify_one() argument
H A Dpkcs7_trust.c27 struct pkcs7_signed_info *sinfo, pkcs7_validate_trust_one()
30 struct public_key_signature *sig = &sinfo->sig; pkcs7_validate_trust_one()
36 kenter(",%u,", sinfo->index); pkcs7_validate_trust_one()
38 if (sinfo->unsupported_crypto) { pkcs7_validate_trust_one()
43 for (x509 = sinfo->signer; x509; x509 = x509->signer) { pkcs7_validate_trust_one()
65 pr_devel("sinfo %u: Cert %u as key %x\n", pkcs7_validate_trust_one()
66 sinfo->index, x509->index, key_serial(key)); pkcs7_validate_trust_one()
93 pr_devel("sinfo %u: Root cert %u signer is key %x\n", pkcs7_validate_trust_one()
94 sinfo->index, x509->index, key_serial(key)); pkcs7_validate_trust_one()
105 sinfo->signing_cert_id, pkcs7_validate_trust_one()
108 pr_devel("sinfo %u: Direct signer is key %x\n", pkcs7_validate_trust_one()
109 sinfo->index, key_serial(key)); pkcs7_validate_trust_one()
133 for (p = sinfo->signer; p != x509; p = p->signer) { pkcs7_validate_trust_one()
138 sinfo->trusted = trusted; pkcs7_validate_trust_one()
172 struct pkcs7_signed_info *sinfo; pkcs7_validate_trust() local
180 for (sinfo = pkcs7->signed_infos; sinfo; sinfo = sinfo->next) { pkcs7_validate_trust()
181 ret = pkcs7_validate_trust_one(pkcs7, sinfo, trust_keyring); pkcs7_validate_trust()
190 *_trusted |= sinfo->trusted; pkcs7_validate_trust()
26 pkcs7_validate_trust_one(struct pkcs7_message *pkcs7, struct pkcs7_signed_info *sinfo, struct key *trust_keyring) pkcs7_validate_trust_one() argument
H A Dpkcs7_parser.c24 struct pkcs7_signed_info *sinfo; /* SignedInfo being constructed */ member in struct:pkcs7_parse_context
41 static void pkcs7_free_signed_info(struct pkcs7_signed_info *sinfo) pkcs7_free_signed_info() argument
43 if (sinfo) { pkcs7_free_signed_info()
44 mpi_free(sinfo->sig.mpi[0]); pkcs7_free_signed_info()
45 kfree(sinfo->sig.digest); pkcs7_free_signed_info()
46 kfree(sinfo->signing_cert_id); pkcs7_free_signed_info()
47 kfree(sinfo); pkcs7_free_signed_info()
58 struct pkcs7_signed_info *sinfo; pkcs7_free_message() local
72 sinfo = pkcs7->signed_infos; pkcs7_free_message()
73 pkcs7->signed_infos = sinfo->next; pkcs7_free_message()
74 pkcs7_free_signed_info(sinfo); pkcs7_free_message()
98 ctx->sinfo = kzalloc(sizeof(struct pkcs7_signed_info), GFP_KERNEL); pkcs7_parse_message()
99 if (!ctx->sinfo) pkcs7_parse_message()
122 pkcs7_free_signed_info(ctx->sinfo); pkcs7_parse_message()
190 ctx->sinfo->sig.pkey_hash_algo = HASH_ALGO_MD4; pkcs7_sig_note_digest_algo()
193 ctx->sinfo->sig.pkey_hash_algo = HASH_ALGO_MD5; pkcs7_sig_note_digest_algo()
196 ctx->sinfo->sig.pkey_hash_algo = HASH_ALGO_SHA1; pkcs7_sig_note_digest_algo()
199 ctx->sinfo->sig.pkey_hash_algo = HASH_ALGO_SHA256; pkcs7_sig_note_digest_algo()
219 ctx->sinfo->sig.pkey_algo = PKEY_ALGO_RSA; pkcs7_sig_note_pkey_algo()
320 ctx->sinfo->msgdigest = value; pkcs7_sig_note_authenticated_attr()
321 ctx->sinfo->msgdigest_len = vlen; pkcs7_sig_note_authenticated_attr()
338 ctx->sinfo->authattrs = value - (hdrlen - 1); pkcs7_sig_note_set_of_authattrs()
339 ctx->sinfo->authattrs_len = vlen + (hdrlen - 1); pkcs7_sig_note_set_of_authattrs()
379 BUG_ON(ctx->sinfo->sig.pkey_algo != PKEY_ALGO_RSA); pkcs7_sig_note_signature()
385 ctx->sinfo->sig.mpi[0] = mpi; pkcs7_sig_note_signature()
386 ctx->sinfo->sig.nr_mpi = 1; pkcs7_sig_note_signature()
398 struct pkcs7_signed_info *sinfo = ctx->sinfo; pkcs7_note_signed_info() local
409 sinfo->signing_cert_id = kid; pkcs7_note_signed_info()
410 sinfo->index = ++ctx->sinfo_index; pkcs7_note_signed_info()
411 *ctx->ppsinfo = sinfo; pkcs7_note_signed_info()
412 ctx->ppsinfo = &sinfo->next; pkcs7_note_signed_info()
413 ctx->sinfo = kzalloc(sizeof(struct pkcs7_signed_info), GFP_KERNEL); pkcs7_note_signed_info()
414 if (!ctx->sinfo) pkcs7_note_signed_info()
/linux-4.1.27/drivers/video/fbdev/
H A Datmel_lcdfb.c73 #define lcdc_readl(sinfo, reg) __raw_readl((sinfo)->mmio+(reg))
74 #define lcdc_writel(sinfo, reg, val) __raw_writel((val), (sinfo)->mmio+(reg))
152 static inline void atmel_lcdfb_update_dma2d(struct atmel_lcdfb_info *sinfo, atmel_lcdfb_update_dma2d() argument
164 static void atmel_lcdfb_update_dma2d(struct atmel_lcdfb_info *sinfo, atmel_lcdfb_update_dma2d() argument
176 lcdc_writel(sinfo, ATMEL_LCDC_DMA2DCFG, dma2dcfg); atmel_lcdfb_update_dma2d()
179 lcdc_writel(sinfo, ATMEL_LCDC_DMACON, atmel_lcdfb_update_dma2d()
180 lcdc_readl(sinfo, ATMEL_LCDC_DMACON) atmel_lcdfb_update_dma2d()
194 struct atmel_lcdfb_info *sinfo = bl_get_data(bl); atmel_bl_update_status() local
195 int power = sinfo->bl_power; atmel_bl_update_status()
202 if (bl->props.fb_blank != sinfo->bl_power) atmel_bl_update_status()
204 else if (bl->props.power != sinfo->bl_power) atmel_bl_update_status()
208 brightness = lcdc_readl(sinfo, ATMEL_LCDC_CONTRAST_VAL); atmel_bl_update_status()
212 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_VAL, brightness); atmel_bl_update_status()
214 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_CTR, atmel_bl_update_status()
217 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_CTR, contrast_ctr); atmel_bl_update_status()
219 bl->props.fb_blank = bl->props.power = sinfo->bl_power = power; atmel_bl_update_status()
226 struct atmel_lcdfb_info *sinfo = bl_get_data(bl); atmel_bl_get_brightness() local
228 return lcdc_readl(sinfo, ATMEL_LCDC_CONTRAST_VAL); atmel_bl_get_brightness()
236 static void init_backlight(struct atmel_lcdfb_info *sinfo) init_backlight() argument
241 sinfo->bl_power = FB_BLANK_UNBLANK; init_backlight()
243 if (sinfo->backlight) init_backlight()
249 bl = backlight_device_register("backlight", &sinfo->pdev->dev, sinfo, init_backlight()
252 dev_err(&sinfo->pdev->dev, "error %ld on backlight register\n", init_backlight()
256 sinfo->backlight = bl; init_backlight()
263 static void exit_backlight(struct atmel_lcdfb_info *sinfo) exit_backlight() argument
265 if (!sinfo->backlight) exit_backlight()
268 if (sinfo->backlight->ops) { exit_backlight()
269 sinfo->backlight->props.power = FB_BLANK_POWERDOWN; exit_backlight()
270 sinfo->backlight->ops->update_status(sinfo->backlight); exit_backlight()
272 backlight_device_unregister(sinfo->backlight); exit_backlight()
277 static void init_backlight(struct atmel_lcdfb_info *sinfo) init_backlight() argument
279 dev_warn(&sinfo->pdev->dev, "backlight control is not available\n"); init_backlight()
282 static void exit_backlight(struct atmel_lcdfb_info *sinfo) exit_backlight() argument
288 static void init_contrast(struct atmel_lcdfb_info *sinfo) init_contrast() argument
290 struct atmel_lcdfb_pdata *pdata = &sinfo->pdata; init_contrast()
297 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_CTR, contrast_ctr); init_contrast()
298 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_VAL, ATMEL_LCDC_CVAL_DEFAULT); init_contrast()
301 init_backlight(sinfo); init_contrast()
304 static inline void atmel_lcdfb_power_control(struct atmel_lcdfb_info *sinfo, int on) atmel_lcdfb_power_control() argument
307 struct atmel_lcdfb_pdata *pdata = &sinfo->pdata; atmel_lcdfb_power_control()
311 else if (sinfo->reg_lcd) { atmel_lcdfb_power_control()
313 ret = regulator_enable(sinfo->reg_lcd); atmel_lcdfb_power_control()
315 dev_err(&sinfo->pdev->dev, atmel_lcdfb_power_control()
318 ret = regulator_disable(sinfo->reg_lcd); atmel_lcdfb_power_control()
320 dev_err(&sinfo->pdev->dev, atmel_lcdfb_power_control()
335 static unsigned long compute_hozval(struct atmel_lcdfb_info *sinfo, compute_hozval() argument
341 if (!sinfo->config->have_hozval) compute_hozval()
344 lcdcon2 = lcdc_readl(sinfo, ATMEL_LCDC_LCDCON2); compute_hozval()
362 static void atmel_lcdfb_stop_nowait(struct atmel_lcdfb_info *sinfo) atmel_lcdfb_stop_nowait() argument
364 struct atmel_lcdfb_pdata *pdata = &sinfo->pdata; atmel_lcdfb_stop_nowait()
367 lcdc_writel(sinfo, ATMEL_LCDC_PWRCON, atmel_lcdfb_stop_nowait()
371 while (lcdc_readl(sinfo, ATMEL_LCDC_PWRCON) & ATMEL_LCDC_BUSY) atmel_lcdfb_stop_nowait()
374 lcdc_writel(sinfo, ATMEL_LCDC_DMACON, 0); atmel_lcdfb_stop_nowait()
377 static void atmel_lcdfb_stop(struct atmel_lcdfb_info *sinfo) atmel_lcdfb_stop() argument
379 atmel_lcdfb_stop_nowait(sinfo); atmel_lcdfb_stop()
382 while (lcdc_readl(sinfo, ATMEL_LCDC_DMACON) & ATMEL_LCDC_DMABUSY) atmel_lcdfb_stop()
386 static void atmel_lcdfb_start(struct atmel_lcdfb_info *sinfo) atmel_lcdfb_start() argument
388 struct atmel_lcdfb_pdata *pdata = &sinfo->pdata; atmel_lcdfb_start()
390 lcdc_writel(sinfo, ATMEL_LCDC_DMACON, pdata->default_dmacon); atmel_lcdfb_start()
391 lcdc_writel(sinfo, ATMEL_LCDC_PWRCON, atmel_lcdfb_start()
399 struct atmel_lcdfb_info *sinfo = info->par; atmel_lcdfb_update_dma() local
409 lcdc_writel(sinfo, ATMEL_LCDC_DMABADDR1, dma_addr); atmel_lcdfb_update_dma()
411 atmel_lcdfb_update_dma2d(sinfo, var, info); atmel_lcdfb_update_dma()
414 static inline void atmel_lcdfb_free_video_memory(struct atmel_lcdfb_info *sinfo) atmel_lcdfb_free_video_memory() argument
416 struct fb_info *info = sinfo->info; atmel_lcdfb_free_video_memory()
424 * @sinfo: the frame buffer to allocate memory for
429 static int atmel_lcdfb_alloc_video_memory(struct atmel_lcdfb_info *sinfo) atmel_lcdfb_alloc_video_memory() argument
431 struct fb_info *info = sinfo->info; atmel_lcdfb_alloc_video_memory()
437 info->fix.smem_len = max(smem_len, sinfo->smem_len); atmel_lcdfb_alloc_video_memory()
492 struct atmel_lcdfb_info *sinfo = info->par; atmel_lcdfb_check_var() local
493 struct atmel_lcdfb_pdata *pdata = &sinfo->pdata; atmel_lcdfb_check_var()
496 clk_value_khz = clk_get_rate(sinfo->lcdc_clk) / 1000; atmel_lcdfb_check_var()
575 if (sinfo->config->have_intensity_bit) atmel_lcdfb_check_var()
621 static void atmel_lcdfb_reset(struct atmel_lcdfb_info *sinfo) atmel_lcdfb_reset() argument
625 atmel_lcdfb_stop(sinfo); atmel_lcdfb_reset()
626 atmel_lcdfb_start(sinfo); atmel_lcdfb_reset()
645 struct atmel_lcdfb_info *sinfo = info->par; atmel_lcdfb_set_par() local
646 struct atmel_lcdfb_pdata *pdata = &sinfo->pdata; atmel_lcdfb_set_par()
660 atmel_lcdfb_stop_nowait(sinfo); atmel_lcdfb_set_par()
679 lcdc_writel(sinfo, ATMEL_LCDC_DMAFRMCFG, value); atmel_lcdfb_set_par()
684 if (sinfo->config->have_alt_pixclock) atmel_lcdfb_set_par()
687 clk_value_khz = clk_get_rate(sinfo->lcdc_clk) / 1000; atmel_lcdfb_set_par()
693 lcdc_writel(sinfo, ATMEL_LCDC_LCDCON1, ATMEL_LCDC_BYPASS); atmel_lcdfb_set_par()
698 lcdc_writel(sinfo, ATMEL_LCDC_LCDCON1, atmel_lcdfb_set_par()
727 lcdc_writel(sinfo, ATMEL_LCDC_LCDCON2, value); atmel_lcdfb_set_par()
734 lcdc_writel(sinfo, ATMEL_LCDC_TIM1, value); atmel_lcdfb_set_par()
741 lcdc_writel(sinfo, ATMEL_LCDC_TIM2, value); atmel_lcdfb_set_par()
744 hozval_linesz = compute_hozval(sinfo, info->var.xres); atmel_lcdfb_set_par()
750 lcdc_writel(sinfo, ATMEL_LCDC_LCDFRMCFG, value); atmel_lcdfb_set_par()
754 lcdc_writel(sinfo, ATMEL_LCDC_FIFO, value); atmel_lcdfb_set_par()
757 lcdc_writel(sinfo, ATMEL_LCDC_MVAL, 0); atmel_lcdfb_set_par()
760 lcdc_writel(sinfo, ATMEL_LCDC_IDR, ~0UL); atmel_lcdfb_set_par()
762 lcdc_writel(sinfo, ATMEL_LCDC_IER, ATMEL_LCDC_UFLWI | ATMEL_LCDC_OWRI | ATMEL_LCDC_MERI); atmel_lcdfb_set_par()
765 while (lcdc_readl(sinfo, ATMEL_LCDC_DMACON) & ATMEL_LCDC_DMABUSY) atmel_lcdfb_set_par()
768 atmel_lcdfb_start(sinfo); atmel_lcdfb_set_par()
811 struct atmel_lcdfb_info *sinfo = info->par; atmel_lcdfb_setcolreg() local
812 struct atmel_lcdfb_pdata *pdata = &sinfo->pdata; atmel_lcdfb_setcolreg()
837 if (sinfo->config->have_intensity_bit) { atmel_lcdfb_setcolreg()
860 lcdc_writel(sinfo, ATMEL_LCDC_LUT(regno), val); atmel_lcdfb_setcolreg()
868 lcdc_writel(sinfo, ATMEL_LCDC_LUT(regno), val); atmel_lcdfb_setcolreg()
890 struct atmel_lcdfb_info *sinfo = info->par; atmel_lcdfb_blank() local
895 atmel_lcdfb_start(sinfo); atmel_lcdfb_blank()
901 atmel_lcdfb_stop(sinfo); atmel_lcdfb_blank()
926 struct atmel_lcdfb_info *sinfo = info->par; atmel_lcdfb_interrupt() local
929 status = lcdc_readl(sinfo, ATMEL_LCDC_ISR); atmel_lcdfb_interrupt()
933 schedule_work(&sinfo->task); atmel_lcdfb_interrupt()
935 lcdc_writel(sinfo, ATMEL_LCDC_ICR, status); atmel_lcdfb_interrupt()
944 struct atmel_lcdfb_info *sinfo = atmel_lcdfb_task() local
947 atmel_lcdfb_reset(sinfo); atmel_lcdfb_task()
950 static int __init atmel_lcdfb_init_fbinfo(struct atmel_lcdfb_info *sinfo) atmel_lcdfb_init_fbinfo() argument
952 struct fb_info *info = sinfo->info; atmel_lcdfb_init_fbinfo()
971 static void atmel_lcdfb_start_clock(struct atmel_lcdfb_info *sinfo) atmel_lcdfb_start_clock() argument
973 clk_prepare_enable(sinfo->bus_clk); atmel_lcdfb_start_clock()
974 clk_prepare_enable(sinfo->lcdc_clk); atmel_lcdfb_start_clock()
977 static void atmel_lcdfb_stop_clock(struct atmel_lcdfb_info *sinfo) atmel_lcdfb_stop_clock() argument
979 clk_disable_unprepare(sinfo->bus_clk); atmel_lcdfb_stop_clock()
980 clk_disable_unprepare(sinfo->lcdc_clk); atmel_lcdfb_stop_clock()
1026 static int atmel_lcdfb_of_init(struct atmel_lcdfb_info *sinfo) atmel_lcdfb_of_init() argument
1028 struct fb_info *info = sinfo->info; atmel_lcdfb_of_init()
1029 struct atmel_lcdfb_pdata *pdata = &sinfo->pdata; atmel_lcdfb_of_init()
1031 struct device *dev = &sinfo->pdev->dev; atmel_lcdfb_of_init()
1042 sinfo->config = (struct atmel_lcdfb_config*) atmel_lcdfb_of_init()
1154 static int atmel_lcdfb_of_init(struct atmel_lcdfb_info *sinfo) atmel_lcdfb_of_init() argument
1164 struct atmel_lcdfb_info *sinfo; atmel_lcdfb_probe() local
1180 sinfo = info->par; atmel_lcdfb_probe()
1181 sinfo->pdev = pdev; atmel_lcdfb_probe()
1182 sinfo->info = info; atmel_lcdfb_probe()
1187 ret = atmel_lcdfb_of_init(sinfo); atmel_lcdfb_probe()
1196 sinfo->pdata = *pdata; atmel_lcdfb_probe()
1201 sinfo->config = atmel_lcdfb_get_config(pdev); atmel_lcdfb_probe()
1210 if (!sinfo->config) atmel_lcdfb_probe()
1213 sinfo->reg_lcd = devm_regulator_get(&pdev->dev, "lcd"); atmel_lcdfb_probe()
1214 if (IS_ERR(sinfo->reg_lcd)) atmel_lcdfb_probe()
1215 sinfo->reg_lcd = NULL; atmel_lcdfb_probe()
1218 info->pseudo_palette = sinfo->pseudo_palette; atmel_lcdfb_probe()
1222 strcpy(info->fix.id, sinfo->pdev->name); atmel_lcdfb_probe()
1225 sinfo->bus_clk = clk_get(dev, "hclk"); atmel_lcdfb_probe()
1226 if (IS_ERR(sinfo->bus_clk)) { atmel_lcdfb_probe()
1227 ret = PTR_ERR(sinfo->bus_clk); atmel_lcdfb_probe()
1230 sinfo->lcdc_clk = clk_get(dev, "lcdc_clk"); atmel_lcdfb_probe()
1231 if (IS_ERR(sinfo->lcdc_clk)) { atmel_lcdfb_probe()
1232 ret = PTR_ERR(sinfo->lcdc_clk); atmel_lcdfb_probe()
1235 atmel_lcdfb_start_clock(sinfo); atmel_lcdfb_probe()
1250 sinfo->irq_base = platform_get_irq(pdev, 0); atmel_lcdfb_probe()
1251 if (sinfo->irq_base < 0) { atmel_lcdfb_probe()
1253 ret = sinfo->irq_base; atmel_lcdfb_probe()
1281 ret = atmel_lcdfb_alloc_video_memory(sinfo); atmel_lcdfb_probe()
1298 sinfo->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); atmel_lcdfb_probe()
1299 if (!sinfo->mmio) { atmel_lcdfb_probe()
1306 init_contrast(sinfo); atmel_lcdfb_probe()
1309 ret = request_irq(sinfo->irq_base, atmel_lcdfb_interrupt, 0, pdev->name, info); atmel_lcdfb_probe()
1317 INIT_WORK(&sinfo->task, atmel_lcdfb_task); atmel_lcdfb_probe()
1319 ret = atmel_lcdfb_init_fbinfo(sinfo); atmel_lcdfb_probe()
1343 atmel_lcdfb_power_control(sinfo, 1); atmel_lcdfb_probe()
1346 info->node, info->fix.mmio_start, sinfo->mmio, sinfo->irq_base); atmel_lcdfb_probe()
1354 cancel_work_sync(&sinfo->task); atmel_lcdfb_probe()
1355 free_irq(sinfo->irq_base, info); atmel_lcdfb_probe()
1357 exit_backlight(sinfo); atmel_lcdfb_probe()
1358 iounmap(sinfo->mmio); atmel_lcdfb_probe()
1365 atmel_lcdfb_free_video_memory(sinfo); atmel_lcdfb_probe()
1371 atmel_lcdfb_stop_clock(sinfo); atmel_lcdfb_probe()
1372 clk_put(sinfo->lcdc_clk); atmel_lcdfb_probe()
1374 clk_put(sinfo->bus_clk); atmel_lcdfb_probe()
1386 struct atmel_lcdfb_info *sinfo; atmel_lcdfb_remove() local
1391 sinfo = info->par; atmel_lcdfb_remove()
1392 pdata = &sinfo->pdata; atmel_lcdfb_remove()
1394 cancel_work_sync(&sinfo->task); atmel_lcdfb_remove()
1395 exit_backlight(sinfo); atmel_lcdfb_remove()
1396 atmel_lcdfb_power_control(sinfo, 0); atmel_lcdfb_remove()
1398 atmel_lcdfb_stop_clock(sinfo); atmel_lcdfb_remove()
1399 clk_put(sinfo->lcdc_clk); atmel_lcdfb_remove()
1400 clk_put(sinfo->bus_clk); atmel_lcdfb_remove()
1402 free_irq(sinfo->irq_base, info); atmel_lcdfb_remove()
1403 iounmap(sinfo->mmio); atmel_lcdfb_remove()
1409 atmel_lcdfb_free_video_memory(sinfo); atmel_lcdfb_remove()
1422 struct atmel_lcdfb_info *sinfo = info->par; atmel_lcdfb_suspend() local
1428 lcdc_writel(sinfo, ATMEL_LCDC_IDR, ~0UL); atmel_lcdfb_suspend()
1430 sinfo->saved_lcdcon = lcdc_readl(sinfo, ATMEL_LCDC_CONTRAST_CTR); atmel_lcdfb_suspend()
1431 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_CTR, 0); atmel_lcdfb_suspend()
1432 atmel_lcdfb_power_control(sinfo, 0); atmel_lcdfb_suspend()
1433 atmel_lcdfb_stop(sinfo); atmel_lcdfb_suspend()
1434 atmel_lcdfb_stop_clock(sinfo); atmel_lcdfb_suspend()
1442 struct atmel_lcdfb_info *sinfo = info->par; atmel_lcdfb_resume() local
1444 atmel_lcdfb_start_clock(sinfo); atmel_lcdfb_resume()
1445 atmel_lcdfb_start(sinfo); atmel_lcdfb_resume()
1446 atmel_lcdfb_power_control(sinfo, 1); atmel_lcdfb_resume()
1447 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_CTR, sinfo->saved_lcdcon); atmel_lcdfb_resume()
1450 lcdc_writel(sinfo, ATMEL_LCDC_IER, ATMEL_LCDC_UFLWI atmel_lcdfb_resume()
/linux-4.1.27/net/mac80211/
H A Dethtool.c73 struct station_info sinfo; ieee80211_get_stats() local
88 data[i++] += sinfo.tx_packets; \ ieee80211_get_stats()
89 data[i++] += sinfo.tx_bytes; \ ieee80211_get_stats()
111 sinfo.filled = 0; ieee80211_get_stats()
112 sta_set_sinfo(sta, &sinfo); ieee80211_get_stats()
120 if (sinfo.filled & BIT(NL80211_STA_INFO_TX_BITRATE)) ieee80211_get_stats()
122 cfg80211_calculate_bitrate(&sinfo.txrate); ieee80211_get_stats()
124 if (sinfo.filled & BIT(NL80211_STA_INFO_RX_BITRATE)) ieee80211_get_stats()
126 cfg80211_calculate_bitrate(&sinfo.rxrate); ieee80211_get_stats()
129 if (sinfo.filled & BIT(NL80211_STA_INFO_SIGNAL_AVG)) ieee80211_get_stats()
130 data[i] = (u8)sinfo.signal_avg; ieee80211_get_stats()
138 sinfo.filled = 0; ieee80211_get_stats()
139 sta_set_sinfo(sta, &sinfo); ieee80211_get_stats()
H A Dsta_info.c475 struct station_info sinfo; __acquires() local
513 memset(&sinfo, 0, sizeof(sinfo)); __acquires()
514 sinfo.filled = 0; __acquires()
515 sinfo.generation = local->sta_generation; __acquires()
516 cfg80211_new_sta(sdata->dev, sta->sta.addr, &sinfo, GFP_KERNEL); __acquires()
879 struct station_info sinfo = {}; __sta_info_destroy_part2() local
917 sta_set_sinfo(sta, &sinfo); __sta_info_destroy_part2()
918 cfg80211_del_sta_sinfo(sdata->dev, sta->sta.addr, &sinfo, GFP_KERNEL); __sta_info_destroy_part2()
1797 void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo) sta_set_sinfo() argument
1809 sinfo->generation = sdata->local->sta_generation; sta_set_sinfo()
1816 sinfo->rx_beacon = sdata->u.mgd.count_beacon_signal; sta_set_sinfo()
1818 drv_sta_statistics(local, sdata, &sta->sta, sinfo); sta_set_sinfo()
1820 sinfo->filled |= BIT(NL80211_STA_INFO_INACTIVE_TIME) | sta_set_sinfo()
1828 sinfo->connected_time = uptime.tv_sec - sta->last_connected; sta_set_sinfo()
1829 sinfo->inactive_time = jiffies_to_msecs(jiffies - sta->last_rx); sta_set_sinfo()
1831 if (!(sinfo->filled & (BIT(NL80211_STA_INFO_TX_BYTES64) | sta_set_sinfo()
1833 sinfo->tx_bytes = 0; sta_set_sinfo()
1835 sinfo->tx_bytes += sta->tx_bytes[ac]; sta_set_sinfo()
1836 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BYTES64); sta_set_sinfo()
1839 if (!(sinfo->filled & BIT(NL80211_STA_INFO_TX_PACKETS))) { sta_set_sinfo()
1840 sinfo->tx_packets = 0; sta_set_sinfo()
1842 sinfo->tx_packets += sta->tx_packets[ac]; sta_set_sinfo()
1843 sinfo->filled |= BIT(NL80211_STA_INFO_TX_PACKETS); sta_set_sinfo()
1846 if (!(sinfo->filled & (BIT(NL80211_STA_INFO_RX_BYTES64) | sta_set_sinfo()
1848 sinfo->rx_bytes = sta->rx_bytes; sta_set_sinfo()
1849 sinfo->filled |= BIT(NL80211_STA_INFO_RX_BYTES64); sta_set_sinfo()
1852 if (!(sinfo->filled & BIT(NL80211_STA_INFO_RX_PACKETS))) { sta_set_sinfo()
1853 sinfo->rx_packets = sta->rx_packets; sta_set_sinfo()
1854 sinfo->filled |= BIT(NL80211_STA_INFO_RX_PACKETS); sta_set_sinfo()
1857 if (!(sinfo->filled & BIT(NL80211_STA_INFO_TX_RETRIES))) { sta_set_sinfo()
1858 sinfo->tx_retries = sta->tx_retry_count; sta_set_sinfo()
1859 sinfo->filled |= BIT(NL80211_STA_INFO_TX_RETRIES); sta_set_sinfo()
1862 if (!(sinfo->filled & BIT(NL80211_STA_INFO_TX_FAILED))) { sta_set_sinfo()
1863 sinfo->tx_failed = sta->tx_retry_failed; sta_set_sinfo()
1864 sinfo->filled |= BIT(NL80211_STA_INFO_TX_FAILED); sta_set_sinfo()
1867 sinfo->rx_dropped_misc = sta->rx_dropped; sta_set_sinfo()
1868 sinfo->beacon_loss_count = sta->beacon_loss_count; sta_set_sinfo()
1872 sinfo->filled |= BIT(NL80211_STA_INFO_BEACON_RX) | sta_set_sinfo()
1874 sinfo->rx_beacon_signal_avg = ieee80211_ave_rssi(&sdata->vif); sta_set_sinfo()
1879 if (!(sinfo->filled & BIT(NL80211_STA_INFO_SIGNAL))) { sta_set_sinfo()
1880 sinfo->signal = (s8)sta->last_signal; sta_set_sinfo()
1881 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); sta_set_sinfo()
1884 if (!(sinfo->filled & BIT(NL80211_STA_INFO_SIGNAL_AVG))) { sta_set_sinfo()
1885 sinfo->signal_avg = (s8) -ewma_read(&sta->avg_signal); sta_set_sinfo()
1886 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL_AVG); sta_set_sinfo()
1891 !(sinfo->filled & (BIT(NL80211_STA_INFO_CHAIN_SIGNAL) | sta_set_sinfo()
1893 sinfo->filled |= BIT(NL80211_STA_INFO_CHAIN_SIGNAL) | sta_set_sinfo()
1896 sinfo->chains = sta->chains; sta_set_sinfo()
1897 for (i = 0; i < ARRAY_SIZE(sinfo->chain_signal); i++) { sta_set_sinfo()
1898 sinfo->chain_signal[i] = sta->chain_signal_last[i]; sta_set_sinfo()
1899 sinfo->chain_signal_avg[i] = sta_set_sinfo()
1904 if (!(sinfo->filled & BIT(NL80211_STA_INFO_TX_BITRATE))) { sta_set_sinfo()
1905 sta_set_rate_info_tx(sta, &sta->last_tx_rate, &sinfo->txrate); sta_set_sinfo()
1906 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); sta_set_sinfo()
1909 if (!(sinfo->filled & BIT(NL80211_STA_INFO_RX_BITRATE))) { sta_set_sinfo()
1910 sta_set_rate_info_rx(sta, &sinfo->rxrate); sta_set_sinfo()
1911 sinfo->filled |= BIT(NL80211_STA_INFO_RX_BITRATE); sta_set_sinfo()
1914 sinfo->filled |= BIT(NL80211_STA_INFO_TID_STATS); sta_set_sinfo()
1916 struct cfg80211_tid_stats *tidstats = &sinfo->pertid[i]; sta_set_sinfo()
1947 sinfo->filled |= BIT(NL80211_STA_INFO_LLID) | sta_set_sinfo()
1954 sinfo->llid = sta->llid; sta_set_sinfo()
1955 sinfo->plid = sta->plid; sta_set_sinfo()
1956 sinfo->plink_state = sta->plink_state; sta_set_sinfo()
1958 sinfo->filled |= BIT(NL80211_STA_INFO_T_OFFSET); sta_set_sinfo()
1959 sinfo->t_offset = sta->t_offset; sta_set_sinfo()
1961 sinfo->local_pm = sta->local_pm; sta_set_sinfo()
1962 sinfo->peer_pm = sta->peer_pm; sta_set_sinfo()
1963 sinfo->nonpeer_pm = sta->nonpeer_pm; sta_set_sinfo()
1967 sinfo->bss_param.flags = 0; sta_set_sinfo()
1969 sinfo->bss_param.flags |= BSS_PARAM_FLAGS_CTS_PROT; sta_set_sinfo()
1971 sinfo->bss_param.flags |= BSS_PARAM_FLAGS_SHORT_PREAMBLE; sta_set_sinfo()
1973 sinfo->bss_param.flags |= BSS_PARAM_FLAGS_SHORT_SLOT_TIME; sta_set_sinfo()
1974 sinfo->bss_param.dtim_period = sdata->vif.bss_conf.dtim_period; sta_set_sinfo()
1975 sinfo->bss_param.beacon_interval = sdata->vif.bss_conf.beacon_int; sta_set_sinfo()
1977 sinfo->sta_flags.set = 0; sta_set_sinfo()
1978 sinfo->sta_flags.mask = BIT(NL80211_STA_FLAG_AUTHORIZED) | sta_set_sinfo()
1986 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_AUTHORIZED); sta_set_sinfo()
1988 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_SHORT_PREAMBLE); sta_set_sinfo()
1990 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_WME); sta_set_sinfo()
1992 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_MFP); sta_set_sinfo()
1994 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_AUTHENTICATED); sta_set_sinfo()
1996 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_ASSOCIATED); sta_set_sinfo()
1998 sinfo->sta_flags.set |= BIT(NL80211_STA_FLAG_TDLS_PEER); sta_set_sinfo()
2007 sinfo->filled |= BIT(NL80211_STA_INFO_EXPECTED_THROUGHPUT); sta_set_sinfo()
2008 sinfo->expected_throughput = thr; sta_set_sinfo()
H A Ddriver-ops.h645 struct station_info *sinfo) drv_sta_statistics()
653 local->ops->sta_statistics(&local->hw, &sdata->vif, sta, sinfo); drv_sta_statistics()
642 drv_sta_statistics(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct station_info *sinfo) drv_sta_statistics() argument
H A Dcfg.c514 int idx, u8 *mac, struct station_info *sinfo) ieee80211_dump_station()
527 sta_set_sinfo(sta, sinfo); ieee80211_dump_station()
544 const u8 *mac, struct station_info *sinfo) ieee80211_get_station()
556 sta_set_sinfo(sta, sinfo); ieee80211_get_station()
513 ieee80211_dump_station(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) ieee80211_dump_station() argument
543 ieee80211_get_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_info *sinfo) ieee80211_get_station() argument
H A Dsta_info.h631 void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo);
/linux-4.1.27/fs/fat/
H A Dnamei_msdos.c118 struct fat_slot_info *sinfo) msdos_find()
128 err = fat_scan(dir, msdos_name, sinfo); msdos_find()
131 if (!(sinfo->de->attr & ATTR_HIDDEN)) msdos_find()
134 if (sinfo->de->attr & ATTR_HIDDEN) msdos_find()
138 brelse(sinfo->bh); msdos_find()
203 struct fat_slot_info sinfo; msdos_lookup() local
208 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); msdos_lookup()
214 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); msdos_lookup()
215 brelse(sinfo.bh); msdos_lookup()
227 struct timespec *ts, struct fat_slot_info *sinfo) msdos_add_entry()
248 err = fat_add_entries(dir, &de, 1, sinfo); msdos_add_entry()
267 struct fat_slot_info sinfo; msdos_create() local
280 if (!fat_scan(dir, msdos_name, &sinfo)) { msdos_create()
281 brelse(sinfo.bh); msdos_create()
287 err = msdos_add_entry(dir, msdos_name, 0, is_hid, 0, &ts, &sinfo); msdos_create()
290 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); msdos_create()
291 brelse(sinfo.bh); msdos_create()
312 struct fat_slot_info sinfo; msdos_rmdir() local
323 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); msdos_rmdir()
327 err = fat_remove_entries(dir, &sinfo); /* and releases bh */ msdos_rmdir()
347 struct fat_slot_info sinfo; msdos_mkdir() local
361 if (!fat_scan(dir, msdos_name, &sinfo)) { msdos_mkdir()
362 brelse(sinfo.bh); msdos_mkdir()
373 err = msdos_add_entry(dir, msdos_name, 1, is_hid, cluster, &ts, &sinfo); msdos_mkdir()
378 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); msdos_mkdir()
379 brelse(sinfo.bh); msdos_mkdir()
407 struct fat_slot_info sinfo; msdos_unlink() local
411 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); msdos_unlink()
415 err = fat_remove_entries(dir, &sinfo); /* and releases bh */ msdos_unlink()
437 struct fat_slot_info old_sinfo, sinfo; do_msdos_rename() local
442 old_sinfo.bh = sinfo.bh = dotdot_bh = NULL; do_msdos_rename()
462 err = fat_scan(new_dir, new_name, &sinfo); do_msdos_rename()
466 if (sinfo.de != old_sinfo.de) { do_msdos_rename()
506 &ts, &sinfo); do_msdos_rename()
509 new_i_pos = sinfo.i_pos; do_msdos_rename()
557 brelse(sinfo.bh); do_msdos_rename()
584 int err2 = fat_remove_entries(new_dir, &sinfo); do_msdos_rename()
587 sinfo.bh = NULL; do_msdos_rename()
592 __func__, sinfo.i_pos); do_msdos_rename()
117 msdos_find(struct inode *dir, const unsigned char *name, int len, struct fat_slot_info *sinfo) msdos_find() argument
225 msdos_add_entry(struct inode *dir, const unsigned char *name, int is_dir, int is_hid, int cluster, struct timespec *ts, struct fat_slot_info *sinfo) msdos_add_entry() argument
H A Ddir.c463 int name_len, struct fat_slot_info *sinfo) fat_search_long()
527 sinfo->slot_off = cpos - nr_slots * sizeof(*de); fat_search_long()
528 sinfo->nr_slots = nr_slots; fat_search_long()
529 sinfo->de = de; fat_search_long()
530 sinfo->bh = bh; fat_search_long()
531 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); fat_search_long()
949 struct fat_slot_info *sinfo) fat_scan()
953 sinfo->slot_off = 0; fat_scan()
954 sinfo->bh = NULL; fat_scan()
955 while (fat_get_short_entry(dir, &sinfo->slot_off, &sinfo->bh, fat_scan()
956 &sinfo->de) >= 0) { fat_scan()
957 if (!strncmp(sinfo->de->name, name, MSDOS_NAME)) { fat_scan()
958 sinfo->slot_off -= sizeof(*sinfo->de); fat_scan()
959 sinfo->nr_slots = 1; fat_scan()
960 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); fat_scan()
973 struct fat_slot_info *sinfo) fat_scan_logstart()
977 sinfo->slot_off = 0; fat_scan_logstart()
978 sinfo->bh = NULL; fat_scan_logstart()
979 while (fat_get_short_entry(dir, &sinfo->slot_off, &sinfo->bh, fat_scan_logstart()
980 &sinfo->de) >= 0) { fat_scan_logstart()
981 if (fat_get_start(MSDOS_SB(sb), sinfo->de) == i_logstart) { fat_scan_logstart()
982 sinfo->slot_off -= sizeof(*sinfo->de); fat_scan_logstart()
983 sinfo->nr_slots = 1; fat_scan_logstart()
984 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); fat_scan_logstart()
1026 int fat_remove_entries(struct inode *dir, struct fat_slot_info *sinfo) fat_remove_entries() argument
1037 nr_slots = sinfo->nr_slots; fat_remove_entries()
1038 de = sinfo->de; fat_remove_entries()
1039 sinfo->de = NULL; fat_remove_entries()
1040 bh = sinfo->bh; fat_remove_entries()
1041 sinfo->bh = NULL; fat_remove_entries()
1061 err = __fat_remove_entries(dir, sinfo->slot_off, nr_slots); fat_remove_entries()
1270 struct fat_slot_info *sinfo) fat_add_entries()
1279 sinfo->nr_slots = nr_slots; fat_add_entries()
1383 sinfo->slot_off = pos; fat_add_entries()
1384 sinfo->de = de; fat_add_entries()
1385 sinfo->bh = bh; fat_add_entries()
1386 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); fat_add_entries()
462 fat_search_long(struct inode *inode, const unsigned char *name, int name_len, struct fat_slot_info *sinfo) fat_search_long() argument
948 fat_scan(struct inode *dir, const unsigned char *name, struct fat_slot_info *sinfo) fat_scan() argument
972 fat_scan_logstart(struct inode *dir, int i_logstart, struct fat_slot_info *sinfo) fat_scan_logstart() argument
1269 fat_add_entries(struct inode *dir, void *slots, int nr_slots, struct fat_slot_info *sinfo) fat_add_entries() argument
H A Dnamei_vfat.c224 struct fat_slot_info sinfo; vfat_find_form() local
225 int err = fat_scan(dir, name, &sinfo); vfat_find_form()
228 brelse(sinfo.bh); vfat_find_form()
657 struct fat_slot_info *sinfo) vfat_add_entry()
676 err = fat_add_entries(dir, slots, nr_slots, sinfo); vfat_add_entry()
692 struct fat_slot_info *sinfo) vfat_find()
697 return fat_search_long(dir, qname->name, len, sinfo); vfat_find()
713 struct fat_slot_info sinfo; vfat_lookup() local
720 err = vfat_find(dir, &dentry->d_name, &sinfo); vfat_lookup()
729 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); vfat_lookup()
730 brelse(sinfo.bh); vfat_lookup()
774 struct fat_slot_info sinfo; vfat_create() local
781 err = vfat_add_entry(dir, &dentry->d_name, 0, 0, &ts, &sinfo); vfat_create()
786 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); vfat_create()
787 brelse(sinfo.bh); vfat_create()
806 struct fat_slot_info sinfo; vfat_rmdir() local
814 err = vfat_find(dir, &dentry->d_name, &sinfo); vfat_rmdir()
818 err = fat_remove_entries(dir, &sinfo); /* and releases bh */ vfat_rmdir()
837 struct fat_slot_info sinfo; vfat_unlink() local
842 err = vfat_find(dir, &dentry->d_name, &sinfo); vfat_unlink()
846 err = fat_remove_entries(dir, &sinfo); /* and releases bh */ vfat_unlink()
863 struct fat_slot_info sinfo; vfat_mkdir() local
875 err = vfat_add_entry(dir, &dentry->d_name, 1, cluster, &ts, &sinfo); vfat_mkdir()
881 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); vfat_mkdir()
882 brelse(sinfo.bh); vfat_mkdir()
911 struct fat_slot_info old_sinfo, sinfo; vfat_rename() local
917 old_sinfo.bh = sinfo.bh = dotdot_bh = NULL; vfat_rename()
945 &ts, &sinfo); vfat_rename()
948 new_i_pos = sinfo.i_pos; vfat_rename()
992 brelse(sinfo.bh); vfat_rename()
1020 int err2 = fat_remove_entries(new_dir, &sinfo); vfat_rename()
1023 sinfo.bh = NULL; vfat_rename()
1028 __func__, sinfo.i_pos); vfat_rename()
655 vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir, int cluster, struct timespec *ts, struct fat_slot_info *sinfo) vfat_add_entry() argument
691 vfat_find(struct inode *dir, struct qstr *qname, struct fat_slot_info *sinfo) vfat_find() argument
H A Dnfs.c229 struct fat_slot_info sinfo; fat_rebuild_parent() local
256 if (!fat_scan_logstart(dummy_grand_parent, clus_to_match, &sinfo)) fat_rebuild_parent()
257 parent = fat_build_inode(sb, sinfo.de, sinfo.i_pos); fat_rebuild_parent()
H A Dfat.h294 int name_len, struct fat_slot_info *sinfo);
298 struct fat_slot_info *sinfo);
300 struct fat_slot_info *sinfo);
305 struct fat_slot_info *sinfo);
306 extern int fat_remove_entries(struct inode *dir, struct fat_slot_info *sinfo);
/linux-4.1.27/drivers/pcmcia/
H A Dpxa2xx_base.c283 struct skt_dev_info *sinfo; pxa2xx_drv_pcmcia_probe() local
305 sinfo = kzalloc(SKT_DEV_INFO_SIZE(ops->nr), GFP_KERNEL); pxa2xx_drv_pcmcia_probe()
306 if (!sinfo) { pxa2xx_drv_pcmcia_probe()
311 sinfo->nskt = ops->nr; pxa2xx_drv_pcmcia_probe()
312 sinfo->clk = clk; pxa2xx_drv_pcmcia_probe()
316 skt = &sinfo->skt[i]; pxa2xx_drv_pcmcia_probe()
328 dev_set_drvdata(&dev->dev, sinfo); pxa2xx_drv_pcmcia_probe()
334 soc_pcmcia_remove_one(&sinfo->skt[i]); pxa2xx_drv_pcmcia_probe()
336 kfree(sinfo); pxa2xx_drv_pcmcia_probe()
343 struct skt_dev_info *sinfo = platform_get_drvdata(dev); pxa2xx_drv_pcmcia_remove() local
348 for (i = 0; i < sinfo->nskt; i++) pxa2xx_drv_pcmcia_remove()
349 soc_pcmcia_remove_one(&sinfo->skt[i]); pxa2xx_drv_pcmcia_remove()
351 clk_put(sinfo->clk); pxa2xx_drv_pcmcia_remove()
352 kfree(sinfo); pxa2xx_drv_pcmcia_remove()
H A Dsa1100_generic.c88 struct skt_dev_info *sinfo = platform_get_drvdata(dev); sa11x0_drv_pcmcia_remove() local
93 for (i = 0; i < sinfo->nskt; i++) sa11x0_drv_pcmcia_remove()
94 soc_pcmcia_remove_one(&sinfo->skt[i]); sa11x0_drv_pcmcia_remove()
96 kfree(sinfo); sa11x0_drv_pcmcia_remove()
H A Dsa11xx_base.c220 struct skt_dev_info *sinfo; sa11xx_drv_pcmcia_probe() local
231 sinfo = kzalloc(SKT_DEV_INFO_SIZE(nr), GFP_KERNEL); sa11xx_drv_pcmcia_probe()
232 if (!sinfo) sa11xx_drv_pcmcia_probe()
235 sinfo->nskt = nr; sa11xx_drv_pcmcia_probe()
236 sinfo->clk = clk; sa11xx_drv_pcmcia_probe()
240 skt = &sinfo->skt[i]; sa11xx_drv_pcmcia_probe()
253 soc_pcmcia_remove_one(&sinfo->skt[i]); sa11xx_drv_pcmcia_probe()
254 kfree(sinfo); sa11xx_drv_pcmcia_probe()
256 dev_set_drvdata(dev, sinfo); sa11xx_drv_pcmcia_probe()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Duap_event.c47 struct station_info sinfo; mwifiex_process_uap_event() local
56 memset(&sinfo, 0, sizeof(sinfo)); mwifiex_process_uap_event()
71 sinfo.assoc_req_ies = &event->data[len]; mwifiex_process_uap_event()
72 len = (u8 *)sinfo.assoc_req_ies - mwifiex_process_uap_event()
74 sinfo.assoc_req_ies_len = mwifiex_process_uap_event()
78 cfg80211_new_sta(priv->netdev, event->sta_addr, &sinfo, mwifiex_process_uap_event()
91 mwifiex_set_sta_ht_cap(priv, sinfo.assoc_req_ies, mwifiex_process_uap_event()
92 sinfo.assoc_req_ies_len, node); mwifiex_process_uap_event()
H A Dcfg80211.c1197 struct station_info *sinfo) mwifiex_dump_station_info()
1201 sinfo->filled = BIT(NL80211_STA_INFO_RX_BYTES) | BIT(NL80211_STA_INFO_TX_BYTES) | mwifiex_dump_station_info()
1223 mwifiex_parse_htinfo(priv, priv->tx_htinfo, &sinfo->txrate); mwifiex_dump_station_info()
1225 sinfo->signal_avg = priv->bcn_rssi_avg; mwifiex_dump_station_info()
1226 sinfo->rx_bytes = priv->stats.rx_bytes; mwifiex_dump_station_info()
1227 sinfo->tx_bytes = priv->stats.tx_bytes; mwifiex_dump_station_info()
1228 sinfo->rx_packets = priv->stats.rx_packets; mwifiex_dump_station_info()
1229 sinfo->tx_packets = priv->stats.tx_packets; mwifiex_dump_station_info()
1230 sinfo->signal = priv->bcn_rssi_avg; mwifiex_dump_station_info()
1232 sinfo->txrate.legacy = rate * 5; mwifiex_dump_station_info()
1235 sinfo->filled |= BIT(NL80211_STA_INFO_BSS_PARAM); mwifiex_dump_station_info()
1236 sinfo->bss_param.flags = 0; mwifiex_dump_station_info()
1239 sinfo->bss_param.flags |= mwifiex_dump_station_info()
1243 sinfo->bss_param.flags |= mwifiex_dump_station_info()
1245 sinfo->bss_param.dtim_period = priv->dtim_period; mwifiex_dump_station_info()
1246 sinfo->bss_param.beacon_interval = mwifiex_dump_station_info()
1261 const u8 *mac, struct station_info *sinfo) mwifiex_cfg80211_get_station()
1270 return mwifiex_dump_station_info(priv, sinfo); mwifiex_cfg80211_get_station()
1278 int idx, u8 *mac, struct station_info *sinfo) mwifiex_cfg80211_dump_station()
1287 return mwifiex_dump_station_info(priv, sinfo); mwifiex_cfg80211_dump_station()
1196 mwifiex_dump_station_info(struct mwifiex_private *priv, struct station_info *sinfo) mwifiex_dump_station_info() argument
1260 mwifiex_cfg80211_get_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_info *sinfo) mwifiex_cfg80211_get_station() argument
1277 mwifiex_cfg80211_dump_station(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) mwifiex_cfg80211_dump_station() argument
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
H A Dcfg80211.c109 struct station_info *sinfo) wil_cid_fill_sinfo()
144 sinfo->generation = wil->sinfo_gen; wil_cid_fill_sinfo()
146 sinfo->filled = BIT(NL80211_STA_INFO_RX_BYTES) | wil_cid_fill_sinfo()
155 sinfo->txrate.flags = RATE_INFO_FLAGS_MCS | RATE_INFO_FLAGS_60G; wil_cid_fill_sinfo()
156 sinfo->txrate.mcs = le16_to_cpu(reply.evt.bf_mcs); wil_cid_fill_sinfo()
157 sinfo->rxrate.flags = RATE_INFO_FLAGS_MCS | RATE_INFO_FLAGS_60G; wil_cid_fill_sinfo()
158 sinfo->rxrate.mcs = stats->last_mcs_rx; wil_cid_fill_sinfo()
159 sinfo->rx_bytes = stats->rx_bytes; wil_cid_fill_sinfo()
160 sinfo->rx_packets = stats->rx_packets; wil_cid_fill_sinfo()
161 sinfo->rx_dropped_misc = stats->rx_dropped; wil_cid_fill_sinfo()
162 sinfo->tx_bytes = stats->tx_bytes; wil_cid_fill_sinfo()
163 sinfo->tx_packets = stats->tx_packets; wil_cid_fill_sinfo()
164 sinfo->tx_failed = stats->tx_errors; wil_cid_fill_sinfo()
167 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); wil_cid_fill_sinfo()
168 sinfo->signal = reply.evt.sqi; wil_cid_fill_sinfo()
176 const u8 *mac, struct station_info *sinfo) wil_cfg80211_get_station()
187 rc = wil_cid_fill_sinfo(wil, cid, sinfo); wil_cfg80211_get_station()
212 u8 *mac, struct station_info *sinfo) wil_cfg80211_dump_station()
224 rc = wil_cid_fill_sinfo(wil, cid, sinfo); wil_cfg80211_dump_station()
108 wil_cid_fill_sinfo(struct wil6210_priv *wil, int cid, struct station_info *sinfo) wil_cid_fill_sinfo() argument
174 wil_cfg80211_get_station(struct wiphy *wiphy, struct net_device *ndev, const u8 *mac, struct station_info *sinfo) wil_cfg80211_get_station() argument
210 wil_cfg80211_dump_station(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) wil_cfg80211_dump_station() argument
H A Dwmi.c390 struct station_info sinfo; wmi_evt_connect() local
453 memset(&sinfo, 0, sizeof(sinfo)); wmi_evt_connect()
455 sinfo.generation = wil->sinfo_gen++; wmi_evt_connect()
458 sinfo.assoc_req_ies = assoc_req_ie; wmi_evt_connect()
459 sinfo.assoc_req_ies_len = assoc_req_ielen; wmi_evt_connect()
462 cfg80211_new_sta(ndev, evt->bssid, &sinfo, GFP_KERNEL); wmi_evt_connect()
H A Ddebugfs.c1096 struct station_info sinfo; wil_link_debugfs_show() local
1118 rc = wil_cid_fill_sinfo(wil, i, &sinfo); wil_link_debugfs_show()
1122 seq_printf(s, " Tx_mcs = %d\n", sinfo.txrate.mcs); wil_link_debugfs_show()
1123 seq_printf(s, " Rx_mcs = %d\n", sinfo.rxrate.mcs); wil_link_debugfs_show()
1124 seq_printf(s, " SQ = %d\n", sinfo.signal); wil_link_debugfs_show()
H A Dwil6210.h743 struct station_info *sinfo);
/linux-4.1.27/net/sctp/
H A Dchunk.c166 struct sctp_sndrcvinfo *sinfo, sctp_datamsg_from_user()
185 if (sinfo->sinfo_timetolive) { sctp_datamsg_from_user()
188 msecs_to_jiffies(sinfo->sinfo_timetolive); sctp_datamsg_from_user()
271 if ((sinfo->sinfo_flags & SCTP_EOF) || sctp_datamsg_from_user()
272 (sinfo->sinfo_flags & SCTP_SACK_IMMEDIATELY)) sctp_datamsg_from_user()
276 chunk = sctp_make_datafrag_empty(asoc, sinfo, len, frag, 0); sctp_datamsg_from_user()
308 if ((sinfo->sinfo_flags & SCTP_EOF) || sctp_datamsg_from_user()
309 (sinfo->sinfo_flags & SCTP_SACK_IMMEDIATELY)) sctp_datamsg_from_user()
312 chunk = sctp_make_datafrag_empty(asoc, sinfo, over, frag, 0); sctp_datamsg_from_user()
165 sctp_datamsg_from_user(struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, struct iov_iter *from) sctp_datamsg_from_user() argument
H A Dulpevent.c506 memcpy(&ssf->ssf_info, &chunk->sinfo, sizeof(struct sctp_sndrcvinfo)); sctp_ulpevent_make_send_failed()
867 struct sctp_sndrcvinfo sinfo; sctp_ulpevent_read_sndrcvinfo() local
872 memset(&sinfo, 0, sizeof(sinfo)); sctp_ulpevent_read_sndrcvinfo()
873 sinfo.sinfo_stream = event->stream; sctp_ulpevent_read_sndrcvinfo()
874 sinfo.sinfo_ssn = event->ssn; sctp_ulpevent_read_sndrcvinfo()
875 sinfo.sinfo_ppid = event->ppid; sctp_ulpevent_read_sndrcvinfo()
876 sinfo.sinfo_flags = event->flags; sctp_ulpevent_read_sndrcvinfo()
877 sinfo.sinfo_tsn = event->tsn; sctp_ulpevent_read_sndrcvinfo()
878 sinfo.sinfo_cumtsn = event->cumtsn; sctp_ulpevent_read_sndrcvinfo()
879 sinfo.sinfo_assoc_id = sctp_assoc2id(event->asoc); sctp_ulpevent_read_sndrcvinfo()
881 sinfo.sinfo_context = event->asoc->default_rcv_context; sctp_ulpevent_read_sndrcvinfo()
883 sinfo.sinfo_timetolive = 0; sctp_ulpevent_read_sndrcvinfo()
886 sizeof(sinfo), &sinfo); sctp_ulpevent_read_sndrcvinfo()
H A Dsocket.c1596 struct sctp_sndrcvinfo *sinfo; sctp_sendmsg() local
1648 if (cmsgs.sinfo != NULL) { sctp_sendmsg()
1650 default_sinfo.sinfo_stream = cmsgs.sinfo->snd_sid; sctp_sendmsg()
1651 default_sinfo.sinfo_flags = cmsgs.sinfo->snd_flags; sctp_sendmsg()
1652 default_sinfo.sinfo_ppid = cmsgs.sinfo->snd_ppid; sctp_sendmsg()
1653 default_sinfo.sinfo_context = cmsgs.sinfo->snd_context; sctp_sendmsg()
1654 default_sinfo.sinfo_assoc_id = cmsgs.sinfo->snd_assoc_id; sctp_sendmsg()
1656 sinfo = &default_sinfo; sctp_sendmsg()
1659 sinfo = cmsgs.srinfo; sctp_sendmsg()
1662 if (sinfo) { sctp_sendmsg()
1663 sinfo_flags = sinfo->sinfo_flags; sctp_sendmsg()
1664 associd = sinfo->sinfo_assoc_id; sctp_sendmsg()
1776 if (sinfo) { sctp_sendmsg()
1779 if (sinfo->sinfo_stream >= sctp_sendmsg()
1786 if (sinfo->sinfo_stream >= sctp_sendmsg()
1867 if (!sinfo) { sctp_sendmsg()
1879 sinfo = &default_sinfo; sctp_sendmsg()
1884 sinfo->sinfo_timetolive = asoc->default_timetolive; sctp_sendmsg()
1909 if (sinfo->sinfo_stream >= asoc->c.sinit_num_ostreams) { sctp_sendmsg()
1946 datamsg = sctp_datamsg_from_user(asoc, sinfo, &msg->msg_iter); sctp_sendmsg()
6681 cmsgs->sinfo = CMSG_DATA(cmsg); for_each_cmsghdr()
6683 if (cmsgs->sinfo->snd_flags & for_each_cmsghdr()
H A Dsm_make_chunk.c715 const struct sctp_sndrcvinfo *sinfo, sctp_make_datafrag_empty()
726 dp.stream = htons(sinfo->sinfo_stream); sctp_make_datafrag_empty()
727 dp.ppid = sinfo->sinfo_ppid; sctp_make_datafrag_empty()
730 if (sinfo->sinfo_flags & SCTP_UNORDERED) { sctp_make_datafrag_empty()
742 memcpy(&retval->sinfo, sinfo, sizeof(struct sctp_sndrcvinfo)); sctp_make_datafrag_empty()
714 sctp_make_datafrag_empty(struct sctp_association *asoc, const struct sctp_sndrcvinfo *sinfo, int data_len, __u8 flags, __u16 ssn) sctp_make_datafrag_empty() argument
H A Doutqueue.c955 if (chunk->sinfo.sinfo_stream >= sctp_outq_flush()
/linux-4.1.27/fs/btrfs/
H A Dsysfs.c265 struct btrfs_space_info *sinfo = to_space_info(kobj->parent); raid_bytes_show() local
270 down_read(&sinfo->groups_sem); raid_bytes_show()
271 list_for_each_entry(block_group, &sinfo->block_groups[index], list) { raid_bytes_show()
277 up_read(&sinfo->groups_sem); raid_bytes_show()
303 struct btrfs_space_info *sinfo = to_space_info(kobj); \
304 return btrfs_show_u64(&sinfo->field, &sinfo->lock, buf); \
312 struct btrfs_space_info *sinfo = to_space_info(kobj); btrfs_space_info_show_total_bytes_pinned() local
313 s64 val = percpu_counter_sum(&sinfo->total_bytes_pinned); btrfs_space_info_show_total_bytes_pinned()
342 struct btrfs_space_info *sinfo = to_space_info(kobj); space_info_release() local
343 percpu_counter_destroy(&sinfo->total_bytes_pinned); space_info_release()
344 kfree(sinfo); space_info_release()
H A Dextent-tree.c4061 struct btrfs_space_info *sinfo, int force) should_alloc_chunk()
4064 u64 num_bytes = sinfo->total_bytes - sinfo->bytes_readonly; should_alloc_chunk()
4065 u64 num_allocated = sinfo->bytes_used + sinfo->bytes_reserved; should_alloc_chunk()
4076 if (sinfo->flags & BTRFS_BLOCK_GROUP_METADATA) should_alloc_chunk()
5077 struct btrfs_space_info *sinfo; calc_global_metadata_size() local
5083 sinfo = __find_space_info(fs_info, BTRFS_BLOCK_GROUP_DATA); calc_global_metadata_size()
5084 spin_lock(&sinfo->lock); calc_global_metadata_size()
5085 data_used = sinfo->bytes_used; calc_global_metadata_size()
5086 spin_unlock(&sinfo->lock); calc_global_metadata_size()
5088 sinfo = __find_space_info(fs_info, BTRFS_BLOCK_GROUP_METADATA); calc_global_metadata_size()
5089 spin_lock(&sinfo->lock); calc_global_metadata_size()
5090 if (sinfo->flags & BTRFS_BLOCK_GROUP_DATA) calc_global_metadata_size()
5092 meta_used = sinfo->bytes_used; calc_global_metadata_size()
5093 spin_unlock(&sinfo->lock); calc_global_metadata_size()
5108 struct btrfs_space_info *sinfo = block_rsv->space_info; update_global_block_rsv() local
5113 spin_lock(&sinfo->lock); update_global_block_rsv()
5118 num_bytes = sinfo->bytes_used + sinfo->bytes_pinned + update_global_block_rsv()
5119 sinfo->bytes_reserved + sinfo->bytes_readonly + update_global_block_rsv()
5120 sinfo->bytes_may_use; update_global_block_rsv()
5122 if (sinfo->total_bytes > num_bytes) { update_global_block_rsv()
5123 num_bytes = sinfo->total_bytes - num_bytes; update_global_block_rsv()
5125 sinfo->bytes_may_use += num_bytes; update_global_block_rsv()
5127 sinfo->flags, num_bytes, 1); update_global_block_rsv()
5132 sinfo->bytes_may_use -= num_bytes; update_global_block_rsv()
5134 sinfo->flags, num_bytes, 0); update_global_block_rsv()
5140 spin_unlock(&sinfo->lock); update_global_block_rsv()
7196 struct btrfs_space_info *sinfo; btrfs_reserve_extent() local
7198 sinfo = __find_space_info(root->fs_info, flags); btrfs_reserve_extent()
7201 if (sinfo) btrfs_reserve_extent()
7202 dump_space_info(sinfo, num_bytes, 1); btrfs_reserve_extent()
8762 struct btrfs_space_info *sinfo = cache->space_info; set_block_group_ro() local
8773 if ((sinfo->flags & set_block_group_ro()
8780 spin_lock(&sinfo->lock); set_block_group_ro()
8791 if (sinfo->bytes_used + sinfo->bytes_reserved + sinfo->bytes_pinned + set_block_group_ro()
8792 sinfo->bytes_may_use + sinfo->bytes_readonly + num_bytes + set_block_group_ro()
8793 min_allocable_bytes <= sinfo->total_bytes) { set_block_group_ro()
8794 sinfo->bytes_readonly += num_bytes; set_block_group_ro()
8796 list_add_tail(&cache->ro_list, &sinfo->ro_bgs); set_block_group_ro()
8801 spin_unlock(&sinfo->lock); set_block_group_ro()
8891 u64 btrfs_account_ro_block_groups_free_space(struct btrfs_space_info *sinfo) btrfs_account_ro_block_groups_free_space() argument
8898 if (list_empty(&sinfo->ro_bgs)) btrfs_account_ro_block_groups_free_space()
8901 spin_lock(&sinfo->lock); btrfs_account_ro_block_groups_free_space()
8902 list_for_each_entry(block_group, &sinfo->ro_bgs, ro_list) { btrfs_account_ro_block_groups_free_space()
8923 spin_unlock(&sinfo->lock); btrfs_account_ro_block_groups_free_space()
8931 struct btrfs_space_info *sinfo = cache->space_info; btrfs_set_block_group_rw() local
8936 spin_lock(&sinfo->lock); btrfs_set_block_group_rw()
8940 sinfo->bytes_readonly -= num_bytes; btrfs_set_block_group_rw()
8944 spin_unlock(&sinfo->lock); btrfs_set_block_group_rw()
4060 should_alloc_chunk(struct btrfs_root *root, struct btrfs_space_info *sinfo, int force) should_alloc_chunk() argument
H A Ddisk-io.c3427 struct btrfs_space_info *sinfo; btrfs_calc_num_tolerated_disk_barrier_failures() local
3441 sinfo = NULL; btrfs_calc_num_tolerated_disk_barrier_failures()
3445 sinfo = tmp; btrfs_calc_num_tolerated_disk_barrier_failures()
3451 if (!sinfo) btrfs_calc_num_tolerated_disk_barrier_failures()
3454 down_read(&sinfo->groups_sem); btrfs_calc_num_tolerated_disk_barrier_failures()
3456 if (!list_empty(&sinfo->block_groups[c])) { btrfs_calc_num_tolerated_disk_barrier_failures()
3460 &sinfo->block_groups[c], &space); btrfs_calc_num_tolerated_disk_barrier_failures()
3495 up_read(&sinfo->groups_sem); btrfs_calc_num_tolerated_disk_barrier_failures()
H A Dctree.h3503 u64 btrfs_account_ro_block_groups_free_space(struct btrfs_space_info *sinfo);
/linux-4.1.27/mm/
H A Dslab_common.c967 struct slabinfo sinfo; memcg_accumulate_slabinfo() local
973 memset(&sinfo, 0, sizeof(sinfo)); for_each_memcg_cache()
974 get_slabinfo(c, &sinfo); for_each_memcg_cache()
976 info->active_slabs += sinfo.active_slabs; for_each_memcg_cache()
977 info->num_slabs += sinfo.num_slabs; for_each_memcg_cache()
978 info->shared_avail += sinfo.shared_avail; for_each_memcg_cache()
979 info->active_objs += sinfo.active_objs; for_each_memcg_cache()
980 info->num_objs += sinfo.num_objs; for_each_memcg_cache()
986 struct slabinfo sinfo; cache_show() local
988 memset(&sinfo, 0, sizeof(sinfo)); cache_show()
989 get_slabinfo(s, &sinfo); cache_show()
991 memcg_accumulate_slabinfo(s, &sinfo); cache_show()
994 cache_name(s), sinfo.active_objs, sinfo.num_objs, s->size, cache_show()
995 sinfo.objects_per_slab, (1 << sinfo.cache_order)); cache_show()
998 sinfo.limit, sinfo.batchcount, sinfo.shared); cache_show()
1000 sinfo.active_slabs, sinfo.num_slabs, sinfo.shared_avail); cache_show()
H A Dslab.h160 void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo);
H A Dslab.c3918 void get_slabinfo(struct kmem_cache *cachep, struct slabinfo *sinfo) get_slabinfo() argument
3971 sinfo->active_objs = active_objs;
3972 sinfo->num_objs = num_objs;
3973 sinfo->active_slabs = active_slabs;
3974 sinfo->num_slabs = num_slabs;
3975 sinfo->shared_avail = shared_avail;
3976 sinfo->limit = cachep->limit;
3977 sinfo->batchcount = cachep->batchcount;
3978 sinfo->shared = cachep->shared;
3979 sinfo->objects_per_slab = cachep->num;
3980 sinfo->cache_order = cachep->gfporder;
H A Dslub.c5313 void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo) get_slabinfo() argument
5327 sinfo->active_objs = nr_objs - nr_free;
5328 sinfo->num_objs = nr_objs;
5329 sinfo->active_slabs = nr_slabs;
5330 sinfo->num_slabs = nr_slabs;
5331 sinfo->objects_per_slab = oo_objects(s->oo);
5332 sinfo->cache_order = oo_order(s->oo);
/linux-4.1.27/net/rds/
H A Daf_rds.c502 struct rds_info_socket sinfo; rds_sock_info() local
513 sinfo.sndbuf = rds_sk_sndbuf(rs); rds_sock_info()
514 sinfo.rcvbuf = rds_sk_rcvbuf(rs); rds_sock_info()
515 sinfo.bound_addr = rs->rs_bound_addr; rds_sock_info()
516 sinfo.connected_addr = rs->rs_conn_addr; rds_sock_info()
517 sinfo.bound_port = rs->rs_bound_port; rds_sock_info()
518 sinfo.connected_port = rs->rs_conn_port; rds_sock_info()
519 sinfo.inum = sock_i_ino(rds_rs_to_sk(rs)); rds_sock_info()
521 rds_info_copy(iter, &sinfo, sizeof(sinfo)); rds_sock_info()
/linux-4.1.27/net/wireless/
H A Dwext-compat.c1279 static struct station_info sinfo; cfg80211_wext_giwrate() local
1299 err = rdev_get_station(rdev, dev, addr, &sinfo); cfg80211_wext_giwrate()
1303 if (!(sinfo.filled & BIT(NL80211_STA_INFO_TX_BITRATE))) cfg80211_wext_giwrate()
1306 rate->value = 100000 * cfg80211_calculate_bitrate(&sinfo.txrate); cfg80211_wext_giwrate()
1318 static struct station_info sinfo; cfg80211_wireless_stats() local
1336 memset(&sinfo, 0, sizeof(sinfo)); cfg80211_wireless_stats()
1338 if (rdev_get_station(rdev, dev, bssid, &sinfo)) cfg80211_wireless_stats()
1345 if (sinfo.filled & BIT(NL80211_STA_INFO_SIGNAL)) { cfg80211_wireless_stats()
1346 int sig = sinfo.signal; cfg80211_wireless_stats()
1359 if (sinfo.filled & BIT(NL80211_STA_INFO_SIGNAL)) { cfg80211_wireless_stats()
1362 wstats.qual.level = sinfo.signal; cfg80211_wireless_stats()
1363 wstats.qual.qual = sinfo.signal; cfg80211_wireless_stats()
1372 if (sinfo.filled & BIT(NL80211_STA_INFO_RX_DROP_MISC)) cfg80211_wireless_stats()
1373 wstats.discard.misc = sinfo.rx_dropped_misc; cfg80211_wireless_stats()
1374 if (sinfo.filled & BIT(NL80211_STA_INFO_TX_FAILED)) cfg80211_wireless_stats()
1375 wstats.discard.retries = sinfo.tx_failed; cfg80211_wireless_stats()
H A Dtrace.h172 __entry->generation = sinfo->generation; \
173 __entry->connected_time = sinfo->connected_time; \
174 __entry->inactive_time = sinfo->inactive_time; \
175 __entry->rx_bytes = sinfo->rx_bytes; \
176 __entry->tx_bytes = sinfo->tx_bytes; \
177 __entry->rx_packets = sinfo->rx_packets; \
178 __entry->tx_packets = sinfo->tx_packets; \
179 __entry->tx_retries = sinfo->tx_retries; \
180 __entry->tx_failed = sinfo->tx_failed; \
181 __entry->rx_dropped_misc = sinfo->rx_dropped_misc; \
182 __entry->beacon_loss_count = sinfo->beacon_loss_count; \
183 __entry->llid = sinfo->llid; \
184 __entry->plid = sinfo->plid; \
185 __entry->plink_state = sinfo->plink_state; \
760 TP_PROTO(struct wiphy *wiphy, int ret, struct station_info *sinfo),
761 TP_ARGS(wiphy, ret, sinfo),
2288 struct station_info *sinfo),
2289 TP_ARGS(netdev, mac_addr, sinfo),
H A Drdev-ops.h205 struct station_info *sinfo) rdev_get_station()
209 ret = rdev->ops->get_station(&rdev->wiphy, dev, mac, sinfo); rdev_get_station()
210 trace_rdev_return_int_station_info(&rdev->wiphy, ret, sinfo); rdev_get_station()
216 struct station_info *sinfo) rdev_dump_station()
220 ret = rdev->ops->dump_station(&rdev->wiphy, dev, idx, mac, sinfo); rdev_dump_station()
221 trace_rdev_return_int_station_info(&rdev->wiphy, ret, sinfo); rdev_dump_station()
203 rdev_get_station(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *mac, struct station_info *sinfo) rdev_get_station() argument
214 rdev_dump_station(struct cfg80211_registered_device *rdev, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) rdev_dump_station() argument
H A Dnl80211.c3678 const u8 *mac_addr, struct station_info *sinfo) nl80211_send_station()
3689 nla_put_u32(msg, NL80211_ATTR_GENERATION, sinfo->generation)) nl80211_send_station()
3697 if (sinfo->filled & BIT(NL80211_STA_INFO_ ## attr) && \ nl80211_send_station()
3699 sinfo->memb)) \ nl80211_send_station()
3706 if (sinfo->filled & (BIT(NL80211_STA_INFO_RX_BYTES) | nl80211_send_station()
3709 (u32)sinfo->rx_bytes)) nl80211_send_station()
3712 if (sinfo->filled & (BIT(NL80211_STA_INFO_TX_BYTES) | nl80211_send_station()
3715 (u32)sinfo->tx_bytes)) nl80211_send_station()
3732 if (sinfo->filled & BIT(NL80211_STA_INFO_CHAIN_SIGNAL)) { nl80211_send_station()
3733 if (!nl80211_put_signal(msg, sinfo->chains, nl80211_send_station()
3734 sinfo->chain_signal, nl80211_send_station()
3738 if (sinfo->filled & BIT(NL80211_STA_INFO_CHAIN_SIGNAL_AVG)) { nl80211_send_station()
3739 if (!nl80211_put_signal(msg, sinfo->chains, nl80211_send_station()
3740 sinfo->chain_signal_avg, nl80211_send_station()
3744 if (sinfo->filled & BIT(NL80211_STA_INFO_TX_BITRATE)) { nl80211_send_station()
3745 if (!nl80211_put_sta_rate(msg, &sinfo->txrate, nl80211_send_station()
3749 if (sinfo->filled & BIT(NL80211_STA_INFO_RX_BITRATE)) { nl80211_send_station()
3750 if (!nl80211_put_sta_rate(msg, &sinfo->rxrate, nl80211_send_station()
3765 if (sinfo->filled & BIT(NL80211_STA_INFO_BSS_PARAM)) { nl80211_send_station()
3770 if (((sinfo->bss_param.flags & BSS_PARAM_FLAGS_CTS_PROT) && nl80211_send_station()
3772 ((sinfo->bss_param.flags & BSS_PARAM_FLAGS_SHORT_PREAMBLE) && nl80211_send_station()
3774 ((sinfo->bss_param.flags & BSS_PARAM_FLAGS_SHORT_SLOT_TIME) && nl80211_send_station()
3777 sinfo->bss_param.dtim_period) || nl80211_send_station()
3779 sinfo->bss_param.beacon_interval)) nl80211_send_station()
3784 if ((sinfo->filled & BIT(NL80211_STA_INFO_STA_FLAGS)) && nl80211_send_station()
3787 &sinfo->sta_flags)) nl80211_send_station()
3797 if (sinfo->filled & BIT(NL80211_STA_INFO_TID_STATS)) { nl80211_send_station()
3809 tidstats = &sinfo->pertid[tid]; nl80211_send_station()
3839 if (sinfo->assoc_req_ies_len && nl80211_send_station()
3840 nla_put(msg, NL80211_ATTR_IE, sinfo->assoc_req_ies_len, nl80211_send_station()
3841 sinfo->assoc_req_ies)) nl80211_send_station()
3855 struct station_info sinfo; nl80211_dump_station() local
3877 memset(&sinfo, 0, sizeof(sinfo)); nl80211_dump_station()
3879 mac_addr, &sinfo); nl80211_dump_station()
3889 &sinfo) < 0) nl80211_dump_station()
3909 struct station_info sinfo; nl80211_get_station() local
3914 memset(&sinfo, 0, sizeof(sinfo)); nl80211_get_station()
3924 err = rdev_get_station(rdev, dev, mac_addr, &sinfo); nl80211_get_station()
3934 rdev, dev, mac_addr, &sinfo) < 0) { nl80211_get_station()
11836 struct station_info *sinfo, gfp_t gfp) cfg80211_new_sta()
11842 trace_cfg80211_new_sta(dev, mac_addr, sinfo); cfg80211_new_sta()
11849 rdev, dev, mac_addr, sinfo) < 0) { cfg80211_new_sta()
11860 struct station_info *sinfo, gfp_t gfp) cfg80211_del_sta_sinfo()
11867 if (!sinfo) cfg80211_del_sta_sinfo()
11868 sinfo = &empty_sinfo; cfg80211_del_sta_sinfo()
11877 rdev, dev, mac_addr, sinfo) < 0) { cfg80211_del_sta_sinfo()
3674 nl80211_send_station(struct sk_buff *msg, u32 cmd, u32 portid, u32 seq, int flags, struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo) nl80211_send_station() argument
11835 cfg80211_new_sta(struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo, gfp_t gfp) cfg80211_new_sta() argument
11859 cfg80211_del_sta_sinfo(struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo, gfp_t gfp) cfg80211_del_sta_sinfo() argument
H A Dutil.c1788 struct station_info *sinfo) cfg80211_get_station()
1801 return rdev_get_station(rdev, dev, mac_addr, sinfo); cfg80211_get_station()
1787 cfg80211_get_station(struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo) cfg80211_get_station() argument
/linux-4.1.27/drivers/staging/wlan-ng/
H A Dcfg80211.c303 const u8 *mac, struct station_info *sinfo) prism2_get_station()
309 memset(sinfo, 0, sizeof(*sinfo)); prism2_get_station()
327 sinfo->txrate.legacy = quality.txrate.data; prism2_get_station()
328 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); prism2_get_station()
329 sinfo->signal = quality.level.data; prism2_get_station()
330 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); prism2_get_station()
302 prism2_get_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_info *sinfo) prism2_get_station() argument
/linux-4.1.27/crypto/
H A Dlrw.c99 struct sinfo { struct
112 static inline void lrw_round(struct sinfo *s, void *dst, const void *src) lrw_round()
145 struct sinfo s = { crypt()
H A Dxts.c80 struct sinfo { struct
86 static inline void xts_round(struct sinfo *s, void *dst, const void *src) xts_round()
101 struct sinfo s = { crypt()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dcfg80211.c1765 const u8 *mac, struct station_info *sinfo) ath6kl_get_station()
1803 sinfo->rx_bytes = vif->target_stats.rx_byte; ath6kl_get_station()
1804 sinfo->filled |= BIT(NL80211_STA_INFO_RX_BYTES64); ath6kl_get_station()
1805 sinfo->rx_packets = vif->target_stats.rx_pkt; ath6kl_get_station()
1806 sinfo->filled |= BIT(NL80211_STA_INFO_RX_PACKETS); ath6kl_get_station()
1810 sinfo->tx_bytes = vif->target_stats.tx_byte; ath6kl_get_station()
1811 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BYTES64); ath6kl_get_station()
1812 sinfo->tx_packets = vif->target_stats.tx_pkt; ath6kl_get_station()
1813 sinfo->filled |= BIT(NL80211_STA_INFO_TX_PACKETS); ath6kl_get_station()
1816 sinfo->signal = vif->target_stats.cs_rssi; ath6kl_get_station()
1817 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); ath6kl_get_station()
1822 sinfo->txrate.legacy = rate / 100; ath6kl_get_station()
1825 sinfo->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; ath6kl_get_station()
1826 sinfo->txrate.mcs = mcs - 1; ath6kl_get_station()
1828 sinfo->txrate.mcs = mcs; ath6kl_get_station()
1831 sinfo->txrate.flags |= RATE_INFO_FLAGS_MCS; ath6kl_get_station()
1832 sinfo->txrate.bw = RATE_INFO_BW_20; ath6kl_get_station()
1835 sinfo->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; ath6kl_get_station()
1836 sinfo->txrate.mcs = mcs - 1; ath6kl_get_station()
1838 sinfo->txrate.mcs = mcs; ath6kl_get_station()
1841 sinfo->txrate.bw = RATE_INFO_BW_40; ath6kl_get_station()
1842 sinfo->txrate.flags |= RATE_INFO_FLAGS_MCS; ath6kl_get_station()
1850 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); ath6kl_get_station()
1855 sinfo->filled |= BIT(NL80211_STA_INFO_BSS_PARAM); ath6kl_get_station()
1856 sinfo->bss_param.flags = 0; ath6kl_get_station()
1857 sinfo->bss_param.dtim_period = vif->assoc_bss_dtim_period; ath6kl_get_station()
1858 sinfo->bss_param.beacon_interval = vif->assoc_bss_beacon_int; ath6kl_get_station()
1764 ath6kl_get_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_info *sinfo) ath6kl_get_station() argument
H A Dmain.c429 struct station_info sinfo; ath6kl_connect_ap_mode_sta() local
485 memset(&sinfo, 0, sizeof(sinfo)); ath6kl_connect_ap_mode_sta()
487 /* TODO: sinfo.generation */ ath6kl_connect_ap_mode_sta()
489 sinfo.assoc_req_ies = ies; ath6kl_connect_ap_mode_sta()
490 sinfo.assoc_req_ies_len = ies_len; ath6kl_connect_ap_mode_sta()
492 cfg80211_new_sta(vif->ndev, mac_addr, &sinfo, GFP_KERNEL); ath6kl_connect_ap_mode_sta()
/linux-4.1.27/drivers/usb/core/
H A Ddevio.c493 struct siginfo sinfo; async_completed() local
504 memset(&sinfo, 0, sizeof(sinfo)); async_completed()
505 sinfo.si_signo = as->signr; async_completed()
506 sinfo.si_errno = as->status; async_completed()
507 sinfo.si_code = SI_ASYNCIO; async_completed()
508 sinfo.si_addr = as->userurb; async_completed()
525 kill_pid_info_as_cred(sinfo.si_signo, &sinfo, pid, cred, secid); async_completed()
2378 struct siginfo sinfo; usbdev_remove() local
2386 memset(&sinfo, 0, sizeof(sinfo)); usbdev_remove()
2387 sinfo.si_signo = ps->discsignr; usbdev_remove()
2388 sinfo.si_errno = EPIPE; usbdev_remove()
2389 sinfo.si_code = SI_ASYNCIO; usbdev_remove()
2390 sinfo.si_addr = ps->disccontext; usbdev_remove()
2391 kill_pid_info_as_cred(ps->discsignr, &sinfo, usbdev_remove()
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dcfg.c1610 const u8 *mac, struct station_info *sinfo) lbs_cfg_get_station()
1619 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BYTES) | lbs_cfg_get_station()
1623 sinfo->tx_bytes = priv->dev->stats.tx_bytes; lbs_cfg_get_station()
1624 sinfo->tx_packets = priv->dev->stats.tx_packets; lbs_cfg_get_station()
1625 sinfo->rx_bytes = priv->dev->stats.rx_bytes; lbs_cfg_get_station()
1626 sinfo->rx_packets = priv->dev->stats.rx_packets; lbs_cfg_get_station()
1631 sinfo->signal = signal; lbs_cfg_get_station()
1632 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); lbs_cfg_get_station()
1638 sinfo->txrate.legacy = lbs_rates[i].bitrate; lbs_cfg_get_station()
1639 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); lbs_cfg_get_station()
1609 lbs_cfg_get_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_info *sinfo) lbs_cfg_get_station() argument
/linux-4.1.27/fs/dlm/
H A Dlowcomms.c544 struct sctp_sndrcvinfo *sinfo; sctp_send_shutdown() local
562 sinfo = CMSG_DATA(cmsg); sctp_send_shutdown()
563 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); sctp_send_shutdown()
565 sinfo->sinfo_flags |= MSG_EOF; sctp_send_shutdown()
566 sinfo->sinfo_assoc_id = associd; sctp_send_shutdown()
1071 struct sctp_sndrcvinfo *sinfo; sctp_init_assoc() local
1128 sinfo = CMSG_DATA(cmsg); sctp_init_assoc()
1129 memset(sinfo, 0x00, sizeof(struct sctp_sndrcvinfo)); sctp_init_assoc()
1130 sinfo->sinfo_ppid = cpu_to_le32(con->nodeid); sctp_init_assoc()
1132 sinfo->sinfo_flags |= SCTP_ADDR_OVER; sctp_init_assoc()
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
H A Dioctl_cfg80211.c1057 const u8 *mac, struct station_info *sinfo) cfg80211_rtw_get_station()
1065 sinfo->filled = 0; cfg80211_rtw_get_station()
1093 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); cfg80211_rtw_get_station()
1094 sinfo->signal = translate_percentage_to_dbm(padapter->recvpriv. cfg80211_rtw_get_station()
1097 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); cfg80211_rtw_get_station()
1098 sinfo->txrate.legacy = rtw_get_cur_max_rate(padapter); cfg80211_rtw_get_station()
1100 sinfo->filled |= BIT(NL80211_STA_INFO_RX_PACKETS); cfg80211_rtw_get_station()
1101 sinfo->rx_packets = sta_rx_data_pkts(psta); cfg80211_rtw_get_station()
1103 sinfo->filled |= BIT(NL80211_STA_INFO_TX_PACKETS); cfg80211_rtw_get_station()
1104 sinfo->tx_packets = psta->sta_stats.tx_pkts; cfg80211_rtw_get_station()
2349 struct station_info sinfo; rtw_cfg80211_indicate_sta_assoc() local
2359 sinfo.filled = 0; rtw_cfg80211_indicate_sta_assoc()
2360 sinfo.assoc_req_ies = pmgmt_frame + ie_offset; rtw_cfg80211_indicate_sta_assoc()
2361 sinfo.assoc_req_ies_len = frame_len - ie_offset; rtw_cfg80211_indicate_sta_assoc()
2362 cfg80211_new_sta(ndev, hdr->addr2, &sinfo, GFP_ATOMIC); rtw_cfg80211_indicate_sta_assoc()
2935 struct station_info *sinfo) cfg80211_rtw_dump_station()
1055 cfg80211_rtw_get_station(struct wiphy *wiphy, struct net_device *ndev, const u8 *mac, struct station_info *sinfo) cfg80211_rtw_get_station() argument
2933 cfg80211_rtw_dump_station(struct wiphy *wiphy, struct net_device *ndev, int idx, u8 *mac, struct station_info *sinfo) cfg80211_rtw_dump_station() argument
/linux-4.1.27/drivers/net/
H A Dmacvtap.c625 struct skb_shared_info *sinfo = skb_shinfo(skb); macvtap_skb_to_vnet_hdr() local
629 vnet_hdr->gso_size = cpu_to_macvtap16(q, sinfo->gso_size); macvtap_skb_to_vnet_hdr()
630 if (sinfo->gso_type & SKB_GSO_TCPV4) macvtap_skb_to_vnet_hdr()
632 else if (sinfo->gso_type & SKB_GSO_TCPV6) macvtap_skb_to_vnet_hdr()
634 else if (sinfo->gso_type & SKB_GSO_UDP) macvtap_skb_to_vnet_hdr()
638 if (sinfo->gso_type & SKB_GSO_TCP_ECN) macvtap_skb_to_vnet_hdr()
H A Dtun.c1274 struct skb_shared_info *sinfo = skb_shinfo(skb); tun_put_user() local
1278 gso.gso_size = cpu_to_tun16(tun, sinfo->gso_size); tun_put_user()
1279 if (sinfo->gso_type & SKB_GSO_TCPV4) tun_put_user()
1281 else if (sinfo->gso_type & SKB_GSO_TCPV6) tun_put_user()
1283 else if (sinfo->gso_type & SKB_GSO_UDP) tun_put_user()
1288 sinfo->gso_type, tun16_to_cpu(tun, gso.gso_size), tun_put_user()
1297 if (sinfo->gso_type & SKB_GSO_TCP_ECN) tun_put_user()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcfg80211.c2369 const u8 *mac, struct station_info *sinfo) brcmf_cfg80211_get_station()
2395 sinfo->filled = BIT(NL80211_STA_INFO_INACTIVE_TIME); brcmf_cfg80211_get_station()
2396 sinfo->inactive_time = le32_to_cpu(sta_info_le.idle) * 1000; brcmf_cfg80211_get_station()
2398 sinfo->filled |= BIT(NL80211_STA_INFO_CONNECTED_TIME); brcmf_cfg80211_get_station()
2399 sinfo->connected_time = le32_to_cpu(sta_info_le.in); brcmf_cfg80211_get_station()
2402 sinfo->inactive_time, sinfo->connected_time); brcmf_cfg80211_get_station()
2416 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); brcmf_cfg80211_get_station()
2417 sinfo->txrate.legacy = rate * 5; brcmf_cfg80211_get_station()
2431 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); brcmf_cfg80211_get_station()
2432 sinfo->signal = rssi; brcmf_cfg80211_get_station()
2442 sinfo->bss_param.beacon_interval = brcmf_cfg80211_get_station()
2454 sinfo->bss_param.dtim_period = dtim_period; brcmf_cfg80211_get_station()
2458 sinfo->filled |= BIT(NL80211_STA_INFO_BSS_PARAM); brcmf_cfg80211_get_station()
4878 struct station_info sinfo; brcmf_notify_connect_status_ap() local
4892 memset(&sinfo, 0, sizeof(sinfo)); brcmf_notify_connect_status_ap()
4897 sinfo.assoc_req_ies = data; brcmf_notify_connect_status_ap()
4898 sinfo.assoc_req_ies_len = e->datalen; brcmf_notify_connect_status_ap()
4900 sinfo.generation = generation; brcmf_notify_connect_status_ap()
4901 cfg80211_new_sta(ndev, e->addr, &sinfo, GFP_KERNEL); brcmf_notify_connect_status_ap()
2368 brcmf_cfg80211_get_station(struct wiphy *wiphy, struct net_device *ndev, const u8 *mac, struct station_info *sinfo) brcmf_cfg80211_get_station() argument
/linux-4.1.27/drivers/net/wireless/
H A Drndis_wlan.c520 const u8 *mac, struct station_info *sinfo);
523 int idx, u8 *mac, struct station_info *sinfo);
2470 struct station_info *sinfo) rndis_fill_station_info()
2475 memset(sinfo, 0, sizeof(*sinfo)); rndis_fill_station_info()
2480 sinfo->txrate.legacy = le32_to_cpu(linkspeed) / 1000; rndis_fill_station_info()
2481 sinfo->filled |= BIT(NL80211_STA_INFO_TX_BITRATE); rndis_fill_station_info()
2488 sinfo->signal = level_to_qual(le32_to_cpu(rssi)); rndis_fill_station_info()
2489 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); rndis_fill_station_info()
2494 const u8 *mac, struct station_info *sinfo) rndis_get_station()
2502 rndis_fill_station_info(usbdev, sinfo); rndis_get_station()
2508 int idx, u8 *mac, struct station_info *sinfo) rndis_dump_station()
2518 rndis_fill_station_info(usbdev, sinfo); rndis_dump_station()
2469 rndis_fill_station_info(struct usbnet *usbdev, struct station_info *sinfo) rndis_fill_station_info() argument
2493 rndis_get_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_info *sinfo) rndis_get_station() argument
2507 rndis_dump_station(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) rndis_dump_station() argument
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dav7110.h218 int sinfo; member in struct:av7110
H A Dav7110_av.c189 av7110->sinfo = 0; av7110_av_start_play()
192 av7110->sinfo = 0; av7110_av_start_play()
374 if (av7110->sinfo) get_video_format()
387 av7110->sinfo = 1; get_video_format()
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-dpi-defs.h771 uint64_t sinfo:6; member in struct:cvmx_dpi_pint_info::cvmx_dpi_pint_info_s
773 uint64_t sinfo:6;
/linux-4.1.27/drivers/scsi/aacraid/
H A Daachba.c1552 struct aac_supplement_adapter_info * sinfo; aac_get_adapter_info() local
1556 sinfo = (struct aac_supplement_adapter_info *) fib_data(fibptr); aac_get_adapter_info()
1558 memset(sinfo,0,sizeof(*sinfo)); aac_get_adapter_info()
1562 sizeof(*sinfo), aac_get_adapter_info()
1569 memcpy(&dev->supplement_adapter_info, sinfo, sizeof(*sinfo)); aac_get_adapter_info()
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A Dtx.c886 struct ieee80211_tx_info *sinfo, carl9170_tx_apply_rateset()
904 info->flags |= (sinfo->flags & IEEE80211_TX_CTL_RATE_CTRL_PROBE); carl9170_tx_apply_rateset()
913 txrate = &sinfo->control.rates[i]; carl9170_tx_apply_rateset()
885 carl9170_tx_apply_rateset(struct ar9170 *ar, struct ieee80211_tx_info *sinfo, struct sk_buff *skb) carl9170_tx_apply_rateset() argument
/linux-4.1.27/include/net/sctp/
H A Dsm.h202 const struct sctp_sndrcvinfo *sinfo,
H A Dstructs.h601 struct sctp_sndrcvinfo sinfo; member in struct:sctp_chunk
1928 struct sctp_sndinfo *sinfo; member in struct:sctp_cmsgs
/linux-4.1.27/net/packet/
H A Daf_packet.c2961 struct skb_shared_info *sinfo = skb_shinfo(skb); packet_recvmsg() local
2967 __cpu_to_virtio16(false, sinfo->gso_size); packet_recvmsg()
2968 if (sinfo->gso_type & SKB_GSO_TCPV4) packet_recvmsg()
2970 else if (sinfo->gso_type & SKB_GSO_TCPV6) packet_recvmsg()
2972 else if (sinfo->gso_type & SKB_GSO_UDP) packet_recvmsg()
2974 else if (sinfo->gso_type & SKB_GSO_FCOE) packet_recvmsg()
2978 if (sinfo->gso_type & SKB_GSO_TCP_ECN) packet_recvmsg()
/linux-4.1.27/include/net/
H A Dcfg80211.h1110 * @sinfo: pointer to the structure to fill with the information
1112 * Returns 0 on success and sinfo is filled with the available information
1113 * otherwise returns a negative error code and the content of sinfo has to be
1117 struct station_info *sinfo);
2502 const u8 *mac, struct station_info *sinfo);
2504 int idx, u8 *mac, struct station_info *sinfo);
4616 * @sinfo: the station information
4620 struct station_info *sinfo, gfp_t gfp);
4626 * @sinfo: the station information/statistics
4630 struct station_info *sinfo, gfp_t gfp);
H A Dmac80211.h3260 struct station_info *sinfo);
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dmac80211.c3948 struct station_info *sinfo) iwl_mvm_mac_sta_statistics()
3973 sinfo->rx_beacon = mvmvif->beacon_stats.num_beacons + iwl_mvm_mac_sta_statistics()
3975 sinfo->filled |= BIT(NL80211_STA_INFO_BEACON_RX); iwl_mvm_mac_sta_statistics()
3978 sinfo->rx_beacon_signal_avg = mvmvif->beacon_stats.avg_signal; iwl_mvm_mac_sta_statistics()
3979 sinfo->filled |= BIT(NL80211_STA_INFO_BEACON_SIGNAL_AVG); iwl_mvm_mac_sta_statistics()
3945 iwl_mvm_mac_sta_statistics(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct station_info *sinfo) iwl_mvm_mac_sta_statistics() argument
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dmain.c5670 struct station_info *sinfo) wlcore_op_sta_statistics()
5692 sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); wlcore_op_sta_statistics()
5693 sinfo->signal = rssi_dbm; wlcore_op_sta_statistics()
5667 wlcore_op_sta_statistics(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct station_info *sinfo) wlcore_op_sta_statistics() argument

Completed in 2433 milliseconds