Lines Matching refs:ctx

19 	struct lowpan_iphc_ctx *ctx = data;
25 set_bit(LOWPAN_IPHC_CTX_FLAG_ACTIVE, &ctx->flags);
27 clear_bit(LOWPAN_IPHC_CTX_FLAG_ACTIVE, &ctx->flags);
44 struct lowpan_iphc_ctx *ctx = data;
50 set_bit(LOWPAN_IPHC_CTX_FLAG_COMPRESSION, &ctx->flags);
52 clear_bit(LOWPAN_IPHC_CTX_FLAG_COMPRESSION, &ctx->flags);
68 struct lowpan_iphc_ctx *ctx = data;
70 container_of(ctx, struct lowpan_iphc_ctx_table, table[ctx->id]);
76 ctx->plen = val;
84 struct lowpan_iphc_ctx *ctx = data;
86 container_of(ctx, struct lowpan_iphc_ctx_table, table[ctx->id]);
89 *val = ctx->plen;
99 struct lowpan_iphc_ctx *ctx = file->private;
101 container_of(ctx, struct lowpan_iphc_ctx_table, table[ctx->id]);
105 be16_to_cpu(ctx->pfx.s6_addr16[0]),
106 be16_to_cpu(ctx->pfx.s6_addr16[1]),
107 be16_to_cpu(ctx->pfx.s6_addr16[2]),
108 be16_to_cpu(ctx->pfx.s6_addr16[3]),
109 be16_to_cpu(ctx->pfx.s6_addr16[4]),
110 be16_to_cpu(ctx->pfx.s6_addr16[5]),
111 be16_to_cpu(ctx->pfx.s6_addr16[6]),
112 be16_to_cpu(ctx->pfx.s6_addr16[7]));
129 struct lowpan_iphc_ctx *ctx = file->private;
131 container_of(ctx, struct lowpan_iphc_ctx_table, table[ctx->id]);
151 ctx->pfx.s6_addr16[i] = cpu_to_be16(addr[i] & 0xffff);
167 struct dentry *ctx, u8 id)
178 root = debugfs_create_dir(buf, ctx);
180 debugfs_create_file("active", 0644, root, &ldev->ctx.table[id],
183 debugfs_create_file("compression", 0644, root, &ldev->ctx.table[id],
186 debugfs_create_file("prefix", 0644, root, &ldev->ctx.table[id],
189 debugfs_create_file("prefix_len", 0644, root, &ldev->ctx.table[id],
256 debugfs_create_file("show", 0644, contexts, &lowpan_dev(dev)->ctx,