/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | lookup_key.c | 41 __u32 next_id; local 72 ret = bpf_prog_get_next_id(0, &next_id); 79 ret = bpf_prog_get_next_id(0, &next_id); 86 ret = bpf_prog_get_next_id(0, &next_id); 93 ret = bpf_prog_get_next_id(0, &next_id); 100 ret = bpf_prog_get_next_id(0, &next_id); 106 ret = bpf_prog_get_next_id(0, &next_id);
|
H A D | bpf_obj_id.c | 28 __u32 i, next_id, info_len, nr_id_found; local 153 next_id = 0; 154 while (!bpf_prog_get_next_id(next_id, &next_id)) { 161 prog_fd = bpf_prog_get_fd_by_id(next_id); 169 if (prog_infos[i].id == next_id) 207 next_id = 0; 208 while (!bpf_map_get_next_id(next_id, &next_id)) { 214 map_fd = bpf_map_get_fd_by_id(next_id); [all...] |
H A D | kfunc_dynptr_param.c | 69 __u32 next_id; local 91 err = bpf_prog_get_next_id(0, &next_id);
|
/linux-master/drivers/virt/ |
H A D | vmgenid.c | 20 u8 *next_id; member in struct:vmgenid_state 52 state->next_id = devm_memremap(&device->dev, phys_addr, VMGENID_SIZE, MEMREMAP_WB); 53 if (IS_ERR(state->next_id)) { 54 ret = PTR_ERR(state->next_id); 58 memcpy(state->this_id, state->next_id, sizeof(state->this_id)); 74 memcpy(state->this_id, state->next_id, sizeof(state->this_id));
|
/linux-master/drivers/infiniband/core/ |
H A D | restrack.h | 21 * @next_id: Next ID to support cyclic allocation 23 u32 next_id; member in struct:rdma_restrack_root
|
/linux-master/ipc/ |
H A D | ipc_sysctl.c | 155 .data = &init_ipc_ns.ids[IPC_SEM_IDS].next_id, 156 .maxlen = sizeof(init_ipc_ns.ids[IPC_SEM_IDS].next_id), 164 .data = &init_ipc_ns.ids[IPC_MSG_IDS].next_id, 165 .maxlen = sizeof(init_ipc_ns.ids[IPC_MSG_IDS].next_id), 173 .data = &init_ipc_ns.ids[IPC_SHM_IDS].next_id, 174 .maxlen = sizeof(init_ipc_ns.ids[IPC_SHM_IDS].next_id), 216 if (((table->data == &ns->ids[IPC_SEM_IDS].next_id) || 217 (table->data == &ns->ids[IPC_MSG_IDS].next_id) || 218 (table->data == &ns->ids[IPC_SHM_IDS].next_id)) && 282 else if (tbl[i].data == &init_ipc_ns.ids[IPC_SEM_IDS].next_id) [all...] |
H A D | namespace.c | 127 int next_id; local 134 for (total = 0, next_id = 0; total < in_use; next_id++) { 135 perm = idr_find(&ids->ipcs_idr, next_id);
|
H A D | util.c | 125 ids->next_id = -1; 204 int idx, next_id = -1; local 207 next_id = ids->next_id; 208 ids->next_id = -1; 223 if (next_id < 0) { /* !CHECKPOINT_RESTORE or next_id is unset */ 254 new->seq = ipcid_to_seqx(next_id); 255 idx = idr_alloc(&ids->ipcs_idr, new, ipcid_to_idx(next_id),
|
/linux-master/fs/xfs/scrub/ |
H A D | dqiterate.c | 94 uint64_t next_id; local 123 next_id = cursor->bmap.br_startoff * qi->qi_dqperchunk; 124 if (next_id > XFS_DQ_ID_MAX) { 131 *next_ondisk_id = next_id;
|
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-trace-id.c | 57 int found_id = 0, bit = 1, next_id; local 64 next_id = find_next_zero_bit(id_map->used_ids, 66 if ((next_id < CORESIGHT_TRACE_ID_RES_TOP) && (next_id & 0x1)) 67 found_id = next_id; 69 bit = next_id + 1;
|
/linux-master/samples/bpf/ |
H A D | trace_event_user.c | 104 __u32 stackid = 0, next_id; local 121 while (bpf_map_get_next_key(stack_map, &stackid, &next_id) == 0) { 122 bpf_map_delete_elem(stack_map, &next_id); 123 stackid = next_id;
|
/linux-master/drivers/isdn/mISDN/ |
H A D | timerdev.c | 28 int next_id; member in struct:mISDNtimerdev 53 dev->next_id = 1; 185 id = timer->id = dev->next_id++; 186 if (dev->next_id < 0) 187 dev->next_id = 1;
|
H A D | layer2.h | 61 u_int next_id; member in struct:layer2
|
/linux-master/include/linux/ |
H A D | ipc_namespace.h | 26 int next_id; member in struct:ipc_ids
|
/linux-master/drivers/soc/hisilicon/ |
H A D | kunpeng_hccs.h | 155 u8 next_id; member in struct:hccs_rsp_head
|
/linux-master/tools/lib/bpf/ |
H A D | bpf.h | 479 LIBBPF_API int bpf_prog_get_next_id(__u32 start_id, __u32 *next_id); 480 LIBBPF_API int bpf_map_get_next_id(__u32 start_id, __u32 *next_id); 481 LIBBPF_API int bpf_btf_get_next_id(__u32 start_id, __u32 *next_id); 482 LIBBPF_API int bpf_link_get_next_id(__u32 start_id, __u32 *next_id);
|
H A D | bpf.c | 1011 static int bpf_obj_get_next_id(__u32 start_id, __u32 *next_id, int cmd) argument 1022 *next_id = attr.next_id; 1027 int bpf_prog_get_next_id(__u32 start_id, __u32 *next_id) argument 1029 return bpf_obj_get_next_id(start_id, next_id, BPF_PROG_GET_NEXT_ID); 1032 int bpf_map_get_next_id(__u32 start_id, __u32 *next_id) argument 1034 return bpf_obj_get_next_id(start_id, next_id, BPF_MAP_GET_NEXT_ID); 1037 int bpf_btf_get_next_id(__u32 start_id, __u32 *next_id) argument 1039 return bpf_obj_get_next_id(start_id, next_id, BPF_BTF_GET_NEXT_ID); 1042 int bpf_link_get_next_id(__u32 start_id, __u32 *next_id) argument [all...] |
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_cmd.c | 215 uint64_t id, next_id; local 227 next_id = info->next; 231 next_id); 242 id = next_id;
|
/linux-master/arch/x86/mm/ |
H A D | mmio-mod.c | 222 static atomic_t next_id; local 246 .id = atomic_inc_return(&next_id)
|
/linux-master/fs/xfs/ |
H A D | xfs_dquot.c | 731 xfs_dqid_t next_id = *id + 1; /* simple advance */ local 739 if (next_id < *id) 743 if (next_id % mp->m_quotainfo->qi_dqperchunk) { 744 *id = next_id; 748 /* Nope, next_id is now past the current chunk, so find the next one */ 749 start = (xfs_fsblock_t)next_id / mp->m_quotainfo->qi_dqperchunk;
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | vnic_main.c | 322 int next_id = VNIC_ID(0); local 324 vinfo = hfi1_netdev_get_first_data(dd, &next_id); 326 if (next_id > VNIC_ID(VNIC_MASK))
|
/linux-master/fs/hfs/ |
H A D | mdb.c | 153 HFS_SB(sb)->next_id = be32_to_cpu(mdb->drNxtCNID); 276 mdb->drNxtCNID = cpu_to_be32(HFS_SB(sb)->next_id);
|
H A D | hfs_fs.h | 121 u32 next_id; /* The next available member in struct:hfs_sb_info
|
/linux-master/net/mptcp/ |
H A D | pm_netlink.c | 38 unsigned int next_id; member in struct:pm_nl_pernet 909 if (pernet->next_id == MPTCP_PM_MAX_ADDR_ID) 910 pernet->next_id = 1; 951 pernet->next_id); 952 if (!entry->addr.id && pernet->next_id != 1) { 953 pernet->next_id = 1; 962 if (entry->addr.id > pernet->next_id) 963 pernet->next_id = entry->addr.id; 1621 pernet->next_id = 1; 2303 pernet->next_id [all...] |
/linux-master/fs/ntfs3/ |
H A D | fsntfs.c | 1943 sbi->security.next_id = SECURITY_ID_FIRST; 1952 u32 next_id; local 1962 next_id = le32_to_cpu(sii_e->sec_id) + 1; 1963 if (next_id >= sbi->security.next_id) 1964 sbi->security.next_id = next_id; 2197 d_security->key.sec_id = cpu_to_le32(sbi->security.next_id); 2268 sbi->security.next_id += 1;
|