/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | peerlookup.c | 10 static struct hlist_head *pubkey_bucket(struct pubkey_hashtable *table, in pubkey_bucket() argument 17 const u64 hash = siphash(pubkey, NOISE_PUBLIC_KEY_LEN, &table->key); in pubkey_bucket() 19 return &table->hashtable[hash & (HASH_SIZE(table->hashtable) - 1)]; in pubkey_bucket() 24 struct pubkey_hashtable *table = kvmalloc(sizeof(*table), GFP_KERNEL); in wg_pubkey_hashtable_alloc() local 26 if (!table) in wg_pubkey_hashtable_alloc() 29 get_random_bytes(&table->key, sizeof(table->key)); in wg_pubkey_hashtable_alloc() 30 hash_init(table->hashtable); in wg_pubkey_hashtable_alloc() 31 mutex_init(&table->lock); in wg_pubkey_hashtable_alloc() 32 return table; in wg_pubkey_hashtable_alloc() 35 void wg_pubkey_hashtable_add(struct pubkey_hashtable *table, in wg_pubkey_hashtable_add() argument [all …]
|
/kernel/linux/linux-5.10/tools/power/acpi/tools/acpidump/ |
D | apdump.c | 15 ap_dump_table_buffer(struct acpi_table_header *table, 30 u8 ap_is_valid_header(struct acpi_table_header *table) in ap_is_valid_header() argument 33 if (!ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_header() 37 if (!acpi_ut_valid_nameseg(table->signature)) { in ap_is_valid_header() 40 *(u32 *)table->signature); in ap_is_valid_header() 46 if (table->length < sizeof(struct acpi_table_header)) { in ap_is_valid_header() 48 table->length); in ap_is_valid_header() 68 u8 ap_is_valid_checksum(struct acpi_table_header *table) in ap_is_valid_checksum() argument 73 if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { in ap_is_valid_checksum() 78 rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table); in ap_is_valid_checksum() [all …]
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | pgalloc.c | 64 void crst_table_free(struct mm_struct *mm, unsigned long *table) in crst_table_free() argument 66 free_pages((unsigned long) table, 2); in crst_table_free() 169 u64 *table; in page_table_alloc_pgste() local 173 table = (u64 *)page_to_phys(page); in page_table_alloc_pgste() 174 memset64(table, _PAGE_INVALID, PTRS_PER_PTE); in page_table_alloc_pgste() 175 memset64(table + PTRS_PER_PTE, 0, PTRS_PER_PTE); in page_table_alloc_pgste() 192 unsigned long *table; in page_table_alloc() local 198 table = NULL; in page_table_alloc() 206 table = (unsigned long *) page_to_phys(page); in page_table_alloc() 209 table += PTRS_PER_PTE; in page_table_alloc() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 196 struct hns_roce_hem_table *table, unsigned long *obj, in hns_roce_calc_hem_mhop() argument 205 if (get_hem_table_config(hr_dev, mhop, table->type)) in hns_roce_calc_hem_mhop() 215 bt_num = hns_roce_get_bt_num(table->type, mhop->hop_num); in hns_roce_calc_hem_mhop() 217 chunk_size = table->type < HEM_TYPE_MTT ? mhop->buf_chunk_size : in hns_roce_calc_hem_mhop() 219 table_idx = (*obj & (table->num_obj - 1)) / in hns_roce_calc_hem_mhop() 220 (chunk_size / table->obj_size); in hns_roce_calc_hem_mhop() 236 table->type, mhop->hop_num); in hns_roce_calc_hem_mhop() 331 struct hns_roce_hem_table *table, unsigned long obj) in hns_roce_set_hem() argument 346 unsigned long i = (obj & (table->num_obj - 1)) / in hns_roce_set_hem() 347 (table->table_chunk_size / table->obj_size); in hns_roce_set_hem() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | icm.c | 258 int mlx4_table_get(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj) in mlx4_table_get() argument 260 u32 i = (obj & (table->num_obj - 1)) / in mlx4_table_get() 261 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get() 264 mutex_lock(&table->mutex); in mlx4_table_get() 266 if (table->icm[i]) { in mlx4_table_get() 267 ++table->icm[i]->refcount; in mlx4_table_get() 271 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mlx4_table_get() 272 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) | in mlx4_table_get() 273 __GFP_NOWARN, table->coherent); in mlx4_table_get() 274 if (!table->icm[i]) { in mlx4_table_get() [all …]
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
D | inat.c | 29 const insn_attr_t *table; in inat_get_escape_attribute() local 34 table = inat_escape_tables[n][0]; in inat_get_escape_attribute() 35 if (!table) in inat_get_escape_attribute() 37 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute() 38 table = inat_escape_tables[n][lpfx_id]; in inat_get_escape_attribute() 39 if (!table) in inat_get_escape_attribute() 42 return table[opcode]; in inat_get_escape_attribute() 48 const insn_attr_t *table; in inat_get_group_attribute() local 53 table = inat_group_tables[n][0]; in inat_get_group_attribute() 54 if (!table) in inat_get_group_attribute() [all …]
|
/kernel/linux/linux-5.10/tools/arch/x86/lib/ |
D | inat.c | 29 const insn_attr_t *table; in inat_get_escape_attribute() local 34 table = inat_escape_tables[n][0]; in inat_get_escape_attribute() 35 if (!table) in inat_get_escape_attribute() 37 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute() 38 table = inat_escape_tables[n][lpfx_id]; in inat_get_escape_attribute() 39 if (!table) in inat_get_escape_attribute() 42 return table[opcode]; in inat_get_escape_attribute() 48 const insn_attr_t *table; in inat_get_group_attribute() local 53 table = inat_group_tables[n][0]; in inat_get_group_attribute() 54 if (!table) in inat_get_group_attribute() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
D | planetcore.c | 26 void planetcore_prepare_table(char *table) in planetcore_prepare_table() argument 29 if (*table == '\n') in planetcore_prepare_table() 30 *table = 0; in planetcore_prepare_table() 32 table++; in planetcore_prepare_table() 33 } while (*(table - 1) || *table != '\n'); in planetcore_prepare_table() 35 *table = 0; in planetcore_prepare_table() 38 const char *planetcore_get_key(const char *table, const char *key) in planetcore_get_key() argument 43 if (!strncmp(table, key, keylen) && table[keylen] == '=') in planetcore_get_key() 44 return table + keylen + 1; in planetcore_get_key() 46 table += strlen(table) + 1; in planetcore_get_key() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | cache.c | 49 u16 table[]; member 170 static bool is_gid_index_default(const struct ib_gid_table *table, in is_gid_index_default() argument 173 return index < 32 && (BIT(index) & table->default_gid_indices); in is_gid_index_default() 241 struct ib_gid_table *table = rdma_gid_table(device, port_num); in free_gid_entry_locked() local 246 write_lock_irq(&table->rwlock); in free_gid_entry_locked() 254 if (entry == table->data_vec[entry->attr.index]) in free_gid_entry_locked() 255 table->data_vec[entry->attr.index] = NULL; in free_gid_entry_locked() 257 write_unlock_irq(&table->rwlock); in free_gid_entry_locked() 286 struct ib_gid_table *table = rdma_gid_table(device, port_num); in free_gid_work() local 288 mutex_lock(&table->lock); in free_gid_work() [all …]
|
/kernel/liteos_m/kal/posix/src/ |
D | poll.c | 47 STATIC INLINE VOID SetAddPollWaitFlag(struct PollTable *table, BOOL addQueueFlag) in SetAddPollWaitFlag() argument 49 table->addQueueFlag = addQueueFlag; in SetAddPollWaitFlag() 52 STATIC VOID DestroyPollWait(struct PollTable *table) in DestroyPollWait() argument 55 struct PollWaitNode *waitNode = table->node; in DestroyPollWait() 62 if (LOS_SemDelete(table->sem) != LOS_OK) { in DestroyPollWait() 67 STATIC VOID AddPollWaitQueue(struct PollWaitQueue *waitQueue, struct PollTable *table) in AddPollWaitQueue() argument 76 waitNode->table = table; in AddPollWaitQueue() 78 table->node = waitNode; in AddPollWaitQueue() 82 STATIC INT32 WaitSemTime(struct PollTable *table, UINT32 timeout) in WaitSemTime() argument 85 return LOS_SemPend(table->sem, LOS_MS2Tick(timeout)); in WaitSemTime() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_mocs.c | 41 const struct drm_i915_mocs_entry *table; member 323 struct drm_i915_mocs_table *table) in get_mocs_settings() argument 328 table->size = ARRAY_SIZE(tgl_mocs_table); in get_mocs_settings() 329 table->table = tgl_mocs_table; in get_mocs_settings() 330 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings() 332 table->size = ARRAY_SIZE(icl_mocs_table); in get_mocs_settings() 333 table->table = icl_mocs_table; in get_mocs_settings() 334 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings() 336 table->size = ARRAY_SIZE(skl_mocs_table); in get_mocs_settings() 337 table->n_entries = GEN9_NUM_MOCS_ENTRIES; in get_mocs_settings() [all …]
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | ks0127.c | 208 u8 *table = reg_defaults; in init_reg_defaults() local 214 table[KS_CMDA] = 0x2c; /* VSE=0, CCIR 601, autodetect standard */ in init_reg_defaults() 215 table[KS_CMDB] = 0x12; /* VALIGN=0, AGC control and input */ in init_reg_defaults() 216 table[KS_CMDC] = 0x00; /* Test options */ in init_reg_defaults() 218 table[KS_CMDD] = 0x01; in init_reg_defaults() 219 table[KS_HAVB] = 0x00; /* HAV Start Control */ in init_reg_defaults() 220 table[KS_HAVE] = 0x00; /* HAV End Control */ in init_reg_defaults() 221 table[KS_HS1B] = 0x10; /* HS1 Start Control */ in init_reg_defaults() 222 table[KS_HS1E] = 0x00; /* HS1 End Control */ in init_reg_defaults() 223 table[KS_HS2B] = 0x00; /* HS2 Start Control */ in init_reg_defaults() [all …]
|
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-divider.c | 44 static unsigned int _get_table_maxdiv(const struct clk_div_table *table, in _get_table_maxdiv() argument 50 for (clkt = table; clkt->div; clkt++) in _get_table_maxdiv() 56 static unsigned int _get_table_mindiv(const struct clk_div_table *table) in _get_table_mindiv() argument 61 for (clkt = table; clkt->div; clkt++) in _get_table_mindiv() 67 static unsigned int _get_maxdiv(const struct clk_div_table *table, u8 width, in _get_maxdiv() argument 74 if (table) in _get_maxdiv() 75 return _get_table_maxdiv(table, width); in _get_maxdiv() 79 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div() argument 84 for (clkt = table; clkt->div; clkt++) in _get_table_div() 90 static unsigned int _get_div(const struct clk_div_table *table, in _get_div() argument [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | sch_gred.c | 61 static inline int gred_wred_mode(struct gred_sched *table) in gred_wred_mode() argument 63 return test_bit(GRED_WRED_MODE, &table->flags); in gred_wred_mode() 66 static inline void gred_enable_wred_mode(struct gred_sched *table) in gred_enable_wred_mode() argument 68 __set_bit(GRED_WRED_MODE, &table->flags); in gred_enable_wred_mode() 71 static inline void gred_disable_wred_mode(struct gred_sched *table) in gred_disable_wred_mode() argument 73 __clear_bit(GRED_WRED_MODE, &table->flags); in gred_disable_wred_mode() 76 static inline int gred_rio_mode(struct gred_sched *table) in gred_rio_mode() argument 78 return test_bit(GRED_RIO_MODE, &table->flags); in gred_rio_mode() 81 static inline void gred_enable_rio_mode(struct gred_sched *table) in gred_enable_rio_mode() argument 83 __set_bit(GRED_RIO_MODE, &table->flags); in gred_enable_rio_mode() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | rl.c | 113 static struct mlx5_rl_entry *find_rl_entry(struct mlx5_rl_table *table, in find_rl_entry() argument 120 for (i = 0; i < table->max_size; i++) { in find_rl_entry() 122 if (!table->rl_entry[i].refcount) in find_rl_entry() 123 return &table->rl_entry[i]; in find_rl_entry() 127 if (table->rl_entry[i].refcount) { in find_rl_entry() 128 if (table->rl_entry[i].dedicated) in find_rl_entry() 130 if (mlx5_rl_are_equal_raw(&table->rl_entry[i], rl_in, in find_rl_entry() 132 return &table->rl_entry[i]; in find_rl_entry() 135 ret_entry = &table->rl_entry[i]; in find_rl_entry() 160 struct mlx5_rl_table *table = &dev->priv.rl_table; in mlx5_rl_is_in_range() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | vegam_smumgr.c | 450 SMU75_Discrete_DpmTable *table) in vegam_populate_smc_mvdd_table() argument 460 table->SmioTable2.Pattern[level].Voltage = PP_HOST_TO_SMC_US( in vegam_populate_smc_mvdd_table() 463 table->SmioTable2.Pattern[level].Smio = in vegam_populate_smc_mvdd_table() 465 table->Smio[level] |= in vegam_populate_smc_mvdd_table() 468 table->SmioMask2 = data->mvdd_voltage_table.mask_low; in vegam_populate_smc_mvdd_table() 470 table->MvddLevelCount = (uint32_t) PP_HOST_TO_SMC_UL(count); in vegam_populate_smc_mvdd_table() 477 struct SMU75_Discrete_DpmTable *table) in vegam_populate_smc_vddci_table() argument 488 table->SmioTable1.Pattern[level].Voltage = PP_HOST_TO_SMC_US( in vegam_populate_smc_vddci_table() 490 table->SmioTable1.Pattern[level].Smio = (uint8_t) level; in vegam_populate_smc_vddci_table() 492 table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low; in vegam_populate_smc_vddci_table() [all …]
|
D | ci_smumgr.c | 841 SMU7_Discrete_DpmTable *table) in ci_populate_smc_vddc_table() argument 847 table->VddcLevelCount = data->vddc_voltage_table.count; in ci_populate_smc_vddc_table() 848 for (count = 0; count < table->VddcLevelCount; count++) { in ci_populate_smc_vddc_table() 851 &(table->VddcLevel[count])); in ci_populate_smc_vddc_table() 856 table->VddcLevel[count].Smio = (uint8_t) count; in ci_populate_smc_vddc_table() 857 table->Smio[count] |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table() 858 table->SmioMaskVddcVid |= data->vddc_voltage_table.entries[count].smio_low; in ci_populate_smc_vddc_table() 860 table->VddcLevel[count].Smio = 0; in ci_populate_smc_vddc_table() 864 CONVERT_FROM_HOST_TO_SMC_UL(table->VddcLevelCount); in ci_populate_smc_vddc_table() 870 SMU7_Discrete_DpmTable *table) in ci_populate_smc_vdd_ci_table() argument [all …]
|
D | tonga_smumgr.c | 303 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vddc_table() argument 309 table->VddcLevelCount = data->vddc_voltage_table.count; in tonga_populate_smc_vddc_table() 310 for (count = 0; count < table->VddcLevelCount; count++) { in tonga_populate_smc_vddc_table() 311 table->VddcTable[count] = in tonga_populate_smc_vddc_table() 314 CONVERT_FROM_HOST_TO_SMC_UL(table->VddcLevelCount); in tonga_populate_smc_vddc_table() 320 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vdd_gfx_table() argument 326 table->VddGfxLevelCount = data->vddgfx_voltage_table.count; in tonga_populate_smc_vdd_gfx_table() 328 table->VddGfxTable[count] = in tonga_populate_smc_vdd_gfx_table() 331 CONVERT_FROM_HOST_TO_SMC_UL(table->VddGfxLevelCount); in tonga_populate_smc_vdd_gfx_table() 337 SMU72_Discrete_DpmTable *table) in tonga_populate_smc_vdd_ci_table() argument [all …]
|
D | iceland_smumgr.c | 618 SMU71_Discrete_DpmTable *table) in iceland_populate_smc_vddc_table() argument 624 table->VddcLevelCount = data->vddc_voltage_table.count; in iceland_populate_smc_vddc_table() 625 for (count = 0; count < table->VddcLevelCount; count++) { in iceland_populate_smc_vddc_table() 628 &(table->VddcLevel[count])); in iceland_populate_smc_vddc_table() 633 table->VddcLevel[count].Smio |= data->vddc_voltage_table.entries[count].smio_low; in iceland_populate_smc_vddc_table() 635 table->VddcLevel[count].Smio = 0; in iceland_populate_smc_vddc_table() 638 CONVERT_FROM_HOST_TO_SMC_UL(table->VddcLevelCount); in iceland_populate_smc_vddc_table() 644 SMU71_Discrete_DpmTable *table) in iceland_populate_smc_vdd_ci_table() argument 650 table->VddciLevelCount = data->vddci_voltage_table.count; in iceland_populate_smc_vdd_ci_table() 652 for (count = 0; count < table->VddciLevelCount; count++) { in iceland_populate_smc_vdd_ci_table() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | mcdi_filters.c | 27 efx_mcdi_filter_entry_spec(const struct efx_mcdi_filter_table *table, in efx_mcdi_filter_entry_spec() argument 30 return (struct efx_filter_spec *)(table->entry[filter_idx].spec & in efx_mcdi_filter_entry_spec() 35 efx_mcdi_filter_entry_flags(const struct efx_mcdi_filter_table *table, in efx_mcdi_filter_entry_flags() argument 38 return table->entry[filter_idx].spec & EFX_EF10_FILTER_FLAGS; in efx_mcdi_filter_entry_flags() 84 efx_mcdi_filter_set_entry(struct efx_mcdi_filter_table *table, in efx_mcdi_filter_set_entry() argument 89 table->entry[filter_idx].spec = (unsigned long)spec | flags; in efx_mcdi_filter_set_entry() 325 static int efx_mcdi_filter_pri(struct efx_mcdi_filter_table *table, in efx_mcdi_filter_pri() argument 332 match_pri < table->rx_match_count; in efx_mcdi_filter_pri() 334 if (table->rx_match_mcdi_flags[match_pri] == mcdi_flags) in efx_mcdi_filter_pri() 345 struct efx_mcdi_filter_table *table; in efx_mcdi_filter_insert_locked() local [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 222 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) in mthca_table_get() argument 224 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_get() 227 mutex_lock(&table->mutex); in mthca_table_get() 229 if (table->icm[i]) { in mthca_table_get() 230 ++table->icm[i]->refcount; in mthca_table_get() 234 table->icm[i] = mthca_alloc_icm(dev, MTHCA_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mthca_table_get() 235 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) | in mthca_table_get() 236 __GFP_NOWARN, table->coherent); in mthca_table_get() 237 if (!table->icm[i]) { in mthca_table_get() 242 if (mthca_MAP_ICM(dev, table->icm[i], in mthca_table_get() [all …]
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | pids.c | 16 int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type) in build_obj_refs_table() argument 20 void delete_obj_refs_table(struct obj_refs_table *table) {} in delete_obj_refs_table() argument 21 void emit_obj_refs_plain(struct obj_refs_table *table, __u32 id, const char *prefix) {} in emit_obj_refs_plain() argument 22 void emit_obj_refs_json(struct obj_refs_table *table, __u32 id, json_writer_t *json_writer) {} in emit_obj_refs_json() argument 28 static void add_ref(struct obj_refs_table *table, struct pid_iter_entry *e) in add_ref() argument 35 hash_for_each_possible(table->table, refs, node, e->id) { in add_ref() 79 hash_add(table->table, &refs->node, e->id); in add_ref() 90 int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type) in build_obj_refs_table() argument 98 hash_init(table->table); in build_obj_refs_table() 154 add_ref(table, e); in build_obj_refs_table() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | rv730_dpm.c | 229 RV770_SMC_STATETABLE *table) in rv730_populate_smc_acpi_state() argument 241 table->ACPIState = table->initialState; in rv730_populate_smc_acpi_state() 242 table->ACPIState.flags &= ~PPSMC_SWSTATE_FLAG_DC; in rv730_populate_smc_acpi_state() 246 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state() 247 table->ACPIState.levels[0].gen2PCIE = pi->pcie_gen2 ? in rv730_populate_smc_acpi_state() 249 table->ACPIState.levels[0].gen2XSP = in rv730_populate_smc_acpi_state() 253 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state() 254 table->ACPIState.levels[0].gen2PCIE = 0; in rv730_populate_smc_acpi_state() 296 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl); in rv730_populate_smc_acpi_state() 297 table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL2 = cpu_to_be32(mpll_func_cntl_2); in rv730_populate_smc_acpi_state() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | sysctl.h | 54 int proc_douintvec_minmax(struct ctl_table *table, int write, void *buffer, 56 int proc_dou8vec_minmax(struct ctl_table *table, int write, void *buffer, 64 int proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int, void *, 67 int proc_do_static_key(struct ctl_table *table, int write, void *buffer, 167 struct ctl_table *table, 169 int (*permissions)(struct ctl_table_header *head, struct ctl_table *table); 188 const char *path, struct ctl_table *table); 191 const struct ctl_path *path, struct ctl_table *table); 192 struct ctl_table_header *register_sysctl(const char *path, struct ctl_table *table); 193 struct ctl_table_header *register_sysctl_table(struct ctl_table * table); [all …]
|
/kernel/linux/linux-5.10/fs/proc/ |
D | proc_sysctl.c | 191 struct ctl_node *node, struct ctl_table *table) in init_header() argument 193 head->ctl_table = table; in init_header() 194 head->ctl_table_arg = table; in init_header() 206 for (entry = table; entry->procname; entry++, node++) in init_header() 420 static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) in sysctl_perm() argument 426 mode = root->permissions(head, table); in sysctl_perm() 428 mode = table->mode; in sysctl_perm() 434 struct ctl_table_header *head, struct ctl_table *table) in proc_sys_make_inode() argument 455 ei->sysctl_entry = table; in proc_sys_make_inode() 461 inode->i_mode = table->mode; in proc_sys_make_inode() [all …]
|