Lines Matching refs:id
70 container_of(ctx, struct lowpan_iphc_ctx_table, table[ctx->id]); in lowpan_ctx_plen_set()
86 container_of(ctx, struct lowpan_iphc_ctx_table, table[ctx->id]); in lowpan_ctx_plen_get()
101 container_of(ctx, struct lowpan_iphc_ctx_table, table[ctx->id]); in lowpan_ctx_pfx_show()
131 container_of(ctx, struct lowpan_iphc_ctx_table, table[ctx->id]); in lowpan_ctx_pfx_write()
167 struct dentry *ctx, u8 id) in lowpan_dev_debugfs_ctx_init() argument
173 if (WARN_ON_ONCE(id >= LOWPAN_IPHC_CTX_TABLE_SIZE)) in lowpan_dev_debugfs_ctx_init()
176 sprintf(buf, "%d", id); in lowpan_dev_debugfs_ctx_init()
180 debugfs_create_file("active", 0644, root, &ldev->ctx.table[id], in lowpan_dev_debugfs_ctx_init()
183 debugfs_create_file("compression", 0644, root, &ldev->ctx.table[id], in lowpan_dev_debugfs_ctx_init()
186 debugfs_create_file("prefix", 0644, root, &ldev->ctx.table[id], in lowpan_dev_debugfs_ctx_init()
189 debugfs_create_file("prefix_len", 0644, root, &ldev->ctx.table[id], in lowpan_dev_debugfs_ctx_init()
206 seq_printf(file, "%3d|%39pI6c/%-3d|%d\n", t->table[i].id, in lowpan_context_show()